Mistral AI

Codestral

Mistral's code-specialized model with 256K context. Trained on 80+ programming languages. Ideal for code generation, completion, and review.

codespecialized
Pricing via Neureus
Save 10% vs OpenRouter
Context window 256K tokens
Max output 16K tokens
Input (OpenRouter) $0.30/M
Input (Neureus) $0.27/M
Output (OpenRouter) $0.90/M
Output (Neureus) $0.81/M
Neureus prices all models at 10% below published OpenRouter rates, updated monthly. Free tier includes 5M tokens →
Code generation
Code completion
Code review
80+ languages
Fill-in-the-middle
HumanEval 92.2%
LiveCodeBench 54.0%
code

One API. Every model.

Swap any model ID in a single field. Neureus handles routing, caching, and tenant isolation automatically.

chat.ts
const res = await fetch('https://app.neureus.ai/ai/chat', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${NEUREUS_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'mistralai/codestral-2501',
    messages: [{ role: 'user', content: 'Hello!' }],
  }),
});
const { message } = await res.json();
Semantic response caching — repeated queries served free from edge
Per-tenant spend caps — set a monthly limit per customer
PII guardrails — optional PHI/PII detection before each request
Automatic failover — falls back to an alternate provider on error

Start using Codestral
for free.

Free tier includes 5M AI tokens, RAG pipeline, agents, and all 7 composition patterns — no credit card required.