fix: update Anthropic model metadata for claude-opus-4-8#677
fix: update Anthropic model metadata for claude-opus-4-8#677github-actions[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eea04dffe3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
| "input_cache_write_cost_per_mil_tokens": 6.25, | ||
| "displayName": "Claude 4.8 Opus", | ||
| "reasoning": true, | ||
| "reasoning_budget": true, |
There was a problem hiding this comment.
Include the missing cache write tiers
This update only adds reasoning_budget, but the claude-opus-4-8 metadata still lacks the tier-specific input_cache_write_5m_cost_per_mil_tokens: 6.25 and input_cache_write_1h_cost_per_mil_tokens: 10 fields that the source issue says should be present. For Anthropic prompt-caching usage, especially 1-hour cache writes, consumers of this model metadata still cannot price the correct tier and may fall back to the generic 5-minute write cost or treat it as unknown, so the metadata remains incomplete after this fix.
Useful? React with 👍 / 👎.
fix: update Anthropic model metadata for claude-opus-4-8
Closes #672
Source issue: #672
Summary
claude-opus-4-8claude-opus-4-82
Verified metadata
Verification notes
Verification
Official source verification
https://platform.claude.com/docs/en/docs/about-claude/models/all-models
claude-opus-4-8is the current<NextOpus />modelreasoning_budget: truemax_input_tokens: 1000000max_output_tokens: 128000input_cost_per_mil_tokens: 5,output_cost_per_mil_tokens: 25https://platform.claude.com/docs/en/docs/about-claude/pricing
<NextOpus />row shows 5m Cache Writes = $6.25/MTok — confirmsinput_cache_write_5m_cost_per_mil_tokens: 6.25<NextOpus />row shows 1h Cache Writes = $10/MTok — confirmsinput_cache_write_1h_cost_per_mil_tokens: 10input_cache_read_cost_per_mil_tokens: 0.5sync_models (LiteLLM) cross-check
Compared against
anthropic.claude-opus-4-8in https://raw.githubusercontent.com/BerriAI/litellm/refs/heads/main/litellm/model_prices_and_context_window_backup.json (litellm_provider: bedrock_converse):max_input_tokensmax_output_tokensinput_cost_per_mil_tokensoutput_cost_per_mil_tokensinput_cache_read_cost_per_mil_tokensinput_cache_write_cost_per_mil_tokensinput_cache_write_5m_cost_per_mil_tokensinput_cache_write_1h_cost_per_mil_tokensreasoning_budgetNo deviations found between proposed values and sync_models. All numeric fields match.
Fields not published or not applicable
deprecation_date: Not applicable —claude-opus-4-8is the current flagship model, not deprecated.parent: Not applicable —claude-opus-4-8is the latest Opus model; it is not a dated snapshot of another alias.supported_regions: Not applicable —available_providersis["anthropic"]only, not vertex.sync_models vs proposed update
sync_models cross-check found no pricing/token discrepancies for the changed models.
No sync_models discrepancies were noted.