[eric] providers: add Claude Fable 5 on the API-key route (sub route held on pinned 9router)

This commit is contained in:
ciregenz
2026-06-09 13:27:45 -07:00
parent c035c3377a
commit a774f68b96
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -29,6 +29,8 @@ from __future__ import annotations
# open / strong sub, 3 solid mid, 2 small specialised, 1 nano.
MODEL_TIERS: dict[str, tuple[int, int, int]] = {
# Anthropic
"claude-fable-5": (5, 2, 5),
"anthropic/claude-fable-5": (5, 2, 5),
"claude-opus-4-8": (5, 2, 5),
"claude-opus-4.8": (5, 2, 5),
"anthropic/claude-opus-4.8": (5, 2, 5),
@@ -66,6 +66,12 @@ BUILTIN_MODELS: dict[str, list[dict[str, Any]]] = {
{"value": "haiku-cc", "label": "Claude Haiku 4.5", "context_window": 200_000,
"model_id": "claude-haiku-4-5", "router_model_id": "cc/claude-haiku-4-5-20251001", "api": "anthropic", "reasoning": True, "route": "cc"},
# Fable 5 (released 2026-05-28): new flagship tier ABOVE Opus, 1M ctx,
# 128k out, $10/$50. API-key route only: a brand-new id 404s on our pinned
# 9Router 0.3.60 sub route (same as GPT-5.5's cx entry), and Claude-sub
# serving of Fable is unverified, add the cc/ entry once it's proven live.
{"value": "fable-5-api", "label": "Claude Fable 5 (API key)", "context_window": 1_000_000,
"model_id": "claude-fable-5", "router_model_id": "claude-fable-5", "api": "anthropic", "reasoning": True, "route": "api"},
{"value": "opus-4-8-api", "label": "Claude Opus 4.8 (API key)", "context_window": 1_000_000,
"model_id": "claude-opus-4-8", "router_model_id": "claude-opus-4-8", "api": "anthropic", "reasoning": True, "route": "api"},
{"value": "opus-4-7-api", "label": "Claude Opus 4.7 (API key)", "context_window": 1_000_000,