mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(agents): add chat model pricing metadata (#22959)
## Summary - add chat model pricing metadata to the agents admin form and SDK metadata - split pricing into its own section and show default pricing as placeholders - apply default pricing when admins leave pricing fields blank
This commit is contained in:
@@ -113,6 +113,10 @@ These options apply to all providers:
|
||||
| Top K | Limits token selection to the top K candidates. |
|
||||
| Presence Penalty | Penalizes tokens that have already appeared in the conversation. |
|
||||
| Frequency Penalty | Penalizes tokens proportional to how often they have appeared. |
|
||||
| Input Price | Optional USD price metadata for input tokens, recorded per 1M tokens. |
|
||||
| Output Price | Optional USD price metadata for output tokens, recorded per 1M tokens. |
|
||||
| Cache Read Price | Optional USD price metadata for cache read tokens, recorded per 1M tokens. |
|
||||
| Cache Write Price | Optional USD price metadata for cache creation/write tokens, recorded per 1M tokens. |
|
||||
|
||||
### Provider-specific options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user