mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 10:27:33 +00:00
fix(usage): price Claude Fable 5.2 and Mythos 5.2 (#40506)
This commit is contained in:
@@ -48,7 +48,7 @@ describe('model pricing name matching', () => {
|
||||
it.each([
|
||||
'claude-opus-5-6',
|
||||
'claude-sonnet-5-6',
|
||||
'claude-fable-5-2',
|
||||
'claude-fable-5-3',
|
||||
'claude-opus-6',
|
||||
'claude-opus-4.9',
|
||||
'claude-opus-5-50',
|
||||
|
||||
@@ -30,6 +30,13 @@ const SONNET_4_LONG_CONTEXT = {
|
||||
}
|
||||
|
||||
// Mythos models are billed at their Fable counterparts' rates.
|
||||
const FABLE_5_2_PRICING: ClaudeModelPricing = {
|
||||
input: 8,
|
||||
output: 40,
|
||||
cacheRead: 0.2,
|
||||
cacheWrite: 10,
|
||||
cacheWrite1h: 16
|
||||
}
|
||||
const FABLE_5_1_PRICING: ClaudeModelPricing = {
|
||||
input: 10,
|
||||
output: 50,
|
||||
@@ -47,6 +54,8 @@ const FABLE_5_PRICING: ClaudeModelPricing = {
|
||||
|
||||
// Unknown model versions stay unpriced until explicitly added.
|
||||
export const MODEL_PRICING: Record<string, ClaudeModelPricing> = {
|
||||
'claude-fable-5-2': FABLE_5_2_PRICING,
|
||||
'claude-mythos-5-2': FABLE_5_2_PRICING,
|
||||
'claude-fable-5-1': FABLE_5_1_PRICING,
|
||||
'claude-mythos-5-1': FABLE_5_1_PRICING,
|
||||
'claude-fable-5': FABLE_5_PRICING,
|
||||
|
||||
Reference in New Issue
Block a user