Skip to content

fix: add Anthropic models claude-opus-4-8#670

Merged
Erin McNulty (erin2722) merged 2 commits into
mainfrom
chore/autofix-issue-669
May 28, 2026
Merged

fix: add Anthropic models claude-opus-4-8#670
Erin McNulty (erin2722) merged 2 commits into
mainfrom
chore/autofix-issue-669

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

fix: add Anthropic models claude-opus-4-8

Closes #669

Source issue: #669

Summary

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

Verified metadata

Model Display name Parent Providers Format Flavor Token limits Pricing Lifecycle
claude-opus-4-8 Claude 4.8 Opus anthropic anthropic chat input=1000000, output=128000 in/out=5/25 per 1M; cache read=0.5 per 1M; cache write=6.25 per 1M multimodal=true; reasoning=true

Verification notes

No LLM verification step ran — model metadata was already complete in the issue.

sync_models vs proposed update

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 Field Proposed update sync_models sync_models source models
claude-opus-4-8 catalog entry present missing None

@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

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

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment May 28, 2026 7:22pm

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: 54686e0c16

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

"grok-2-1212": ["xAI"],
"grok-vision-beta": ["xAI"],
"grok-beta": ["xAI"],
"claude-opus-4-8": ["anthropic"],
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Strip unsupported sampling params for Opus 4.8

Exposing claude-opus-4-8 as an Anthropic model means Chat Completions requests are translated through openaiParamsToAnthropicMesssageParams, but omitUnsupportedAnthropicParams only special-cases the 4.7 model names. Anthropic documents that Opus 4.8 returns 400 for non-default temperature, top_p, or top_k, so common requests that include a temperature (for example temperature: 0.7) will be forwarded and fail unless 4.8 is added to the unsupported-params handling.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is referencing legacy proxy code, so not relevant

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lingua does the same thing though, so need to put up a PR to fix it there

Comment thread packages/proxy/schema/model_list.json Outdated
"input_cache_write_cost_per_mil_tokens": 6.25,
"displayName": "Claude 4.8 Opus",
"reasoning": true,
"reasoning_budget": true,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Do not advertise budgeted thinking for Opus 4.8

This marks Opus 4.8 as supporting explicit reasoning budgets, but Anthropic's Opus 4.8 docs say extended thinking budgets (thinking: {type: "enabled", budget_tokens: N}) are rejected and that adaptive thinking is the only supported thinking mode. Since the proxy translates reasoning_budget/reasoning_effort into that unsupported thinking.type: "enabled" shape, clients that rely on this metadata will send requests that Anthropic rejects.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

fixed

@erin2722
Copy link
Copy Markdown
Contributor

testing this rn...

@erin2722 Erin McNulty (erin2722) merged commit 18ca331 into main May 28, 2026
6 of 7 checks passed
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] Anthropic: add missing claude-opus-4-8 model

2 participants