feat: reorder OpenRouter catalog, add haiku-4.5, fix minimax slug (#1915)

feat: reorder OpenRouter catalog, add haiku-4.5, fix minimax slug
This commit is contained in:
Teknium 2026-03-18 03:26:22 -07:00 committed by GitHub
commit 0679712d26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,10 +18,11 @@ from typing import Any, Optional
OPENROUTER_MODELS: list[tuple[str, str]] = [ OPENROUTER_MODELS: list[tuple[str, str]] = [
("anthropic/claude-opus-4.6", "recommended"), ("anthropic/claude-opus-4.6", "recommended"),
("anthropic/claude-sonnet-4.5", ""), ("anthropic/claude-sonnet-4.5", ""),
("openai/gpt-5.4-pro", ""), ("anthropic/claude-haiku-4.5", ""),
("openai/gpt-5.4", ""), ("openai/gpt-5.4", ""),
("openai/gpt-5.4-mini", ""), ("openai/gpt-5.4-mini", ""),
("openai/gpt-5.4-nano", ""), ("openrouter/hunter-alpha", "free"),
("openrouter/healer-alpha", "free"),
("openai/gpt-5.3-codex", ""), ("openai/gpt-5.3-codex", ""),
("google/gemini-3-pro-preview", ""), ("google/gemini-3-pro-preview", ""),
("google/gemini-3-flash-preview", ""), ("google/gemini-3-flash-preview", ""),
@ -30,13 +31,13 @@ OPENROUTER_MODELS: list[tuple[str, str]] = [
("stepfun/step-3.5-flash", ""), ("stepfun/step-3.5-flash", ""),
("z-ai/glm-5", ""), ("z-ai/glm-5", ""),
("moonshotai/kimi-k2.5", ""), ("moonshotai/kimi-k2.5", ""),
("minimax/minimax-m2.7", ""), ("minimax/minimax-m2.5", ""),
("x-ai/grok-4.20-beta", ""), ("x-ai/grok-4.20-beta", ""),
("nvidia/nemotron-3-super-120b-a12b:free", "free"), ("nvidia/nemotron-3-super-120b-a12b:free", "free"),
("arcee-ai/trinity-large-preview:free", "free"), ("arcee-ai/trinity-large-preview:free", "free"),
("z-ai/glm-5-turbo", ""), ("z-ai/glm-5-turbo", ""),
("openrouter/hunter-alpha", ""), ("openai/gpt-5.4-pro", ""),
("openrouter/healer-alpha", ""), ("openai/gpt-5.4-nano", ""),
] ]
_PROVIDER_MODELS: dict[str, list[str]] = { _PROVIDER_MODELS: dict[str, list[str]] = {