# Codestral-22B-v0.1 Usage, Cost & Rank | OpenCode Data

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

- Page: https://opencode.ai/data/mistral/codestral-22b-v0-1
- JSON: https://opencode.ai/data/mistral/codestral-22b-v0-1.json
- Model ID: mistral/codestral-22b-v0.1
- Lab: Mistral

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 33K |
| Max output | 8.2K |
| Knowledge cutoff | - |
| Release date | 2024-05-29 |
| Input modalities | text |
| Output modalities | text |
| Reasoning | No |
| Tool calling | No |
| Open weights | Yes |
| Weights | [Hugging Face](https://huggingface.co/mistralai/Codestral-22B-v0.1) |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
