anoman
Sign InGet API Key

Mistral

Codestral 2508

modelcodestral-2508
BudgetStableStreamingToolsBatchLong contextEurope

Context

128K

Input / 1M tokens

$0.3000

Output / 1M tokens

$0.9000

Cached input / 1M tokens

$0.0705

Cache write / 1M tokens

— (bills at input price)

Available in both lanes: guarded and community. Prices above are for the guarded route (codestral-2508); see Ways to call for each route.

About this model

Codestral 2508

Codestral 2508 is a model by Mistral, available through the Anoman AI OpenAI-compatible API with a 128K-token context window. On its guarded route it costs $0.3000 per 1M input tokens and $0.9000 per 1M output tokens, and is available from the Pro plan.

Key facts

Maker
Mistral
Context window
128K tokens
Max output
128K tokens
Lane
Guarded and Community (community routes need account opt-in and the provider may train on data; see Ways to call below)
Modality
Text
Input price
$0.3000 per 1M tokens (guarded route)
Output price
$0.9000 per 1M tokens (guarded route)
Processing region(s)
eu
Route
Via Mistral's API
Cheapest plan
Available from the Pro plan
Price comparison
Priced below 169 of 235 pro-band guarded models on Anoman (blended price: 1 part input to 3 parts output).

More models by Mistral

Ways to call

Ways to call Codestral 2508

Each model ID below is callable through the Anoman AI API. Price and processing region depend on the route.

Model IDRouteInput / output per 1M tokensRegion(s)LaneContext
codestral-2508Via Mistral's API$0.3000 / $0.9000euGuarded128K
openrouter/mistralai/codestral-2508Via OpenRouter$0.3000 / $0.9000globalCommunity (opt-in, may train)256K

Code example

Chat completion with Codestral 2508

from openai import OpenAI

client = OpenAI(
    base_url="https://api.anoman.io/v1",
    api_key="anm-sk-..."
)

response = client.chat.completions.create(
    model="codestral-2508",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Alternatives

Similar models in our catalog

Same maker first, then the closest price to Codestral 2508 in the Anoman catalog.

Use Codestral 2508 through Anoman.