{
  "name": "LLM API pricing",
  "description": "List prices of large language model APIs in US dollars per 1 million tokens, with context window and maximum output. Standard tier, text tokens, no batch discount or long-prompt surcharge.",
  "license": "CC-BY-4.0",
  "license_name": "CC BY 4.0",
  "license_url": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Nanocalcs (https://nanocalcs.com/en/llm-api-pricing/), licensed under CC BY 4.0",
  "publisher": "Nanocalcs",
  "page": "https://nanocalcs.com/en/llm-api-pricing/",
  "currency": "USD",
  "unit": "per 1,000,000 tokens",
  "checked": "2026-10-15",
  "model_count": 27,
  "models": [
    {
      "id": "gpt-6-astra",
      "model": "GPT-6 Astra",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 10,
      "output_usd_per_mtok": 50,
      "cached_input_usd_per_mtok": 1,
      "context_tokens": 1050000,
      "max_output_tokens": 128000,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-6.1-sol",
      "model": "GPT-6.1 Sol",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 2,
      "output_usd_per_mtok": 10,
      "cached_input_usd_per_mtok": 0.1,
      "context_tokens": 1050000,
      "max_output_tokens": 128000,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-6-luna",
      "model": "GPT-6 Luna",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 0.1,
      "output_usd_per_mtok": 0.5,
      "cached_input_usd_per_mtok": 0.01,
      "context_tokens": 1050000,
      "max_output_tokens": 128000,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-5.6-sol",
      "model": "GPT-5.6 Sol",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 4,
      "output_usd_per_mtok": 20,
      "cached_input_usd_per_mtok": 0.4,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-5.5",
      "model": "GPT-5.5",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 5,
      "output_usd_per_mtok": 30,
      "cached_input_usd_per_mtok": 0.5,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-5.4-mini",
      "model": "GPT-5.4 mini",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 0.75,
      "output_usd_per_mtok": 4.5,
      "cached_input_usd_per_mtok": 0.075,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-5-mini",
      "model": "GPT-5 mini",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 0.25,
      "output_usd_per_mtok": 2,
      "cached_input_usd_per_mtok": 0.025,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-4.1",
      "model": "GPT-4.1",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 2,
      "output_usd_per_mtok": 8,
      "cached_input_usd_per_mtok": 0.5,
      "context_tokens": 1047576,
      "max_output_tokens": 32768,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gpt-4o-mini",
      "model": "GPT-4o mini",
      "provider": "OpenAI",
      "condition": null,
      "input_usd_per_mtok": 0.15,
      "output_usd_per_mtok": 0.6,
      "cached_input_usd_per_mtok": 0.075,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://developers.openai.com/api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "claude-fable-5.1",
      "model": "Claude Fable 5.1",
      "provider": "Anthropic",
      "condition": null,
      "input_usd_per_mtok": 10,
      "output_usd_per_mtok": 50,
      "cached_input_usd_per_mtok": 0.25,
      "context_tokens": 1000000,
      "max_output_tokens": 128000,
      "source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "claude-opus-5.5",
      "model": "Claude Opus 5.5",
      "provider": "Anthropic",
      "condition": null,
      "input_usd_per_mtok": 4,
      "output_usd_per_mtok": 20,
      "cached_input_usd_per_mtok": 0.2,
      "context_tokens": 1000000,
      "max_output_tokens": 128000,
      "source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "claude-sonnet-5.5",
      "model": "Claude Sonnet 5.5",
      "provider": "Anthropic",
      "condition": null,
      "input_usd_per_mtok": 2,
      "output_usd_per_mtok": 10,
      "cached_input_usd_per_mtok": 0.1,
      "context_tokens": 1000000,
      "max_output_tokens": 128000,
      "source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "claude-haiku-5.5",
      "model": "Claude Haiku 5.5",
      "provider": "Anthropic",
      "condition": "prompt up to 100K",
      "input_usd_per_mtok": 0.1,
      "output_usd_per_mtok": 0.5,
      "cached_input_usd_per_mtok": 0.01,
      "context_tokens": 1000000,
      "max_output_tokens": 128000,
      "source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "claude-haiku-4.5",
      "model": "Claude Haiku 4.5",
      "provider": "Anthropic",
      "condition": null,
      "input_usd_per_mtok": 1,
      "output_usd_per_mtok": 5,
      "cached_input_usd_per_mtok": 0.1,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://platform.claude.com/docs/en/about-claude/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gemini-3.1-pro",
      "model": "Gemini 3.1 Pro Preview",
      "provider": "Google",
      "condition": "prompt up to 200K",
      "input_usd_per_mtok": 2,
      "output_usd_per_mtok": 12,
      "cached_input_usd_per_mtok": 0.2,
      "context_tokens": 1048576,
      "max_output_tokens": 65536,
      "source_url": "https://ai.google.dev/gemini-api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gemini-3-flash",
      "model": "Gemini 3 Flash Preview",
      "provider": "Google",
      "condition": null,
      "input_usd_per_mtok": 0.5,
      "output_usd_per_mtok": 3,
      "cached_input_usd_per_mtok": 0.05,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://ai.google.dev/gemini-api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gemini-2.5-pro",
      "model": "Gemini 2.5 Pro",
      "provider": "Google",
      "condition": "prompt up to 200K",
      "input_usd_per_mtok": 1.25,
      "output_usd_per_mtok": 10,
      "cached_input_usd_per_mtok": 0.125,
      "context_tokens": 1048576,
      "max_output_tokens": 65536,
      "source_url": "https://ai.google.dev/gemini-api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gemini-2.5-flash",
      "model": "Gemini 2.5 Flash",
      "provider": "Google",
      "condition": null,
      "input_usd_per_mtok": 0.3,
      "output_usd_per_mtok": 2.5,
      "cached_input_usd_per_mtok": 0.03,
      "context_tokens": 1048576,
      "max_output_tokens": 65536,
      "source_url": "https://ai.google.dev/gemini-api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gemini-3.1-flash-lite",
      "model": "Gemini 3.1 Flash-Lite",
      "provider": "Google",
      "condition": null,
      "input_usd_per_mtok": 0.25,
      "output_usd_per_mtok": 1.5,
      "cached_input_usd_per_mtok": 0.025,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://ai.google.dev/gemini-api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "gemini-2.5-flash-lite",
      "model": "Gemini 2.5 Flash-Lite",
      "provider": "Google",
      "condition": null,
      "input_usd_per_mtok": 0.1,
      "output_usd_per_mtok": 0.4,
      "cached_input_usd_per_mtok": 0.01,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://ai.google.dev/gemini-api/docs/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "mistral-large-3",
      "model": "Mistral Large 3",
      "provider": "Mistral",
      "condition": null,
      "input_usd_per_mtok": 0.5,
      "output_usd_per_mtok": 1.5,
      "cached_input_usd_per_mtok": null,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://docs.mistral.ai/inference/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "mistral-medium-3.5",
      "model": "Mistral Medium 3.5",
      "provider": "Mistral",
      "condition": null,
      "input_usd_per_mtok": 1.5,
      "output_usd_per_mtok": 7.5,
      "cached_input_usd_per_mtok": null,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://docs.mistral.ai/inference/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "mistral-small-4",
      "model": "Mistral Small 4",
      "provider": "Mistral",
      "condition": null,
      "input_usd_per_mtok": 0.15,
      "output_usd_per_mtok": 0.6,
      "cached_input_usd_per_mtok": null,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://docs.mistral.ai/inference/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "deepseek-flash-off",
      "model": "DeepSeek V4.1 Flash",
      "provider": "DeepSeek",
      "condition": "off-peak",
      "input_usd_per_mtok": 0.15,
      "output_usd_per_mtok": 0.6,
      "cached_input_usd_per_mtok": 0.003,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://api-docs.deepseek.com/quick_start/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "deepseek-flash-peak",
      "model": "DeepSeek V4.1 Flash",
      "provider": "DeepSeek",
      "condition": "peak hours",
      "input_usd_per_mtok": 0.3,
      "output_usd_per_mtok": 1.2,
      "cached_input_usd_per_mtok": 0.006,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://api-docs.deepseek.com/quick_start/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "deepseek-pro-off",
      "model": "DeepSeek V4 Pro",
      "provider": "DeepSeek",
      "condition": "off-peak",
      "input_usd_per_mtok": 0.66,
      "output_usd_per_mtok": 1.98,
      "cached_input_usd_per_mtok": 0.022,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://api-docs.deepseek.com/quick_start/pricing",
      "checked": "2026-10-15"
    },
    {
      "id": "deepseek-pro-peak",
      "model": "DeepSeek V4 Pro",
      "provider": "DeepSeek",
      "condition": "peak hours",
      "input_usd_per_mtok": 1.32,
      "output_usd_per_mtok": 3.96,
      "cached_input_usd_per_mtok": 0.044,
      "context_tokens": null,
      "max_output_tokens": null,
      "source_url": "https://api-docs.deepseek.com/quick_start/pricing",
      "checked": "2026-10-15"
    }
  ]
}
