---
title: "Codestral API Pricing (Mistral): $0.3/$0.9 per Mtok"
description: "Codestral pricing (Mistral): $0.3/1M input tokens, $0.9/1M output, 256K-token context. Code generation model. $0.30/$0.90 per 1M tokens, 256K context."
url: "https://modelpricewatch.com/models/mistral-codestral/"
source: "Model Price Watch — modelpricewatch.com"
license: "Free to cite with attribution and a link back."
note: "Prices change often. For live values prefer https://modelpricewatch.com/api/v1/models.json"
---

# Codestral

by [Mistral](https://modelpricewatch.com/providers/mistral/) · 22B parameters

Current coding cheap tier

[Email me when Codestral gets cheaper](https://modelpricewatch.com/alerts/#model=mistral-codestral)

**Availability:** Tracks Mistral's Codestral alias (codestral-latest), which today serves Codestral 25.08 — the $0.30/$0.90 price and 256K context shown are that version's. The 2024-05-29 date is the Codestral family's debut, not the version being served: Mistral retired the original codestral-2405 on 2025-06-16 and codestral-2501 on 2025-11-30. For the pinned version see Codestral 2508.

## Today's price · per 1M tokens

- **Input:** $0.300 (per 1M tokens)
- **Output:** $0.900 (per 1M tokens)
- **Blended:** $0.450 (blended $/1M — 3:1 weighted input:output)

Source: [official Mistral pricing](https://mistral.ai/pricing/api/) · read Jun 25, 2026 MODELPRICEWATCH.COM · 2026-11-13

## Price receipt

We read [Mistral's own pricing page](https://mistral.ai/pricing/api/) on Nov 9, 2026 and found **Codestral ↗** listed with a price on the same row — that read is where the number above comes from. We keep the page text we read; its content hash is b146735b1c.

## Overview

Code generation model. $0.30/$0.90 per 1M tokens, 256K context.

## Capabilities

Input 1/4

Text: yes; Image: no; Audio: no; Video: no

Output

Text: yes

Features 2/9

Prompt caching: no; Reasoning: no; Coding: yes; Fast inference: no; Long context: yes; Open weights: no; Multimodal: no; Web search: no; Realtime: no

## Benchmark performance

accuracy % · higher is better

SWE-Bench Verified vendor

38%

HumanEval vendor

85%

Sources: Mistral model card (SWE-Bench Verified, HumanEval)

Every per-benchmark score we hold for this model is reported by its own vendor, so none is counted toward an accuracy average or any ranking.

**220** tokens/sec output

Throughput: Artificial Analysis via Vellum · [Source: Artificial Analysis (artificialanalysis.ai)](https://artificialanalysis.ai/)

Source: Mistral model card · updated Jan 1, 2026 · [See full rankings →](https://modelpricewatch.com/rankings/)

## Specifications

Provider

[Mistral](https://modelpricewatch.com/providers/mistral/)

Context window

256K tokens

Modality

text

Parameters

22B

Open source

No — proprietary

Released

May 29, 2024

Status

Current

Last updated

Jun 25, 2026

Tags

coding

**Availability verified:** Nov 9, 2026 — listed on [Mistral's own page](https://mistral.ai/pricing/api/)

[Try on Mistral](https://modelpricewatch.com/out/mistral/) [Official pricing page](https://mistral.ai/pricing/api/)

## Cost calculator

copy a line

1K tokens (in)

$0.0003

1K tokens (out)

$0.0009

100K tokens (in)

$0.030

100K tokens (out)

$0.090

1M tokens (in)

$0.300

1M tokens (out)

$0.900

10M tokens (blended)

$4.50

[Full calculator →](https://modelpricewatch.com/calculator/)

## At a glance

$ per 1M tokens

Input

$0.300/M

Output

$0.900/M

Blended

$0.450/M

Context

256K

Tier

cheap

## Embed this price

A live, auto-updating badge for your README or docs:

![Codestral live API price](/badge/model/mistral-codestral.svg)

## Price history

input $/1M

Last checked **Nov 9, 2026** · every price links to the official provider pricing page

No price changes detected — this model's pricing has been stable since we began tracking it.

## Related models

same category

[KAT-Coder-Air V2.5](https://modelpricewatch.com/models/kwaipilot-kat-coder-air-v2-5/)

Kwaipilot · $0.259/M blended

[Mercury Edit 2](https://modelpricewatch.com/models/inception-mercury-edit-2/)

Inception · $0.375/M blended

[Codestral 2508](https://modelpricewatch.com/models/mistral-codestral-2508/)

Mistral · $0.450/M blended

[LongCat-2.5](https://modelpricewatch.com/models/meituan-longcat-2-5/)

Meituan · $0.525/M blended

[Qwen3-Coder-Next](https://modelpricewatch.com/models/alibaba-qwen3-coder-next/)

Alibaba · $0.600/M blended

[Devstral 2 2512](https://modelpricewatch.com/models/mistral-devstral-2/)

Mistral · $0.800/M blended

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://modelpricewatch.com/#org",
      "name": "Model Price Watch",
      "alternateName": [
        "ModelPriceWatch",
        "modelpricewatch",
        "Model Price Watch — The LLM Price Index"
      ],
      "url": "https://modelpricewatch.com/",
      "logo": "https://modelpricewatch.com/icon-512.png",
      "description": "Independent, automated tracker of LLM API pricing across all major providers. Every price is traced to the provider's official pricing page and re-verified on a schedule.",
      "foundingDate": "2026-06-24",
      "knowsAbout": [
        "LLM API pricing",
        "token cost per million tokens",
        "large language model cost comparison",
        "AI inference pricing",
        "prompt caching pricing"
      ],
      "publishingPrinciples": "https://modelpricewatch.com/about/#verified",
      "sameAs": [
        "https://huggingface.co/datasets/modelpricewatch/llm-token-price-history",
        "https://github.com/romanshumy/llm-prices-data",
        "https://www.npmjs.com/package/@modelpricewatch/mcp"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://modelpricewatch.com/#website",
      "url": "https://modelpricewatch.com/",
      "name": "Model Price Watch",
      "publisher": {
        "@id": "https://modelpricewatch.com/#org"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://modelpricewatch.com/?q={search_term_string}"
        },
        "query-input": "required name=search_term_string"
      }
    },
    {
      "@type": "Dataset",
      "@id": "https://modelpricewatch.com/#dataset",
      "name": "LLM API Pricing Dataset",
      "description": "Token pricing (input, output, and blended cost per million tokens), context windows, and price history for 315 tracked large language models across 42 providers. Every price links to the provider's official pricing page; the dataset is refreshed twice daily.",
      "url": "https://modelpricewatch.com/",
      "creator": {
        "@id": "https://modelpricewatch.com/#org"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "LLM API pricing",
        "token cost",
        "price per million tokens",
        "GPT pricing",
        "Claude pricing",
        "Gemini pricing",
        "LLM cost comparison"
      ],
      "variableMeasured": [
        "input price per million tokens",
        "output price per million tokens",
        "blended cost per million tokens",
        "context window"
      ],
      "temporalCoverage": "2026-06-24/",
      "dateModified": "2026-11-13T00:00:00Z",
      "distribution": [
        {
          "@type": "DataDownload",
          "encodingFormat": "application/json",
          "contentUrl": "https://modelpricewatch.com/api/v1/models.json"
        },
        {
          "@type": "DataDownload",
          "encodingFormat": "application/json",
          "contentUrl": "https://modelpricewatch.com/api/v1/price-history.json"
        }
      ]
    }
  ]
}
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Codestral",
  "applicationCategory": "AIModel",
  "operatingSystem": "Cloud",
  "image": "https://modelpricewatch.com/og-default.png",
  "offers": {
    "@type": "Offer",
    "price": "0.3",
    "priceCurrency": "USD",
    "description": "Per million input tokens",
    "priceValidUntil": "2026-12-14",
    "availability": "https://schema.org/InStock"
  },
  "description": "Code generation model. $0.30/$0.90 per 1M tokens, 256K context.",
  "manufacturer": "Mistral"
}
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Pricing",
      "item": "https://modelpricewatch.com/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Mistral",
      "item": "https://modelpricewatch.com/providers/mistral/"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Codestral"
    }
  ]
}
```
