Using Mistral Codestral 2508 on OpenRouter

Implementation guide · Codestral · MistralAI

ServerlessOpen Weights

OpenRouter exposes Mistral Codestral 2508 through model ID mistralai/codestral-2508. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-06. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call mistralai/codestral-2508 — see the documentation for request format.
  3. 3
    You'll be billed $0.30/1M input, $0.90/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$0.30
Output tokens$0.90

Capabilities

No model capability flags are currently sourced.

About Mistral Codestral 2508

Mistral: Codestral 2508 available via OpenRouter. Pricing: $0.3/1M input, $0.9/1M output.

Model Specs

Released2025-08-20
Parameters24B MoE
Context256K
ArchitectureDecoder Only
Knowledge cutoff2025-03

Provider

OpenRouter

OpenRouter, Inc.

New York, NY, USA