Model catalog decision record
This document backs the contents of DEFAULT_PROVIDER_CONFIG and
DEFAULT_MODEL_ROUTING.equivalence (src/domain/routing/defaults.ts) and the
built-in default models phax uses for its own jobs. docs/model-routing.md
explains how routing works; this file records why the catalog says what
it says: where each id and effort ladder was read from, what the
cross-provider anchors are based on, and the cost basis behind every default.
Update it in the same change that touches the catalog or a default, and append
a row to the refresh log at the bottom.
State described: the catalog as it stands after
docs/plans/archive/2610131358-catalog-haiku-5-5-plan.md landed.
1. Sources of truth
Never add an id or effort from memory. Read it from the provider, then cite it here.
2. Catalog entries and where each came from
Efforts are per entry, never per family. Status active unless stated.
claude-code
Order inside a family is newest first: pickActiveEntry resolves an alias
(opus, sonnet, fable, haiku, gpt, …) or any id it doesn't recognize
to the first active entry, so the first entry is the family's current model.
opus now resolves to claude-opus-5-5, sonnet to claude-sonnet-5-5,
fable to claude-fable-5-1 and haiku to claude-haiku-5-5. Adding a
version means prepending it, never appending.
Haiku 5.5 has no none effort, so a haiku request at none resolves to
claude-haiku-5-5 at low (equivalent): nearestSupportedEffort clamps to
the nearest effort, ties going to the lower one. The undated claude-haiku-4-5
(Claude Code's fallback_3p for Haiku 5.5) is not a catalog id, so the
heuristic resolves it to Haiku 5.5 as well. To get Haiku 4.5 at none, name
claude-haiku-4-5-20251001.
codex-cli
Rows are newest-first, same rule as the Claude families.
The installed codex is 0.153.4 and its account registry
(~/.codex/models_cache.json, fetched 2026-09-20) lists neither GPT-6 Sol nor
Luna; both were read from 0.156.1's bundled catalog. They need codex ≥ 0.155.0
to run, so no live e2e covers them yet.
Not catalogued on purpose: gpt-5.4 / gpt-5.4-mini (upstream upgrade
pointers to Terra / Luna), gpt-5.6-pro and gpt-5.5-pro (not in the codex
picker), hidden internal slugs (gpt-reserve, codex-auto-review,
gpt-daybreak-*).
mistral-vibe
One entry, mistral-medium-3.5, with the two reasoning levels the Mistral API
serves, efforts off and high.
low, medium and max were dropped on 2026-10-28: a real call to each
got HTTP 400 "reasoning_effort low (medium, max) is not supported for this
model, supported values: high, none". off anchors Haiku 4.5 at none, and
high anchors Sonnet 4.6 at high. A Sonnet 4.6 request at another effort
takes the nearest edge of that anchor: high, an upgrade from low and
medium, a downgrade from max.
3. Cross-provider anchors
Every spoke edge is stated hub-centric (spoke id + effort → claude id + effort + relation); equivalentFor inverts downgrade ↔ upgrade for
spoke → hub lookups. Rules that have held since July 2026:
- Efforts map straight across; a spoke's
ultraanchors to its peer'smax. ultracodeis never an anchor target: it stays Claude-only and is never routed cross-provider (tests/unit/routing/sameFamilyPreservation.test.ts).equivalentis used when the two sit within about one index point; otherwise the honest relation is stored andallowDowngradedecides.
The Intelligence Index was re-scaled between the 2026-09-07 and the
2026-09-23 reads (Fable 5.1 at max was 57, now 53), so numbers are only
comparable within a single read. The 2026-10-05 read is on the 2026-09-23
scale (Opus 5.5 and Fable 5.1 unchanged). The 2026-10-13 read is on the
2026-09-23 scale too (Sonnet 5.5 unchanged: 56 at max, 420M tokens).
Deprecated spokes are one-way. hubToSpoke
(src/domain/routing/catalog.ts) skips any spoke whose catalog entry is
status: "deprecated", so a Claude phase is never routed onto a retired
provider model; spokeToHub does not check status, so a phase that still
names a deprecated id falls back to its Claude anchor. (Naming one in a plan
is a separate preflight failure.)
Which Claude entries lost their codex route when the GPT-5.6 variants were
deprecated: claude-fable-5 (its only codex anchor was gpt-5.6-sol) and
claude-opus-4-8 at low/high/xhigh/max (anchored only by
gpt-5.6-terra). Opus 4.8 keeps medium, via gpt-5.5 at xhigh.
claude-opus-5-5 lost its only codex route when Sol re-anchored to Sonnet
5.5 (2026-10-05). An Opus 5.5 phase therefore never reaches codex, whatever
the priority or allowDowngrade says. The planning skill's default phase
assignment, claude-sonnet-5-5 at medium, does: it reaches codex as
gpt-6-sol, equivalent. In claude-opus, only Opus 4.8 at medium keeps a codex route, via
gpt-5.5 at xhigh.
Consequence of the downgrade edges — Sol at every effort except medium,
and Luna at low: with allowDowngrade: true (the default) and codex first
in priority, a Sonnet 5.5 phase reaches codex as gpt-6-sol, labelled
equivalent at medium and downgrade at low/high/xhigh/max; with
false it reaches codex only at medium. In the other direction a Sol phase
falling back to Claude lands on Sonnet 5.5, equivalent at medium and
upgrade elsewhere, under both settings. Astra ↔ Fable 5.1 and Luna ↔ Sonnet
5 above low are equivalent, so those route under both settings.
Considered and not used: Claude Haiku 5.5 (2026-10-13). GPT-6 Luna
(21/29/32/34/37) stays anchored to Sonnet 5 (24/28/32/34/38), because Haiku
5.5 (29/34/38/41/43, 2026-10-13 read, same scale) is not closer. Haiku 5.5
gets no Codex spoke. Mistral Vibe's off effort keeps anchoring
claude-haiku-4-5-20251001 at none, an effort Haiku 5.5 does not offer.
Haiku 5.5 is therefore Claude-only: a Haiku 5.5 phase never reaches Codex or
Vibe.
4. Cost basis and phax's built-in defaults
Per-token prices are Claude Code's embedded pricing tiers (equal to
Anthropic's list prices). effort_cost_index is Claude Code's relative
token-spend multiplier per effort (high = 1). Intelligence Index, cost per
task and output tokens are from the Artificial Analysis model pages for the
max-effort variant (read 2026-09-07). AA's cost-per-task figures come from
different index revisions and are not comparable across models; they are
listed for completeness, not used to rank.
claude-opus-5-5 is the exception: its figure is from the 2026-09-23 read,
after AA re-scaled the index (Fable 5.1 at max went from 57 to 53), so it
is not comparable with the 2026-09-07 figures in the rest of the column. On
the 2026-09-23 scale, low/medium/high/xhigh/max: Opus 5.5 42/51/54/56/58,
Fable 5.1 47/49/51/53/53. Claude Code does not publish an
effort_cost_index for Opus 5.5 yet; token spend comes from Anthropic's
launch page (https://www.anthropic.com/claude-opus-5-5, read 2026-09-23):
~40% lower cost than Opus 5 on typical workloads, and one customer matched
Opus 5's quality in about half the output tokens. These are vendor figures,
not independent measurements.
Sonnet 5.5's figures are from the 2026-10-05 read, on the same scale as 2026-09-23. On that scale, low/medium/high/xhigh/max, with max-effort index tokens:
- Sonnet 5.5: 36/41/47/52/56, 420M.
- Sonnet 5: 24/28/32/34/38, 370M; AA now lists it deprecated.
- Opus 5.5: 42/51/54/56/58, 260M.
- Fable 5.1: 47/49/51/53/53, 190M.
Claude Code 2.1.289 publishes no effort_cost_index for Sonnet 5.5.
Anthropic's announcement (https://www.anthropic.com/claude-sonnet-5-5, read
2026-10-05) claims it is 30%+ faster than Sonnet 5 and up to 30% cheaper per
task; these are vendor figures. The announcement also lists breaking API
changes from Sonnet 5, including that forced tool use now errors.
Haiku 5.5's figures are from the 2026-10-13 read, on the same scale as
2026-09-23. Low/medium/high/xhigh/max: 29/34/38/41/43. Tokens and cost: 32M
tokens and $0.02/task at low; 97M and $0.08 at high; 180M and $0.12 at
xhigh; 440M and $0.21 at max. For comparison, Sonnet 5.5 at medium
scores 41, with 31M tokens and $0.48/task. AA has no score for Haiku 4.5 on
this scale. Claude Code 2.1.296 publishes no effort_cost_index for Haiku
5.5. Anthropic's page (https://www.anthropic.com/claude-haiku-5-5, read
2026-10-13): released 2026-10-07; $0.10 / $0.50 per million input / output
tokens for prompts up to 100k tokens and $0.50 / $2.50 above, with cache
reads at $0.01 / $0.05; the first Haiku with an adjustable effort setting.
Against Haiku 4.5 it costs around 75% less to run on average, with slightly
more tokens per task from an updated tokenizer. Anthropic says Sonnet 5.5 and
Opus 5.5 remain better choices for complex agentic coding (Terminal-Bench
4.0: Haiku 5.5 39.2%, Sonnet 5.5 70.6%). These are vendor figures.
Rule for a default: the cheapest entry that does the job at least as well as the current default, judged on per-token price first, then tokens generated (the energy proxy), then the index. Efforts change only when the data says so.
Explicit review.code, review.compliance and agent.extractPlan settings
in phax.json always win over these defaults. Decide has no phax.json
key: only its flags override it.
5. Refresh checklist
Run through this each time a provider ships or retires a model:
- Read the ground truth for each provider (section 1); note the client
version you read it from. Check
upgradepointers andvisibilityfor retirements; a retired id becomesstatus: "deprecated", never deleted. - Add entries newest-first inside their family (prepend); the first active entry is what an alias resolves to. Efforts exactly as read.
- Anchor every new spoke effort straight across to the closest Claude entry
on one capability axis; record the numbers and the relation in section 3.
Keep
ultracodeunanchored. - Rebuild the cost table in section 4 and re-apply the default rule to each job; record the pick, the previous value and the justification.
pnpm gen:model-catalogrenders the planner's catalog table and the phase model policy block, and fails when the policy names a model or effort the catalog does not list. If a help string changed, also runpnpm gen:usage-spec+pnpm docs:cli.- Update
docs/model-routing.mdif a family or effort value was added, and append a row to the refresh log below.