Codestral Latest

codestral-latest by Mistral AI Released June 6, 2026
Function calling · Structured output · Prompt caching · EU hosting
Input from
$0.3 / 1M
Output from
$0.9 / 1M
Cached input from
$0.03 / 1M
Context window
256K
Endpoints
2
from 1 providers
Regions
Global, Europe

About Codestral Latest

Codestral Latest is a chat model by Mistral AI, available on Eden AI through 2 endpoints from 1 provider, from $0.3 per million input tokens and $0.9 per million output tokens, with a context window of up to 256K tokens.

Providers and prices

2 endpoints from 1 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Mistral AImistral/codestral-latest
Global
256K
$0.3
$0.9
$0.03
Official · Tools · JSON · Cache
Mistral AI (Europe)mistral/codestral-latest@eu
Europe
256K
$0.33
$0.99
$0.033
Official · Tools · JSON · Cache

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
0.52 s
Mistral AI
Lowest latency
0.85 s
Mistral AI
Highest throughput
90.19 tok/s
Mistral AI (Europe)
Best availability
100%
Mistral AI (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Mistral AI
0.52 s
0.85 s
12.64 s
85.19 tok/s
100%
46.39%
0%
0%
Mistral AI (Europe)
0.53 s
1.69 s
19.01 s
90.19 tok/s
100%
46.47%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call Codestral Latest with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "codestral-latest",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about Codestral Latest

On Eden AI, prices for this model start at $0.3 per million input tokens and $0.9 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 256K tokens, depending on the endpoint.

2 endpoints from 1 providers, available in: Global, Europe. All of them are called with the same Eden AI API key.

Can I run Codestral Latest in the EU? Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU. ‖ How fast is Codestral Latest? Over the last 30 days, the fastest first token was 0.52 s (Mistral AI) and the highest throughput was 90.19 tokens per second (Mistral AI (Europe)).