Back to model shop
Mistral
Rendered from D1 model snapshot · D1 read 119msCache check: checking

mistral/devstral-medium-latest

Open weights
Devstral 2 (latest)

Mistral coding agent model for repository tasks and software engineering workflows

This model's cache

This model page returns the exact headers below. The page and /api/models/mistral--devstral-medium-latest share the model:mistral--devstral-medium-latest tag, so invalidation stays scoped to this model.

Cache key/models/mistral--devstral-medium-latest
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:mistral--devstral-medium-latest

Workers Cache derives the key from this path/query, plus the Worker entrypoint and current Worker version.

export const Route = createFileRoute('/models/$modelSlug')({
  headers: () => ({
    'Cache-Control': 'public, max-age=300, stale-while-revalidate=3600',
    'Cache-Tag': 'catalog,model:mistral--devstral-medium-latest',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:mistral--devstral-medium-latest'] })

Use this when one model changes and you do not want to evict the whole catalog.

DevstralTool callingTemperature control
Released
Dec 2, 2025
Last updated
Dec 2, 2025
Context window
262.1K tokens
Max output
262.1K tokens
Open weights
Yes
Family
Devstral

Starts at

$0.4

per 1M input tokens

Output

$2

Sellers

2

No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.

Capabilities & modalities
Reasoning
Tool calling
Structured output
Attachments
InputText
OutputText
Provider shelf
Where to get Devstral 2 (latest)

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Mistral

devstral-medium-latest

$0.4$2262.1KDocs

Merge Gateway

mistral/devstral-medium-latest

$0.4$2262.1KDocs
More from Mistral