mistral·chat

Mistral Codestral

mistral/codestral

At a glance

  • · $0.30 input / $0.90 output per 1M tokens (provider list price, billed in credits)
  • · OpenAI-compatible — model: "mistral/codestral" (provider: mistral)

Detail page in progress

For Mistral Codestral we maintain specs sourced from provider documentation. A long-form breakdown of strengths, weaknesses, and use cases is in progress. The API already works — see the code snippet below.

How to call it

Drop-in OpenAI-compatible. Just swap the `model` string and you're using this model.

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

Frequently asked questions

How much does Mistral Codestral cost?

Input is $0.30 per million tokens; output is $0.90 per million tokens — provider list price. On getmorecredits.com you pay in credits, no subscription, no minimum spend.

Is Mistral Codestral OpenAI-compatible?

Yes. On getmorecredits.com you call Mistral Codestral with the same request shape as OpenAI: POST /v1/chat/completions with "model": "mistral/codestral". Existing OpenAI SDKs (Python, Node, etc.) work by changing the base URL and API key.