# Codestral 25.08 Usage, Cost & Rank | OpenCode Data

> Codestral 25.08 costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.

Mistral code model for low-latency completion, fill-in-the-middle, and code generation

- Page: https://opencode.ai/data/mistral/codestral-2508
- JSON: https://opencode.ai/data/mistral/codestral-2508.json
- Model ID: mistral/codestral-2508
- Lab: Mistral

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 128K |
| Max output | 8.2K |
| Knowledge cutoff | - |
| Release date | 2025-07-30 |
| Input modalities | text |
| Output modalities | text |
| Reasoning | No |
| Tool calling | Yes |
| Open weights | No |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $0.30 | $0.90 | $0.03 | - |

## 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.
