{
  "@context": "https://schema.org",
  "@type": "Dataset",
  "name": "Claude API & LLM Cost Comparison Dataset 2026",
  "description": "Per-million-token input, output, and cached-read pricing for Claude Opus 4.7, Sonnet 4.6, Haiku 4.5, GPT-5 Turbo, and Gemini 2.5 Pro as of May 2026. All prices in USD.",
  "url": "https://claude-api-cookbook.vercel.app/llm-cost-comparison/",
  "identifier": "https://claude-api-cookbook.vercel.app/data/claude-pricing-2026.json",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "creator": {
    "@type": "Organization",
    "name": "Claude API Cookbook",
    "url": "https://claude-api-cookbook.vercel.app"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Claude API Cookbook",
    "url": "https://claude-api-cookbook.vercel.app"
  },
  "datePublished": "2026-05-14",
  "dateModified": "2026-05-14",
  "inLanguage": "en",
  "isAccessibleForFree": true,
  "currency": "USD",
  "spatialCoverage": "Global",
  "temporalCoverage": "2026-05",
  "variableMeasured": [
    "input price per million tokens (USD)",
    "output price per million tokens (USD)",
    "cached-read price per million tokens (USD)",
    "context window (tokens)"
  ],
  "data": [
    {
      "vendor": "Anthropic",
      "model": "Claude Opus 4.7",
      "inputUsdPerMillion": 15,
      "outputUsdPerMillion": 75,
      "cachedReadUsdPerMillion": 1.5,
      "cacheWriteUsdPerMillion": 18.75,
      "contextTokens": 200000,
      "notes": "Top-tier reasoning, vision, tool use"
    },
    {
      "vendor": "Anthropic",
      "model": "Claude Sonnet 4.6",
      "inputUsdPerMillion": 3,
      "outputUsdPerMillion": 15,
      "cachedReadUsdPerMillion": 0.3,
      "cacheWriteUsdPerMillion": 3.75,
      "contextTokens": 200000,
      "notes": "Recommended default for production"
    },
    {
      "vendor": "Anthropic",
      "model": "Claude Haiku 4.5",
      "inputUsdPerMillion": 1,
      "outputUsdPerMillion": 5,
      "cachedReadUsdPerMillion": 0.1,
      "cacheWriteUsdPerMillion": 1.25,
      "contextTokens": 200000,
      "notes": "Volume classification and extraction"
    },
    {
      "vendor": "OpenAI",
      "model": "GPT-5 Turbo",
      "inputUsdPerMillion": 5,
      "outputUsdPerMillion": 20,
      "cachedReadUsdPerMillion": 2.5,
      "cacheWriteUsdPerMillion": null,
      "contextTokens": 256000,
      "notes": "Public pricing snapshot 2026-05; verify on openai.com"
    },
    {
      "vendor": "Google",
      "model": "Gemini 2.5 Pro",
      "inputUsdPerMillion": 2.5,
      "outputUsdPerMillion": 10,
      "cachedReadUsdPerMillion": 0.625,
      "cacheWriteUsdPerMillion": null,
      "contextTokens": 2000000,
      "notes": "Public pricing snapshot 2026-05; 2M context tier"
    }
  ]
}