Mistral AI

Codestral 2508 API Pricing 2026

Compare pricing, benchmarks, and providers for Codestral 2508. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

Codestral 2508 was released on August 1, 2025. Pricing starts at $0.300 per million input tokens and $0.900 per million output tokens. The model supports a context window of up to 256K tokens. API access is available through Mistral AI.

Context Window
256K
tokens
Pricing
Input$0.300
Output$0.900
Cached$0.030
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
ToolsCaching

Codestral 2508 is priced at $0.300 per million input tokens and $0.900 per million output tokens. It has a context window of 256,000 tokens. It is available from 2 providers, with Mistral the cheapest at $0.300 per million input tokens. On benchmarks, Codestral 2508 scores Aider 11.1 (3rd percentile).

Pricing Comparison

Compare Codestral 2508 with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.300
$0.900
—
—
—
256,000
Try
$0.300
$2.500
—
—
—
1,048,576
Try
$0.300
$1.500
—
—
76.1
192,000
Try
$0.300
$2.500
—
—
—
1,000,000
Try
$0.300
$0.600
—
—
—
-
Try
$0.300
$0.500
—
—
—
131,072
Try
$0.300
$1.200
—
—
—
1,048,756
Try
$0.300
$2.500
—
—
—
1,048,576
Try
$0.300
$1.200
—
—
—
65,536
Try
$0.300
$0.900
—
—
—
131,072
Try
$0.300
$0.500
—
—
—
131,072
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Codestral 2508 is available from multiple providers with different pricing and availability.

2
Providers
$0.300
Cheapest Input/M
$0.900
Cheapest Output/M
Mistral
Best Price

Provider Pricing

2 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
Mistral
Mistral
Best Price
$0.300
$0.900
$0.030
-
100.0%
OpenRouter
OpenRouter
Best Price
$0.300
$0.900
$0.030
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does Codestral 2508 perform? Vote based on your experience.

Cost vs. Quality

Compare Codestral 2508's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try Codestral 2508

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Codestral 2508 directly in your browser.

Open Playground

Frequently Asked Questions

Codestral 2508 costs $0.000300 per 1,000 input tokens and $0.000900 per 1,000 output tokens.
Codestral 2508 is available from 2 providers. Mistral offers the best price.
Mistral offers Codestral 2508 at $0.300 per million input tokens.
Codestral 2508 scores Aider 11.1 (3rd percentile). Only benchmarks with published data for this model are shown.
We compare Codestral 2508 with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Mistral AI Models

See pricing for all Mistral AI models.

View all Mistral AI models →