Skip to content

fix: add Anthropic models claude-sonnet-4-0 and claude-opus-4-0#480

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/autofix-issue-452
Closed

fix: add Anthropic models claude-sonnet-4-0 and claude-opus-4-0#480
github-actions[bot] wants to merge 1 commit into
mainfrom
chore/autofix-issue-452

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

fix: add Anthropic models claude-sonnet-4-0 and claude-opus-4-0

Closes #452

Source issue: #452

Summary

Field Value
Provider anthropic
Primary model claude-opus-4-1
Changed models claude-sonnet-4-0
claude-opus-4-0
Added models claude-sonnet-4-0
claude-opus-4-0
Updated models None
Verification sources 1

Verified metadata

Model Providers Format Flavor Token limits Pricing Lifecycle
claude-sonnet-4-0 anthropic anthropic chat input=1000000, output=64000 in/out=3/15 per 1M; cache read=0.3 per 1M; cache write=3.75 per 1M date=2026-05-14; multimodal=true; reasoning=true
claude-opus-4-0 anthropic anthropic chat input=200000, output=32000 in/out=15/75 per 1M; cache read=1.5 per 1M; cache write=18.75 per 1M date=2026-05-14; multimodal=true; reasoning=true

sync_models cross-check

sync_models cross-check found differences. Official provider verification was used for the applied values, and sync_models discrepancies are listed below for review.

Model sync_models source models Status Details
claude-sonnet-4-0 None missing in sync_models No translated sync_models reference entry matched this model name.
claude-opus-4-0 None missing in sync_models No translated sync_models reference entry matched this model name.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment Apr 23, 2026 10:30am

Request Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ed541a3e3

ℹ️ 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".

"displayName": "Claude 4 Sonnet",
"reasoning": true,
"reasoning_budget": true,
"deprecation_date": "2026-05-14",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Set accurate deprecation date for Claude 4.0 aliases

deprecation_date drives when models become hidden/treated as deprecated in markModelsPastDeprecationDate (packages/proxy/schema/models.ts), but this value is set to 2026-05-14 for the newly added Claude 4.0 alias. Anthropic has already marked Claude 4.0 as deprecated (with retirement later), so this date keeps the alias surfaced as active for weeks after deprecation, which can route users toward models that are already in sunset. Please align this field with the provider’s current lifecycle date (and apply the same correction to the matching Opus alias entry).

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOT ISSUE] Missing Anthropic model aliases: claude-opus-4-1, claude-sonnet-4-0, claude-opus-4-0

1 participant