Skip to content

feat: refresh OpenRouter model aliases (2026-12-05 snapshot) - #10

Open
svngoku wants to merge 1 commit into
masterfrom
chore/refresh-openrouter-models-2026-12-05
Open

svngoku wants to merge 1 commit into
masterfrom
chore/refresh-openrouter-models-2026-12-05

Conversation

@svngoku

@svngoku svngoku commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Refreshes the curated OpenRouter aliases against the live catalog of 474 models on 2026-12-05, following the procedure from Plan 002. The default and fallback model (claude-opus-4.8) are unchanged, and there are no dependency or CI changes.

Related: #9 (urgent) fixes the LiteLLM tool-calling crash on master. Without that fix, no alias in this list can run a tool-calling agent, which is the default run/chat path. The two PRs are independent and merge in either order; the live evidence below used both together. #11 fixes models --list in the same CLI area.

Summary

 ModelConfig.openrouter_models: 65 aliases -> 72
-gemini-2.5-pro  gemini-2.5-flash  grok-build-0.1  mistral-medium-3.1
-kimi-k2  step-5-preview  solar-mini4                         # absent from the live catalog
+gpt-6.2-sol  gemini-4-hydrogen  gemini-4-neon  qwen4-max  qwen4-35b-a3b
+minimax-m4  glm-5.4  step-5  solar-mini-4.5  hy4-flash  ergo-1.0
+inkling-2-mini  flint-v1.1-free  ernie-5.5-flash-free
New alias OpenRouter ID $/M in / out
gpt-6.2-sol openai/gpt-6.2-sol 2 / 10
gemini-4-hydrogen google/gemini-4-hydrogen 1.50 / 7.50
gemini-4-neon google/gemini-4-neon 3 / 15
qwen4-max qwen/qwen4-max 1.425 / 4.275
qwen4-35b-a3b qwen/qwen4-35b-a3b 0.06 / 0.36
minimax-m4 minimax/minimax-m4 0.80 / 3.10
glm-5.4 z-ai/glm-5.4 1.40 / 4.40
step-5 (replaces step-5-preview) stepfun/step-5 1 / 2.70
solar-mini-4.5 (replaces solar-mini4) upstage/solar-mini-4-5 0.01 / 0.04
hy4-flash tencent/hy4-flash 0.07 / 0.281
ergo-1.0 amazon/ergo-1.0 1 / 3
inkling-2-mini thinkingmachines/inkling-2-mini 0.06 / 0.24
flint-v1.1-free recursive/flint-v1.1:free 0 / 0
ernie-5.5-flash-free baidu/ernie-5.5-flash-preview:free 0 / 0

All 14 support tool calling.

Cost policy: Plan 002 already excludes Pro variants. This refresh also excludes :batch variants, floating ~...-latest aliases, and new premium tiers above $15/M output tokens, which covers gpt-6.2-astra ($40) and gemini-4-carbon ($20). Older aliases above that price are kept, are listed in the snapshot doc, and can be pruned in a separate decision.

Other changes:

  • cli.py STATIC_MODEL_CATALOG: step-5-preview → step-5; adds gpt-6.2-sol to research and gemini-4-hydrogen to news.
  • Tests:
    • New aliases map to their exact IDs.
    • Removed aliases are absent.
    • Pro and premium tiers are excluded.
    • No configured value contains :batch or ~.
    • ModelManager routes gpt-6.2-sol and step-5 exactly.
  • New docs/references/openrouter-models-2026-12-05.md; flagship rows in README updated.

Evidence

  • Before: 7 of 65 configured aliases point at models that no longer exist on OpenRouter. The new catalog tests fail on master's unchanged source: 3 in test_model_catalog.py and 2 in test_model_manager.py (re-verified independently of the refresh run).
  • After:
    • Every configured alias, the default, and the fallback exist in the live catalog (checked by script, and by the opt-in OPENROUTER_LIVE_TESTS=1 integration test: 1 passed).
    • 255 passed, 1 skipped (master: 250 + 1).
    • Ruff, ruff format, mypy (30 files), uv lock --check, and golden principles are clean.
  • Live run with a new alias (master + this PR + the LiteLLM fix):
    • agentic-internet run "..." --model qwen4-35b-a3b resolved to openrouter/qwen/qwen4-35b-a3b.
    • It called web_search, web_scraper, news_search and exa_search over 3 steps and returned a sourced answer (Python 3.15.2, python.org). The answer is the success criterion; the CLI exit code is not reliable because it exits 0 even on failure, a known defect pinned in RTM-0: characterization tests, hermetic test lane, locked CI, and runtime ADR (proposed) #8.
    • Combined suite: 257 passed, 1 skipped.

Merge Danger

Door: two-way

The change is confined to the alias map, the CLI catalog, tests, and docs.

Blast Radius: Configuration

  • Anyone passing a removed alias (for example --model gemini-2.5-pro) no longer gets it resolved by alias. Those models are already gone from OpenRouter, so such calls would fail either way. The snapshot doc lists replacements.
  • Known issue, already on master and not fixed here: agentic-internet models --list prints nothing. agentic-internet models works. Fixed in #11, which also touches the model CLI and merges cleanly with this PR; whichever merges second should drop the known-issue note in docs/references/openrouter-models-2026-12-05.md.

Remove 7 aliases absent from the live catalog (474 models), add 14 curated
aliases, keep default/fallback claude-opus-4.8 unchanged. Exclude -pro,
:batch, ~latest router aliases and new tiers above $15/M output. Update
static CLI catalog, tests, README, and snapshot reference doc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant