Mistral
Codestral 2501 API Pricing
Model ID:
mistralai/codestral-2501Mistrals specialized code generation and completion model with 256K context.
Input / 1M Tokens
$0.1500
3,912 ₫
Output / 1M Tokens
$0.4500
11,734 ₫
Context Window
256,000
256K tokens
Uptime / Cache
99.9%
Save 87%
Interactive Monthly Token Cost Calculator
Flagship Direct Benchmark ($2.50/$10)
$0.00
SAI Marine Cost
$0.00
0 ₫
Quickstart Code for mistralai/codestral-2501
curl https://sai-marine.com/v1/chat/completions -H "Authorization: Bearer sk-sm-your-api-key" -H "Content-Type: application/json" -d '{"model":"mistralai/codestral-2501","messages":[{"role":"user","content":"Hello!"}]}' IDE & Workflow Guides
FAQ
How much does Codestral 2501 cost on SAI Marine?
Input tokens cost $0.1500 per 1M tokens and output tokens cost $0.4500 per 1M tokens (pay as you go).
Is mistralai/codestral-2501 OpenAI SDK compatible?
Yes. Set base_url to https://sai-marine.com/v1 and pass model="mistralai/codestral-2501" with your sk-sm- API key.