Codestral (latest) pricing.

Prices checked

Codestral (latest) costs $0.30 in and $0.90 out per million tokens from Mistral AI; the cheapest price is $0.45 at OpenRouter, checked .

Mistral AI's own price

Mistral AI

$0.45/M tokens

$0.30 in · $0.90 out

49% below the typical price of the 392 text models we track.

Cheapest price

OpenRouter

$0.45/M tokens

$0.30 in · $0.90 out

Nobody sells it for less than Mistral AI with a reason we can point at.

tool callingstructured outputopen weights256k contextreleased 29 May 2024

Every provider selling Codestral (latest)

  1. 1

    OpenRouter

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  2. 2

    LLM Gateway

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  3. 3

    Vercel AI Gateway

    Same as maker

    $0.30 in · $0.90 out · 128k context here

    $0.45/M tokens
  4. 4

    Merge Gateway

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  5. 5

    $0.30 in · $0.90 out

    $0.45/M tokens
  6. 6

    Kilo Gateway

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  7. 7

    Azure AI Foundry

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  8. 8

    Mistral AI

    Maker's price

    $0.30 in · $0.90 out

    $0.45/M tokens
  9. 9

    NanoGPT

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  10. 10

    Nous Portal

    Same as maker

    $0.30 in · $0.90 out

    $0.45/M tokens
  11. 11

    LLMTR

    Same as maker

    $0.30 in · $0.90 out · 128k context here

    $0.45/M tokens
  12. 12

    LowRouter

    Costs more

    $0.31 in · $0.94 out · 128k context here

    $0.47/M tokens
  13. 13

    TrustedRouter

    Costs more

    $0.32 in · $0.95 out

    $0.47/M tokens
  14. 14

    AI/ML API

    Costs more

    $0.32 in · $0.95 out

    $0.48/M tokens
  15. 15

    Eden AI

    Costs more

    $0.33 in · $0.99 out

    $0.49/M tokens
  16. 16

    Requesty

    Costs more

    $0.33 in · $0.99 out · 131k context here

    $0.49/M tokens
  17. 17

    Cortecs

    Costs more

    $0.37 in · $1.11 out

    $0.55/M tokens

Something else wrong?

What it costs for your work
pages a month
$0.23

A month at Mistral AI's own price

$0.23

A month at OpenRouter, the cheapest

$0

What you save

A page is about 600 tokens in and 60 out, a support reply 200 in and 300 out, an email 150 in and 250 out. Nothing else is counted: no cache discount, no batch rate, no free tier.

How we count

Prices are per million tokens. The big number on each row is blended 3 in : 1 out, the way most work uses a model. A price below Mistral AI's own is listed as cheapest only when the provider says why.

Same as maker
Sold by someone else at the price the maker charges.
Maker's price
What the lab that trained the model charges on its own API. Every other row is measured against it.
Costs more
Sold by someone else for more than the maker charges.

Similar models

Models from other labs that do what Codestral (latest) does, cheapest first. Each percentage is against Codestral (latest)'s cheapest price, $0.45 per M tokens.

Frequently asked

Who sells Codestral (latest) cheapest?
No provider sells Codestral (latest) below Mistral AI's own price for a reason it publishes. 17 providers sell it at that price or above, and every one of them is on this page.
Is Codestral (latest) open weights?
Yes. Mistral AI publishes the weights, so anyone may host Codestral (latest), which is why 17 providers sell it and why their prices differ so much.
How much context does Codestral (latest) hold?
256,000 tokens in one call, which is about 256k, and it can call your own functions.
How does Codestral (latest) compare with the rest of the market?
At $0.45 per million tokens, Mistral AI's own price is 49% below the typical $0.88 across the 392 text models we track.

More from Mistral AI