Codestral-22B-v0.1

by Mistral AIChat

Open Mistral code model for fill-in-the-middle and 80+ programming languages

Context
128K tokens
Max output
4,000 tokens
Parameters
22.2B total
Released
2024-05-29
Weights
Open
Licence
mnpl

Weights on Hugging Face

mistral/codestral-22b-v0-1 · also seen as mistralai/Codestral-22B-v0.1

Specifications

Full facts as recorded, incl. what is unknown.

Released
2024-05-29
Weights
Opennot gated
License
mnpl
Input
Text
Output
Text
Context window
128,000 max across endpoints
Max output
4,000
Providers
0 + 1 gateway, not counted as providers
Epoch Capabilities Index
not evaluated
Direct price range
$0.30 in at Pioneer, via gateway, fees not verified
More details
Last updated
2024-05-29
Knowledge cutoff
Weights link
Hugging Face · mistralai/Codestral-22B-v0.1
Parameters
22.2B total

Capabilities

Across all endpoints: supported if any endpoint supports it.

  • Tool calling
  • Parallel toolsunknown
  • Structured outputunknown
  • Reasoning
  • Image input
  • PDF input
  • Audio input
  • Audio outputunknown
  • Video input
  • Prompt cachingunknown
  • Web searchunknown
  • Computer useunknown
  • System messagesunknown
  • Assistant prefillunknown
  • Temperature
  • Streamingunknown
  • Attachments

Endpoints

One row per provider and variant; gateways are listed separately.

Loading endpoints…

Cost calculator

Loading endpoints…

Similarly priced models

Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).

ModelBlended/1MIn/1MOut/1MContextvs Codestral-22B-v0.1
Llama 3.1 70b InstructMeta$0.40$0.40$0.40131K+0%
CodestralMistral AI$0.40$0.30$0.90256K+0%
Codestral 25.08Mistral AI$0.40$0.30$0.90256K+0%
Mistral Code LatestMistral AI$0.40$0.30$0.90128K+0%
UnslopNemo 12BTheDrummer$0.40$0.40$0.401.02M+0%
ReMM SLERP 13Bundi95$0.40$0.35$0.656.1K+0%
MiniMax-M2MiniMax$0.397$0.17$1.53205K−1% cheaper
DeepSeek V4 ProDeepSeek$0.406$0.348$0.6961M+2%

More from Mistral AI

Newest Mistral AI models in the catalogue. All Mistral AI models

ModelReleasedContextListed price
Mistral Large 42026-10-061.05Mfrom $0.68
Voxtral Small 24B 2507 STT2026-08-13—unpriced
Leanstral 1.52026-06-30262Kunpriced
Mistral Code Latest2026-06-02128Kfrom $0.30
Mistral Code Agent Latest2026-06-02256Kfrom $0.40
Voxtral Mini Transcribe2026-05-1516.4Kunpriced
Mistral Medium 3.52026-04-30262Kfrom $1.50
Mistral Medium 3.52026-04-29262Kfrom $1.50
Heads up: prices are indicative list rates scraped from provider pricing pages; verify with the provider before relying on them. Report incorrect data for this model