DX-3061: add Claude Opus 5.5, GPT-6 Sol/Luna, and fix Vercel Grok ids - #250
Merged
Merged
Conversation
Claude Opus 5.5 shipped on 2026-09-22. Add its constants to every provider enum in the TypeScript and Python SDKs and to every CLI picker group that already lists Opus 5. OpenRouter and Vercel use the dotted claude-opus-5.5 id; Anthropic, OpenCode/Zen and Cursor use claude-opus-5-5. Vercel AI Gateway moved xAI models from the xai/ to the spacexai/ namespace, so the three VercelModel.Grok_* values no longer resolved. Repoint them and add the current gateway models: Grok 4.7, GPT-6 Sol, GPT-6 Luna and Gemini 3.8 Flash. GPT-6 Sol and Luna are also live on OpenAI direct, OpenRouter and Zen, so add them to OpenAICodex, OpenRouterModel and OpenCodeModel. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
buggyhunter
approved these changes
Sep 23, 2026
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.
Summary
SDK and CLI half of DX-3061. Adds Claude Opus 5.5 (released 2026-09-22), adds GPT-6 Sol / Luna, and fixes the Vercel AI Gateway Grok ids, which have been broken since the gateway moved xAI models to the
spacexai/namespace. Backend pricing is in upstash/box-backend; the console picks these up once this is published and bumped.Changes
Claude Opus 5.5 in
ClaudeCode,OpenRouterModel,VercelModel,OpenCodeModel(Anthropic and Zen),CursorModel, the Python equivalents, the SDK README tables, and all ten CLI picker groups that list Opus 5. Provider id conventions follow the existing rows: OpenRouter and Vercel use the dottedclaude-opus-5.5, everything elseclaude-opus-5-5. Verified against the OpenRouter and Vercel catalogs and the Zen pricing table.Vercel AI Gateway fix.
VercelModel.Grok_Build_0_1,Grok_4_3andGrok_4_20_Reasoningpointed atvercel/xai/..., which the gateway no longer serves (the catalog only listsspacexai/). Values are repointed, member names unchanged. Also adds the current gateway modelsGrok_4_7,GPT_6_Sol,GPT_6_LunaandGemini_3_8_Flash.GPT-6 Sol / Luna in
OpenAICodex,OpenRouterModelandOpenCodeModel, plus CLI options for Codex, OpenRouter and OpenCode.Three changesets (patch for
@upstash/boxand@upstash/box-cli) and a Python changelog entry.Not included: Sonnet 5.5 and Haiku 5.5, which Anthropic has announced but not released.
Test plan
vitest runinpackages/sdkandpackages/cli(new cases for every added id, plus a guard that noVercelModelvalue usesvercel/xai/)tscin both packages,prettier --checkon changed filespytest tests/_async/test_models.py,ruff check,ruff format --check🤖 Generated with Claude Code