AI model comparison

Codestral 2508 vs Mistral Small 4

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown

Mistral AI

Codestral 2508
Context tokens
256K
Input / 1M
$0.30
Output / 1M
$0.90

Mistral AI

Mistral Small 4
Context tokens
262.14K
Input / 1M
$0.15
Output / 1M
$0.60
Context windows
Listed model capacity
Codestral 2508
256K
Mistral Small 4
262.14K

Catalog specifications

Catalog checked Nov 27, 2026Shared benchmarks unavailableRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $0.525 for Codestral 2508 and $0.30 for Mistral Small 4.
Context window
Mistral Small 4 lists 262,144 tokens of context. Codestral 2508 lists 256,000 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

A shared benchmark result is unavailable for these model IDs.

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensCodestral 2508Mistral Small 4
Uncached input$0.30$0.15
Output$0.90$0.60
Cache read$0.03$0.015
Cache writeUnavailableUnavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

Codestral 2508$0.525
Mistral Small 4$0.30

Mistral Small 4 costs $0.225 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationCodestral 2508Mistral Small 4
Catalog statusListedListed
Catalog model IDmistralai/codestral-2508mistralai/mistral-small-2603
ProviderMistral AIMistral AI
Context window256,000 tokens262,144 tokens
Max output204,800 tokens209,715 tokens
Input modalitiesText, FileText, Image
Output modalitiesTextText
Reasoning controlsUnverifiedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateAug 1, 2025Mar 16, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

Codestral 2508

Weave Router availability is unverified for this model ID.

Mistral Small 4

Listed in the public Router catalog.

mistralai/mistral-small-2603

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology