# Mistralai: Codestral 2508

- Model id: `mistralai/codestral-2508`
- Served by: -
- List price per 1M tokens, input / output, from: -, with 0% platform fee. A request is billed at the list price of the host that served it.
- Context: 256K, max output 205K
- Prices read 2026-11-15 09:33 UTC
- Page: https://plaingateway.com/models/mistralai/codestral-2508

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.

[Blog Post](https://mistral.ai/news/codestral-25-08)

## Hosts

| Host | Endpoint | In / out /M | Cache read /M | Context | Served |
|---|---|---|---|---|---|
| Mistral | `mistral` | $0.30 / $0.90 | $0.03 | 256K | no |
| Mistral | `mistral/eu` | $0.33 / $0.99 | $0.033 | 256K | no |

## First request

```sh
curl https://api.plaingateway.com/api/v1/chat/completions \
  -H "Authorization: Bearer $PLAINGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "mistralai/codestral-2508", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
```

Sign up at https://plaingateway.com/signup (no card), create a key, send a test call, and add credits when you want more. New accounts may get a small starting credit. The whole bootstrap for agents: https://plaingateway.com/llms.txt
