{
  "$schema_version": 1,
  "_comment": "Rolling pricing table consumed by loki-ts/src/runner/budget.ts. Update this file when Anthropic / OpenAI / others publish new prices; no code change required. Pricing is USD per 1 million tokens. Aliases (opus/sonnet/haiku) point to the latest model of that family per providers/model_catalog.json.",
  "_updated": "2026-06-30",
  "_source": "https://www.anthropic.com/pricing + provider docs. sonnet=claude-sonnet-5 (list $3/$15; intro $2/$10 through 2026-08-31). opus=claude-opus-5. codex=gpt-5.3-codex standard tier. Cache tiers: read 0.1x input, write 1.25x input (Anthropic + OpenAI published multipliers).",
  "pricing": {
    "fable": {
      "input": 10.0,
      "output": 50.0,
      "cache_read": 1.0,
      "cache_write": 12.5
    },
    "opus": {
      "input": 5.0,
      "output": 25.0,
      "cache_read": 0.5,
      "cache_write": 6.25
    },
    "sonnet": {
      "input": 3.0,
      "output": 15.0,
      "cache_read": 0.3,
      "cache_write": 3.75
    },
    "haiku": {
      "input": 1.0,
      "output": 5.0,
      "cache_read": 0.1,
      "cache_write": 1.25
    },
    "gpt-5.3-codex": {
      "input": 1.75,
      "output": 14.0,
      "cache_read": 0.175,
      "cache_write": 2.1875
    },
    "gpt-5.6-sol": {
      "input": 1.75,
      "output": 14.0,
      "cache_read": 0.175,
      "cache_write": 2.1875
    },
    "gpt-5.6-terra": {
      "input": 0.6,
      "output": 4.8,
      "cache_read": 0.06,
      "cache_write": 0.75
    },
    "gpt-5.6-luna": {
      "input": 0.15,
      "output": 1.2,
      "cache_read": 0.015,
      "cache_write": 0.1875
    }
  }
}
