Repository navigation
docs: move stale model ids to their successors after the Router Core 53fe783 sync - #120
Merged
Merged
Conversation
…53fe783 sync Docstrings, README, examples and the llama-index integration still named models the gateway has retired or will retire, and routing samples that no longer match router-core 53fe783. No runtime default changes. - Retired ids: smart_chat / route() sample outputs, the async sample and the sweep list move off gemini-2.5-flash/pro, gemini-3.5-flash, o1/o3/o3-mini and gpt-5-mini. README catalog drops the o1/o3-mini/o4-mini and gemini-3.5-flash rows (gone from /v1/models, redirected) with a Retired note, and marks o3, gpt-5-mini and gemini-2.5-pro/flash with their retirement date and target. - Superseded ids: example ids move to claude-sonnet-5.5 (claude-sonnet-5-5 in the Anthropic-format samples), gpt-6.2-sol, gpt-6-luna and claude-opus-5.5; benchmark_claude.py defaults to claude-opus-5.5. README GPT-6 table gains gpt-6.2-sol. Old catalog rows stay; they are still sold. - Routing docs: the tier table now lists DEFAULT_ROUTING_CONFIG's auto primaries, and the prose and samples quote client.route() against the live catalog on 2026-11-27 (REASONING proofs rank gemini-3.6-flash first).
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.
Brings the SDK's own hardcoded model ids in line with router-core 53fe783 (synced in 1.24.0). Docstrings, README, examples and the llama-index integration only: no runtime default changed, so there is no release commit.
blockrun_llm/router_core/is untouched.Retired ids (gateway redirects them now or on the stated date)
smart_chatsample output intypes.py,solana_client.py,client.py,router.pygemini-2.5-flash/gemini-3.5-flashgoogle/gemini-3.6-flash(whatroute("What is 2+2?")returns on Base and Solana today)google/gemini-2.5-flashgoogle/gemini-3.5-flash-lite(text-only call, so no vision needed)examples/sweep_all_chat_models.pygpt-5-mini,o1,o3,o3-mini,gemini-2.5-pro,gemini-2.5-flashgpt-6.2-sol,gpt-6-luna,gpt-5.6-luna,claude-opus-5.5,claude-sonnet-5.5,gemini-3.8-flash,gemini-3.6-flash,gemini-3.5-flash-lite,grok-4.7o1,o3-mini,o4-mini,gemini-3.5-flash(all gone from/v1/models)o3,gpt-5-mini,gemini-2.5-pro,gemini-2.5-flash(still served)Superseded but live (example ids and defaults move; old catalog rows stay)
AnthropicClientdocstring (Anthropic-format samples)claude-sonnet-4-6,openai/gpt-5.4/gpt-5.5claude-sonnet-5-5(resolved by/v1/messages),openai/gpt-6.2-solclient.py,solana_client.py,tx_log.py, llama-indexbase.py+ READMEanthropic/claude-sonnet-4.6,openai/gpt-5.5,openai/gpt-5.4anthropic/claude-sonnet-5.5,openai/gpt-6.2-solexamples/arbitrage_analyzer.pytiersgpt-5.4-nano,claude-sonnet-4.6,gpt-5.5gpt-6-luna,claude-sonnet-5.5,gpt-6.2-sol(price comments updated)examples/benchmark_claude.pydefault and usageclaude-opus-4.7,claude-sonnet-4.6claude-opus-5.5,claude-sonnet-5.5openai/gpt-6.2-solrow (Opus 5.5, Sonnet 5.5, Grok 4.7 and GPT-6 Luna already had rows)Routing docs
The tier table listed picks from 2026-10-02 that included retired ids. It now lists the auto primaries from
blockrun_llm.router_core.DEFAULT_ROUTING_CONFIG(SIMPLEgemini-3.5-flash-lite, MEDIUMgemini-3.6-flash, COMPLEXgemini-3.1-pro, REASONINGdeepseek-reasoner). The prose and thesmart_chat/route()samples quote a realclient.route()run against the live catalog on 2026-11-27. For example, proofs now rankgoogle/gemini-3.6-flashfirst, notdeepseek-v4-pro.Kept on purpose
anthropic_client.pytimeout comment that cites opus-4.8 explains why a value changed. It does not recommend a model.tests/unit/test_tx_log.pyand the llama-index testMODELuse old ids only as test data.gpt-5.2,gemini-2.5-flash-liteandgpt-5-nanoexamples: these ids are not retired.docs/plans, sweep result JSON andblockrun_llm/router_core/.Checks
black --check .andruff check .: clean.pytest tests/unitpasses locally.pytest: 52 passed.