From af4e4fb3531b5474cb2aa719cc2aaae6f112cfb0 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Wed, 29 Jul 2026 12:36:25 -0400 Subject: [PATCH] fix(cliproxy): correct Claude Opus 5 metadata --- src/cliproxy/model-catalog.ts | 2 +- src/web-server/model-pricing.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cliproxy/model-catalog.ts b/src/cliproxy/model-catalog.ts index f46e42ed..376cdfce 100644 --- a/src/cliproxy/model-catalog.ts +++ b/src/cliproxy/model-catalog.ts @@ -504,7 +504,7 @@ export const MODEL_CATALOG: Partial> = name: 'Claude Opus 5', description: 'Latest premium model', nativeImageInput: true, - // Opus 5 (released 2026-07-14) uses adaptive thinking, matching Sonnet 5 + // Opus 5 (released 2026-07-24) uses adaptive thinking, matching Sonnet 5 // and Opus 4.8: Anthropic accepts only effort levels; manual budget_tokens // is rejected with 400. Proxy metadata reports zero + dynamic allowed. thinking: { diff --git a/src/web-server/model-pricing.ts b/src/web-server/model-pricing.ts index da08755e..b4eec3e5 100644 --- a/src/web-server/model-pricing.ts +++ b/src/web-server/model-pricing.ts @@ -331,9 +331,9 @@ const PRICING_REGISTRY: Record = { fast: OPUS_48_FAST_RATES, }, }, - // Claude Opus 5 ($5/$25) — Claude 5 generation Opus (released 2026-07-14). - // Rates mirror Opus 4.8 (same Opus tier); fast mode reuses the 2x premium - // pending official Opus 5 numbers. Registered explicitly so it resolves to + // Claude Opus 5 ($5/$25) — Claude 5 generation Opus (released 2026-07-24). + // Rates mirror Opus 4.8 (same Opus tier); fast mode uses Anthropic's documented + // $10/$50 rates. Registered explicitly so it resolves to // Opus-tier pricing instead of the unknown-model fallback. 'claude-opus-5': { inputPerMillion: 5.0,