{
  "_readme": "Per-model unit prices in USD per million tokens. Source: Anthropic public pricing (Claude-family rows verified 2026-10-14 against the current model table; the gpt-* rows remain approximate). Update when Anthropic publishes new tiers. Rung names (fable / opus / sonnet / haiku) are the pipeline's stable identifiers and `modelId` is the wire value they currently resolve to - dispatch reads the rung, so a generation move is a `modelId` edit here plus the phase specs, never a rename of the rungs. `copilotModelId`, where present, is the name Copilot CLI dispatches for the rung: one of the dotted IDs `copilot help config` lists (Copilot rejects any other as not available), the newest of the rung's family there. A rung without one (fable) is not offered on Copilot CLI, where its personas take the opus rung. smoke-model-fallback.sh checks the IDs against `copilot help config` when the CLI is installed. `provider` says which layer a rung belongs to: an `anthropic` rung is reachable from every call site; `free-chain` (the `free` rung) only from bulk-read and delegate, where the multi-agent-mcp's verified free-model chain answers and the caller's default takes over when it escalates; any other provider from no call site. model-dispatch.sh enforces this. Unknown models render USD as ' - ' and emit a footnote  -  never block PR-body generation. cacheReadPerMtok is the discounted rate for prompt-cache hits, published per model and well below inPerMtok; the renderer prices a phase's tokens_cached at this rate when the tracker records it, so resume/cache reuse is visible in the ledger.",
  "schemaVersion": "1.1.0",
  "verifiedAt": "2026-10-14",
  "_legacyReadme": "`legacy` prices previous-generation wire IDs a transcript may still name, keyed by the exact ID (a dated snapshot of one prices as it). Dispatch never reads it; cost-analyze consults it after the current `modelId` values and the `models` map. Official Anthropic prices per million tokens.",
  "legacy": {
    "claude-fable-5": {
      "inPerMtok": 10,
      "outPerMtok": 50,
      "cacheReadPerMtok": 1
    },
    "claude-fable-5-1": {
      "inPerMtok": 10,
      "outPerMtok": 50,
      "cacheReadPerMtok": 0.25
    },
    "claude-opus-5": {
      "inPerMtok": 5,
      "outPerMtok": 25,
      "cacheReadPerMtok": 0.5
    },
    "claude-sonnet-5": {
      "inPerMtok": 2,
      "outPerMtok": 10,
      "cacheReadPerMtok": 0.2
    },
    "claude-haiku-4-5": {
      "inPerMtok": 1,
      "outPerMtok": 5,
      "cacheReadPerMtok": 0.1
    }
  },
  "_modelsReadme": "`models` prices wire IDs a rung dispatches whose model is not the rung's `modelId`: Copilot CLI's `copilotModelId` values name an older model than the rung's, billed at that model's own rate. Keyed by the exact ID; cost-analyze consults it before the rung rates, so a Copilot CLI session is priced at its own model. Official Anthropic prices per million tokens, verified 2026-10-14.",
  "models": {
    "claude-opus-4.7": {
      "inPerMtok": 5,
      "outPerMtok": 25,
      "cacheReadPerMtok": 0.5
    },
    "claude-sonnet-4.6": {
      "inPerMtok": 3,
      "outPerMtok": 15,
      "cacheReadPerMtok": 0.3
    },
    "claude-haiku-4.5": {
      "inPerMtok": 1,
      "outPerMtok": 5,
      "cacheReadPerMtok": 0.1
    }
  },
  "prices": {
    "fable": {
      "inPerMtok": 8,
      "outPerMtok": 40,
      "cacheReadPerMtok": 0.2,
      "modelId": "claude-fable-5-2",
      "provider": "anthropic",
      "note": "Top tier - architects, Reviewer 1 and triage on Claude Code. Claude Fable 5.2, verified against Anthropic pricing 2026-11-03."
    },
    "opus": {
      "inPerMtok": 4,
      "outPerMtok": 20,
      "cacheReadPerMtok": 0.2,
      "modelId": "claude-opus-5-5",
      "copilotModelId": "claude-opus-4.7",
      "provider": "anthropic",
      "note": "Second tier - Reviewer 2 on Claude Code, Reviewer 1 and triage on Copilot CLI, and the opus rung of the fable -> opus -> sonnet fallback ladder. Claude Opus 5.5, verified against Anthropic pricing 2026-10-14."
    },
    "sonnet": {
      "inPerMtok": 2,
      "outPerMtok": 10,
      "cacheReadPerMtok": 0.1,
      "modelId": "claude-sonnet-5-5",
      "copilotModelId": "claude-sonnet-4.6",
      "provider": "anthropic",
      "note": "Floor tier for Claude-family dispatch - Reviewer 3 on both hosts, the dev phase, and the terminal rung of the fallback ladder. Claude Sonnet 5.5, verified against Anthropic pricing 2026-10-14."
    },
    "haiku": {
      "inPerMtok": 0.5,
      "outPerMtok": 2.5,
      "cacheReadPerMtok": 0.05,
      "modelId": "claude-haiku-5-5",
      "copilotModelId": "claude-haiku-4.5",
      "provider": "anthropic",
      "note": "Speed tier - task-clarifier and other latency-sensitive dispatches, plus the terminal rung of the fallback ladder. Claude Haiku 5.5 is priced in two tiers by prompt length (in 0.10, cache-read 0.01, out 0.50 up to 100k input tokens; in 0.50, cache-read 0.05, out 2.50 above); this table holds one rate per rung, so it carries the over-100k tier: over-reporting is the safe direction for a cost ledger. Verified against Anthropic pricing 2026-10-14."
    },
    "gpt-5.4": {
      "inPerMtok": 10,
      "outPerMtok": 30,
      "cacheReadPerMtok": 1,
      "modelId": "gpt-5.4",
      "provider": "openai",
      "note": "Copilot CLI Reviewer 2 and Codex CLI Reviewer 2  -  approximate; verify against OpenAI pricing page before relying on totals."
    },
    "gpt-5.6": {
      "inPerMtok": 10,
      "outPerMtok": 30,
      "cacheReadPerMtok": 1,
      "modelId": "gpt-5.6",
      "provider": "openai",
      "note": "Codex CLI top tier  -  Reviewer 1 at xhigh effort, Reviewer 3 at medium, triage at max, and the fable/opus rungs of the Codex persona tier map. Reasoning effort changes output volume, not the per-token rate, so one entry covers every effort level. Approximate; verify against OpenAI pricing before relying on totals."
    },
    "gpt-5.6-terra": {
      "inPerMtok": 1,
      "outPerMtok": 5,
      "cacheReadPerMtok": 0.1,
      "modelId": "gpt-5.6-terra",
      "provider": "openai",
      "note": "Codex CLI floor tier  -  speed-optimised, maps the haiku rung of the Codex persona tier map (task-clarifier). Approximate; verify against OpenAI pricing before relying on totals."
    },
    "free": {
      "inPerMtok": 0,
      "outPerMtok": 0,
      "cacheReadPerMtok": 0,
      "modelId": "free-chain",
      "provider": "free-chain",
      "note": "Layer 2: the multi-agent-mcp's verified free-model chain (llm_delegate / multi-agent-mcp-llm) over free tiers - Groq, Mistral, Gemini, OpenRouter free models, Z.AI GLM Flash, local Ollama. Priced at zero because the provider bills nothing on a free tier; what it saves is reported by route-status from the toolkit's usage log at the rate of the rung it replaced."
    },
    "local": {
      "inPerMtok": 0,
      "outPerMtok": 0,
      "cacheReadPerMtok": 0,
      "modelId": "local",
      "provider": "local",
      "note": "A model served from this machine. Priced at zero because no invoice follows a token, which is the point of the rung; the ledger still counts the tokens, so a run on it is comparable with one that cost money."
    }
  }
}
