Refresh default model catalog for 2026 lineup#971
Open
bouclem wants to merge 1 commit into
Open
Conversation
…DeepSeek v4, gpt-oss) Adds capability entries for the new generation of models so they get proper context windows, tool format, and reasoning support instead of falling through to the 4K default. OpenAI: - gpt-5.5, gpt-5.5-pro, gpt-5.4, gpt-5.4-pro, gpt-5.4-mini, gpt-5.4-nano - effort_slider extended to include `xhigh` for gpt-5.x - pro variants don't expose a `none` reasoning option (reasoning-only) - fallback handles dated IDs (e.g. gpt-5.4-mini-2026-03-17) Anthropic: - claude-opus-4-7 (1M ctx, adaptive thinking only, no reasoning toggle) - claude-sonnet-4-6 (1M ctx, extended thinking) - claude-haiku-4-5-20251001 (200K ctx, extended thinking) - fallback ordered most-specific last so 4-7/4-6/4-5 win over 4-x Gemini: - gemini-3.5-flash, gemini-3.1-pro-preview, gemini-3-flash-preview - replaces the previous always-null fallback xAI: - grok-4.3-latest (1M ctx, configurable reasoning) DeepSeek: - deepseek-v4-flash and deepseek-v4-pro (1M ctx, 384K max output) - v4-pro cost is the list price; the 75% promo isn't encoded - replaces the previous always-null fallback Groq: - openai/gpt-oss-120b (131K ctx, openai-style tools) Defaults: - defaultModelsOfProvider updated to the 2026 lineup - removed grok-4-1-fast and groq/compound (not suitable for IDE coding) - old entries (gpt-4o, claude-3.x, gemini-2.x, deepseek-chat) kept in *ModelOptions for OpenRouter / OpenAI-compat / legacy users
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.
What
Refreshes the default model catalog for the 2026 lineup. Every name in
defaultModelsOfProvidernow has a real backing capability entry, sonothing silently falls through to the 4K-context, no-tools default.
Models added
OpenAI (
openAIModelOptions)gpt-5.5,gpt-5.5-progpt-5.4,gpt-5.4-pro,gpt-5.4-mini,gpt-5.4-nanoxhighfor the gpt-5.x linenoneoption)gpt-5.4-mini-2026-03-17Anthropic (
anthropicModelOptions)claude-opus-4-7(1M ctx, adaptive thinking only —reasoningCapabilities: false)claude-sonnet-4-6(1M ctx, extended thinking)claude-haiku-4-5-20251001(200K ctx, extended thinking)claude-opus-4-7wins overthe more general
claude-opus-4ruleGemini (
geminiModelOptions)gemini-3.5-flash,gemini-3.1-pro-preview,gemini-3-flash-previewnullfallback so these now resolvexAI (
xAIModelOptions)grok-4.3-latest(1M ctx, configurable reasoning)DeepSeek (
deepseekModelOptions)deepseek-v4-flashanddeepseek-v4-pro(1M ctx, 384K max output)nullfallbackGroq (
groqModelOptions)openai/gpt-oss-120b(131K ctx, openai-style tools)Defaults updated
defaultModelsOfProviderfor openAI, anthropic,xAI, gemini, deepseek, groq
*ModelOptionsfor OpenRouter / OpenAI-compat /legacy users — only the dropdown defaults changed
grok-4-1-fastandgroq/compoundfrom defaults (notsuitable for IDE coding workflows)
Verification
defaultModelsOfProviderto confirm itresolves to a real entry (exact match or fallback) instead of the
4K default
Notes
75% promo isn't encoded since promos expire.
docs page didn't surface those numbers in the model table.