Mistral / mistral/codestral-latest

Codestral - access through LLMTR

A focused model for code generation, completion, and editor integrations. Delivers the most value in software development workflows rather than general chat.

Technical specifications

Canonical IDmistral/codestral-latest
ProviderMistral
Context window128,000 tokens
OperationsCHAT_COMPLETIONS
Modalitiestext

Pricing

A 6% platform margin applies to credit top-ups; model usage prices are not separately marked up.

OperationMetricUnitPrice
CHAT_COMPLETIONSINPUT_TEXTPER_1M_TOKENS$0.300000
CHAT_COMPLETIONSOUTPUT_TEXTPER_1M_TOKENS$0.900000

Example usage

With existing OpenAI SDK flows, change only the base URL and model identifier.

curl https://llmtr.com/v1/chat/completions \
  -H "Authorization: Bearer llmtr-your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistral/codestral-latest","messages":[{"role":"user","content":"Hello"}]}'

Related models