Skip to content
  • Models
  • Rankings
  • Ori
ElevenLabs launch offer: every ElevenLabs model is 50% off through October 19, 2026. See ElevenLabs models

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for mistralai

Mistral: Codestral 2508

mistralai/codestral-2508

Compare

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.

Blog PostOpens in new tab

Modalities
In / Out Price
$0.30 / $0.90per 1M
Context
256K
Released
Aug 1, 2025
Knowledge Cutoff
Mar 2025
Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQExplore

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), Floor (cheapest), or Exacto (highest tool-calling accuracy).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for Mistral: Codestral 2508 (Design Arena)
SourceBenchmarkScore
Design ArenaCodestral 2508 Models Arena 3D Elo1023
Design ArenaCodestral 2508 Models Arena Code Categories Elo1011
Design ArenaCodestral 2508 Models Arena Data Visualization Elo1021
Design ArenaCodestral 2508 Models Arena Game Development Elo973
Design ArenaCodestral 2508 Models Arena UI Component Elo1020
Design ArenaCodestral 2508 Models Arena Website Elo1015

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Explore more models

AI Model RankingsRanking
$0.30$0.90$0.0300.30s97 tps
100.00%
Not used in Standard routing:Why these endpoints are not used
$0.33$0.99$0.0330.31s89 tps
100.00%
Throughput
97tok/s

P50, best across providers

Latency
0.30s

P50, best provider

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.09%

Availability over the last 3 days

Last 72 hours
Availability 99.09%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
98.62%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://kilocode.ai/
Kilo Code
Kilo Code is an open-source AI coding agent that works across VS Code, JetBrains, and CLI to help developers ship code faster with agentic workflows.
451Mtokens
2.
Favicon for https://openclaw.ai/
OpenClaw
OpenClaw is an open-source AI agent that connects to your messaging apps and takes real actions on your behalf, from running commands and browsing the web to managing files and sending emails.
200Mtokens
3.
Favicon for https://pi.dev/
pi
There are many coding agents, but this one is yours.
181Mtokens
4.
Favicon for https://github.com/deepseek-ai/deepseek-harness
DeepSeek Harness
new
92.3Mtokens
5.
Favicon for https://megalens.ai/
MegaLens.ai
new
80.7Mtokens

Frequently asked questions

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. Blog Post

Codestral 2508 costs $0.30/M input tokens and $0.90/M output tokens, with separate rates for Cache Read at $0.03/M tokens.

Codestral 2508 has a 256,000 token context window. It supports up to 256,000 completion tokens.

Yes. Codestral 2508 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

Codestral 2508 accepts text and files such as PDFs as input and returns text.

Mistral Large 4, Mistral Medium 3.5, Mistral Small 4 and 16 more are other text models from Mistral AI.

Codestral 2508 was released on August 1, 2025. Its knowledge cutoff is March 31, 2025.