{
  "_meta": {
    "source": "https://apipriceindex.com/api/mistral/codestral",
    "attribution": "apipriceindex.com",
    "license": "CC BY 4.0",
    "license_url": "https://creativecommons.org/licenses/by/4.0/",
    "note": "Free to reuse with attribution to apipriceindex.com.",
    "generated_at": "2026-09-05T08:15:06.274Z"
  },
  "id": "mistral:codestral",
  "name": "Codestral 2508 (Mistral)",
  "base_model": "codestral",
  "provider": {
    "id": "mistral",
    "name": "Mistral AI",
    "url": "https://mistral.ai"
  },
  "category": "llm-chat",
  "capabilities": [
    "text",
    "function-calling"
  ],
  "context_window": 256000,
  "max_output": 204800,
  "pricing": {
    "model_id": "mistral:codestral",
    "input": 0.3,
    "output": 0.9,
    "cached_input": 0.03,
    "source_url": "https://openrouter.ai/mistralai/codestral-2508",
    "verified_at": "2026-09-05T08:00:57Z",
    "sources": [
      {
        "name": "OpenRouter",
        "input": 0.3,
        "output": 0.9,
        "url": "https://openrouter.ai/mistralai/codestral-2508",
        "verified_at": "2026-09-05T08:00:57Z"
      },
      {
        "name": "LiteLLM",
        "input": 1,
        "output": 3,
        "url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json",
        "verified_at": "2026-09-03T20:47:46Z"
      },
      {
        "name": "models.dev",
        "input": 0.3,
        "output": 0.9,
        "url": "https://models.dev/",
        "verified_at": "2026-09-04T10:52:49Z"
      }
    ],
    "confidence": "corroborated",
    "delta_pct": 0
  },
  "price_history": [
    [
      "2026-09-03",
      0.33,
      0.99
    ],
    [
      "2026-09-05",
      0.3,
      0.9
    ]
  ],
  "latency": [],
  "license": {
    "license": "Mistral Non-Production License",
    "tier": "conditional",
    "open_weights": true,
    "source_url": "https://mistral.ai/licenses/MNPL-0.1.md"
  },
  "cutoff": {
    "cutoff": "2024-12",
    "label": "December 2024",
    "source_url": "https://docs.mistral.ai/getting-started/models/models_overview/"
  },
  "intelligence": null,
  "quality": null,
  "api": {
    "base_url": "https://openrouter.ai/api/v1",
    "model": "mistralai/codestral-2508",
    "via": "openrouter",
    "key_env": "OPENROUTER_API_KEY",
    "docs_url": "https://openrouter.ai/mistralai/codestral-2508",
    "or_provider": "Mistral"
  },
  "facts": [
    "Codestral 2508 (Mistral) costs $0.30 input / $0.90 output per 1M tokens.",
    "Cached input cuts the input price by 90%.",
    "Output price dropped 9% since 2026-09-03 ($0.99 → $0.90 per 1M tokens).",
    "A chatbot workload (1000 in / 500 out tokens) costs $0.75 per 1,000 requests.",
    "Handles a 256,000-token context window, up to 204,800 output tokens.",
    "Open weights under Mistral Non-Production License — conditional licence.",
    "Training knowledge cutoff: December 2024."
  ]
}