---
title: "Codestral 2508 API Pricing (Mistral): $0.3/$0.9 per Mtok"
description: "Codestral 2508 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-2508/"
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 2508

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

Current coding cheap tier

[Email me when Codestral 2508 gets cheaper](https://modelpricewatch.com/alerts/#model=mistral-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-06

## Price receipt

We read [Mistral's own pricing page](https://mistral.ai/pricing/api/) on Aug 31, 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 48b84435ff.

## 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

42%

HumanEval vendor

88%

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.

**200** tokens/sec output

Source: Mistral model card · updated Aug 1, 2025 · [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

Aug 1, 2025

Status

Current

Last updated

Jun 25, 2026

Tags

coding

**Availability verified:** Aug 31, 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 2508 live API price](/badge/model/mistral-codestral-2508.svg)

## Price history

input $/1M

Last checked **Aug 31, 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.

## Featured in these rankings

[Fastest LLM APIs for Low-Latency Apps](https://modelpricewatch.com/best-for/fast-inference/)

Ranked #14 of 78 · cheapest fast inference options

## 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](https://modelpricewatch.com/models/mistral-codestral/)

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 306 tracked large language models across 41 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-06T00: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 2508",
  "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-07",
    "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 2508"
    }
  ]
}
```
