LLM Insights中文
MistralText

codestral-latest

codestral-latest is Mistral's model at $0.30 input and $0.90 output per million tokens, with a 256K context window. On a typical 3:1 input-to-output mix that blends to roughly $0.45 per million tokens, placing it in the budget band of the 68 models tracked here — cheaper than 75% of them.

MODEL OVERVIEW
Context window256K
Input price$0.3 / 1M
Output price$0.9 / 1M
Output speed120 tok/s
Quality score80
Data updatedUpdated Jun 2026
Price verified2026-07-10 · OpenRouter

By price, codestral-latest ranks 23rd cheapest of 68 on input and 20th on output. Its quality score of 80 ranks 48th of 68, and on value (quality score ÷ output price) it ranks 19th of 68. Its blended rate sits 85% below the catalog average.

In real billing terms: a support chatbot handling 50,000 turns a month (2,000 input / 500 output tokens each) costs about $53 per month on codestral-latest, while a RAG workload of 20,000 queries (8,000 input / 800 output tokens each) runs about $62. Because output is priced 3.0× input here, long-generation tasks scale cost fastest — cap output length before you optimise anything else.

A 256K context window holds roughly 341 pages of A4 text (at ~750 tokens per page), ranking 37th of 68 here. That covers typical RAG and multi-turn chat, though book-length inputs still need retrieval and chunking. Output runs at about 120 tok/s (24th fastest of 68), fast enough for real-time interaction and high-throughput batches.

We track 3 Mistral models, and codestral-latest's blended rate sits 79% below that provider's average. If your task tolerates a little less headroom, qwen3.5-flash (Alibaba) blends about 88% cheaper at a quality score of 82, and is worth benchmarking first. Going the other way, Hunyuan HY3 scores 87 on quality for about 78% less.

The closest model in Mistral's line-up is mistral-large-3 ($2.00 input / $6.00 output, quality 82). Against it, codestral-latest scores 2 points lower on quality, runs 40 tok/s faster (about 50%), has a 128K larger context window, costs 567% less blended. When two models sit this close on price, the deciding factor is usually the quality ceiling — run both against your real prompts before picking.

Estimated monthly cost

Monthly API spend across four common workloads, next to the cheapest model we track.

WorkloadUsage assumptionThis modelCheapest model
Support chatbot2,000 input / 500 output tokens per turn, 50,000 turns per month$53$3.00
RAG document Q&A8,000 input / 800 output tokens per query, 20,000 queries per month$62$3.84
Coding assistant12,000 input / 2,000 output tokens per request, 10,000 requests per month$54$3.20
Batch summarization4,000 input / 400 output tokens per item, 200,000 items per month$312$19

Derived directly from the rates on this page. Excludes prompt caching, batch discounts and free tiers.

How it compares

The alternatives worth benchmarking alongside it, from the same dataset.

ModelProviderBlended /1MQualityPrice delta
codestral-latestMistral$0.4580
qwen3.5-flashCheaper optionAlibaba$0.05582-88%
Hunyuan HY3Higher qualityTencent$0.1087-78%
mistral-large-3Same providerMistral$3.0082+567%

Best for

Coding

Modalities

Text

Where it fits — and where it doesn't

Good fit

  • Coding: writing, refactoring and debugging across multi-file project context.
  • High throughput and real-time UX: 120 tok/s keeps streamed responses feeling instant.
  • High-volume, cost-sensitive batch work: low rates suit classification, tagging and summarization at scale.

Poor fit

  • Hard reasoning: a quality score of 80 is on the low side here; pick a stronger model for complex planning or maths.
  • Image understanding: this model is text-only, so vision tasks need a multimodal alternative.

Frequently asked questions

How much does the codestral-latest API cost?

codestral-latest costs $0.30 per million input tokens and $0.90 per million output tokens. On a 3:1 input-to-output mix that blends to about $0.45 per million tokens.

What does codestral-latest cost per month?

It depends on volume. Using the four worked scenarios on this page: a support chatbot runs about $53/month, RAG document Q&A about $62/month, a coding assistant about $54/month, and batch summarization about $312/month. Plug your own token counts into the cost calculator for a tailored figure.

How large is the codestral-latest context window?

256K tokens — roughly 341 pages of A4 text at ~750 tokens per page, ranking 37th of the 68 models tracked here.

codestral-latest or qwen3.5-flash — which is better value?

qwen3.5-flash blends to about $0.055 per million tokens versus $0.45 for codestral-latest — roughly 88% cheaper — at a quality score of 82 against 80. If that quality gap does not show up on your task, take the cheaper one; if it does, stay with codestral-latest. Benchmark both on your own data before deciding.

What is codestral-latest best suited for?

Tagged use cases: coding. Coding: writing, refactoring and debugging across multi-file project context. Less suitable: Hard reasoning: a quality score of 80 is on the low side here; pick a stronger model for complex planning or maths.

How current is this codestral-latest pricing?

Pricing here was last verified on 2026-07-10 against OpenRouter. llmprice.app runs a daily collection job, but providers can change rates between runs — confirm against Mistral's official pricing page before you commit.

Estimate the real cost of this model

Bring tokens per request and monthly volume into the calculator to compare total model costs.

Open cost calculator

Related models

Continue by provider and use case.

Mistral

mistral-large-3

Input price$2
Output price$6
View model
Mistral

mistral-medium-3.5

Input price$1.5
Output price$7.5
View model
OpenAI

gpt-5.6-sol

Input price$4
Output price$20
View model

Pricing, speed and quality scores change over time. Confirm official documentation before production use.