Safeguard

Mistral AI

Codestral

mistral/codestral-2508

Coming soon

Listed, not sold yet: the provider's resale terms are being confirmed.

Code model for low-latency tasks such as fill-in-the-middle completion and code generation.

Price

Input
$0.3 per 1M tokens
Output
$0.9 per 1M tokens
Notes
Standard tier. Cached input $0.03.
Source
Mistral AI pricing , last verified October 8, 2026

No markup on model usage: you pay the provider's list price.

Model

Context
128K (128,000 tokens)
Modality
Text
Input
text
Output
text
Weights
Closed
Released
July 30, 2025
Tags
coding, fim

Data policy

Prompts go to
Mistral AI (global endpoint by default)
Retention
Commercial terms: no training on customer data unless opted in, with exceptions, Studio Free mode may train on inputs and outputs (opt-out available), pay-as-you-go can opt out, ZDR available on pay-as-you-go for stateless endpoints
Zero data retention
Available
Region
Global by default, optional EU or US regional inference endpoints at 1.1x pricing

Summarised from the provider's published terms. The provider's own policy is what applies.

Call it with any OpenAI SDK

Available when the model is live

from openai import OpenAI

client = OpenAI(
    base_url="https://api.safeguard.sh/v1",
    api_key="SAFEGUARD_API_KEY",
)

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

Base URL https://api.safeguard.sh/v1, model mistral/codestral-2508.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.