Repository navigation
Add Claude Sonnet 5.5 and Haiku 5.5 model constants - #262
Open
alitariksahin wants to merge 1 commit into
Open
alitariksahin wants to merge 1 commit into
alitariksahin wants to merge 1 commit into
Conversation
Claude Sonnet 5.5 and Claude Haiku 5.5 are live on the Anthropic API, OpenRouter, Vercel AI Gateway, OpenCode Zen and Cursor. Add their constants to every provider enum in the TypeScript and Python SDKs that already lists Sonnet 5 or Haiku 4.5, and to the matching CLI picker groups. OpenRouter and Vercel use the dotted claude-*-5.5 ids; Anthropic, OpenCode/Zen and Cursor use claude-*-5-5. Neon is left out because its gateway catalog does not list either model yet.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Claude Sonnet 5.5 and Claude Haiku 5.5 to the TypeScript SDK, Python SDK, and CLI model picker. Each one goes into every provider enum and picker group that already lists Sonnet 5 or Haiku 4.5.
anthropic/claude-sonnet-5-5anthropic/claude-haiku-5-5openrouter/anthropic/claude-sonnet-5.5openrouter/anthropic/claude-haiku-5.5vercel/anthropic/claude-sonnet-5.5vercel/anthropic/claude-haiku-5.5opencode/claude-sonnet-5-5opencode/claude-haiku-5-5cursor/claude-sonnet-5-5cursor/claude-haiku-5-5I checked that each ID is live in the OpenRouter and Vercel catalogs and on the Zen and Cursor pricing pages. Neon is left out because its catalog doesn't list either model.
Backend pricing for both models is in upstash/box-backend#290, which should merge first.
Checks: SDK and CLI vitest,
tsc --noEmit, and lint pass. Python pytest (async and sync), ruff, mypy, andcheck_parity.pypass.