Call Codestral 2508 for general-purpose chat, reasoning, and tool use — through one OpenAI-compatible endpoint, with local payments, on the Go plan and up.
Last updated June 5, 2026
Per 1M tokens, billed from your credit balance — there is no markup on usage.
| Direction | Price / 1M tokens |
|---|---|
| Input | $0.30 |
| Output | $0.90 |
Already using the OpenAI SDK? Change two lines — base_url and your key — and set the model to codestral-2508.
curl https://api.zyloai.net/v1/chat/completions \ -H "Authorization: Bearer YOUR_ZYLO_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "codestral-2508", "messages": [{"role": "user", "content": "Hello from Zylo!"}] }'
# pip install openai from openai import OpenAI client = OpenAI( api_key="YOUR_ZYLO_KEY", base_url="https://api.zyloai.net/v1", ) response = client.chat.completions.create( model="codestral-2508", messages=[{"role": "user", "content": "Hello from Zylo!"}], ) print(response.choices[0].message.content)
// npm install openai import OpenAI from "openai"; const client = new OpenAI({ apiKey: "YOUR_ZYLO_KEY", baseURL: "https://api.zyloai.net/v1", }); const response = await client.chat.completions.create({ model: "codestral-2508", messages: [{ role: "user", content: "Hello from Zylo!" }], }); console.log(response.choices[0].message.content);
On OpenRouter this model is mistralai/codestral-2508; on Zylo, use the id codestral-2508.
Codestral 2508 is billed at its base per-token rate: $0.30 per 1M input tokens and $0.90 per 1M output tokens, deducted from your prepaid credits. There is no markup on usage — Zylo's 25% platform fee applies only when you add credits.
Codestral 2508 requires the Go plan or higher. The free Basic plan only includes Basic-tier models; paid plans (Go and up) add premium models like Codestral 2508 and include credits you spend on usage at the rate above.
Codestral 2508 supports up to 256K tokens of context through Zylo's OpenAI-compatible API.
Yes. Point any OpenAI SDK at https://api.zyloai.net/v1, use your Zylo API key, and set the model to codestral-2508.
On OpenRouter this model is mistralai/codestral-2508. On Zylo, use the bare id codestral-2508 with base URL https://api.zyloai.net/v1 — no vendor prefix.
Guides for building on Codestral 2508 and other models through one API.
Codestral 2508 runs on the Go plan or higher — create an account and upgrade to the Go plan to call it.
Create your account