AI model comparison

Codestral 2508 vs Mistral Small 3.1 24B

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
Context tokens
128K
Input / 1M
$0.351
Output / 1M
$0.555
Context windows
Listed model capacity
Codestral 2508
256K
Mistral Small 3.1 24B
128K

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.4898 for Mistral Small 3.1 24B.
Context window
Codestral 2508 lists 256,000 tokens of context. Mistral Small 3.1 24B lists 128,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 3.1 24B
Uncached input$0.30$0.351
Output$0.90$0.555
Cache read$0.03Unavailable
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 3.1 24B$0.4898

Mistral Small 3.1 24B costs $0.0353 less at this token mix.

Model specifications

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

SpecificationCodestral 2508Mistral Small 3.1 24B
Catalog statusListedListed
Catalog model IDmistralai/codestral-2508mistralai/mistral-small-3.1-24b-instruct
ProviderMistral AIMistral AI
Context window256,000 tokens128,000 tokens
Max output204,800 tokens102,400 tokens
Input modalitiesText, FileText, Image
Output modalitiesTextText
Reasoning controlsUnverifiedUnverified
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 17, 2025

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 3.1 24B

Weave Router availability is unverified for this model ID.

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