aiapicompareaiapicompare
aiapicompare › All models › Codestral 2508

Codestral 2508: API pricing compared

Codestral 2508 is available from 2 provider(s). Cheapest: NanoGPT at $0.300 per 1M input tokens and $0.900 per 1M output tokens. Context window: up to 256 000 tokens. Developer: Mistral.

ProviderInput $/1MOutput $/1MContext
NanoGPT
mistralai/codestral-2508
$0.300$0.900256KGo to provider ↗ Set up
OpenRouter
mistralai/codestral-2508
$0.300$0.900256KGo to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

Reference price: $0.300 / $0.900 per 1M tokens (input / output), OpenRouter · How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with NanoGPT

from openai import OpenAI
import os

client = OpenAI(base_url="https://nano-gpt.com/api/v1", api_key=os.environ["NANOGPT_API_KEY"])
r = client.chat.completions.create(
    model="mistralai/codestral-2508",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is Codestral 2508 cheapest?

Currently at NanoGPT ($0.300 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use Codestral 2508 in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Mistral

Mistral Small 24B Instruct 2501Ministral 14BMistral Nemo Instruct 2407Mistral Devstral Small 2505Mistral Small 3.2 24BMinistral 3BMistral Small 3.1 24BMinistral 8BMistral SabaDevstral 2 2512Mixtral 8x22B Instruct v0.1Mistral Medium 3.5