mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-10 01:29:41 +00:00
fix(pricing): restore Mythos 5 pricing dropped by gap-fill cleanup
Mythos 5 ($10/$50) is not in LiteLLM or the models.dev/OpenRouter gap-fill yet (Fable is), so dropping the manual patch left it priced at $0. Add it to MANUAL_ENTRIES + the snapshot and map the "Mythos 5" display name.
This commit is contained in:
parent
a2e18d79e7
commit
f4fd6a1640
3 changed files with 5 additions and 2 deletions
|
|
@ -42,6 +42,8 @@ const MANUAL_ENTRIES = {
|
|||
// LiteLLM PR #27056 is not merged yet. Source: https://api-docs.deepseek.com/quick_start/pricing
|
||||
'deepseek-v4-flash': [1.4e-7, 2.8e-7, 0, 2.8e-9],
|
||||
'deepseek-v4-pro': [4.35e-7, 8.7e-7, 0, 3.625e-9],
|
||||
// Mythos 5 launch pricing; not yet in LiteLLM or the models.dev/OpenRouter gap-fill (Fable is).
|
||||
'claude-mythos-5': [10e-6, 50e-6, 12.5e-6, 1e-6],
|
||||
}
|
||||
|
||||
const snapshot = {}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -597,8 +597,9 @@ const autoModelNames: Record<string, string> = {
|
|||
}
|
||||
|
||||
const SHORT_NAMES: Record<string, string> = {
|
||||
// claude-fable-5 is outside the opus/sonnet/haiku families deriveClaudeShortName covers.
|
||||
// claude-fable-5 and claude-mythos-5 are outside the opus/sonnet/haiku families deriveClaudeShortName covers.
|
||||
'claude-fable-5': 'Fable 5',
|
||||
'claude-mythos-5': 'Mythos 5',
|
||||
// Modern claude-<family>-<major>-<minor> ids are derived in deriveClaudeShortName.
|
||||
// Only the legacy 3.x ids (family-last) need explicit mapping.
|
||||
'claude-3-7-sonnet': 'Sonnet 3.7',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue