ZMIME
Mistral AI · Released May 29, 2024

Codestral-22B-v0.1

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

  • Open weights
Capability
—No ECI score yet
Input
$0.30per 1M tokens
Output
$0.90per 1M tokens
Context
33K8K max output
Pricing

What it costs

Input
$0.30per million tokens
Output
$0.90per million tokens
Blended (3:1)
$0.45cheaper than 63% of priced models

Typical monthly bills

Monthly usageEstimated cost
Side project2M input + 0.5M output tokens$1.05
Team assistant25M input + 5M output tokens$12.00
Production app250M input + 50M output tokens$120.00

Median of 1 paid API provider on models.dev.

Capability

Independent benchmarks

Epoch AI has not published a Capabilities Index score for Codestral-22B-v0.1 yet.

Specifications

The details

Lab
Mistral AI
Released
May 29, 2024
Context window
32,768 tokens
Max output
8,192 tokens
Inputs
Text
Output
Text
Reasoning
No
Tool calling
No
Structured output
No
Availability
1 API providerlisted on models.dev
Same lab

More from Mistral AI

Questions

About Codestral-22B-v0.1

How much does Codestral-22B-v0.1 cost?

Codestral-22B-v0.1 costs $0.30 input / $0.90 output per million tokens (median across 1 API provider). At a 3:1 input-to-output mix that is $0.45 per million tokens, cheaper than 63% of the 360 priced models we track.

What is the context window of Codestral-22B-v0.1?

Codestral-22B-v0.1 accepts up to 32,768 tokens per request and can write up to 8,192 tokens in one response.

How good is Codestral-22B-v0.1?

Epoch AI has not published a Capabilities Index score for Codestral-22B-v0.1 yet.

Is Codestral-22B-v0.1 open source?

Yes. Mistral AI publishes the weights under the Mistral AI Non-Production License licence, so it can be downloaded and self-hosted.

What inputs does Codestral-22B-v0.1 support?

Codestral-22B-v0.1 accepts text and replies in text. It is not a dedicated reasoning model, does not support tool calling.

When was Codestral-22B-v0.1 released?

Mistral AI released Codestral-22B-v0.1 on May 29, 2024.

What are the best alternatives to Codestral-22B-v0.1?

The closest current models from other labs on capability, price and release date are Qwen2.5-VL 7B Instruct (Alibaba (Qwen), $0.35 / $1.05), Command R (Cohere, $0.15 / $0.60), Llama-3.2-11B-Vision-Instruct (Meta, $0.197 / $0.51) and Llama 3.1 Nemotron 70B Instruct (NVIDIA, $0.478 / $0.504).