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

mistral/devstral-medium-2507

Devstral Medium

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-2507 share the model:mistral--devstral-medium-2507 tag, so invalidation stays scoped to this model.

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

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-2507',
  }),
})

Invalidate this cache tag

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

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

DevstralTool callingTemperature control
Released
Jul 10, 2025
Last updated
Jul 10, 2025
Context window
128K tokens
Max output
128K tokens
Open weights
No
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 Medium

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Mistral

devstral-medium-2507

$0.4$2128KDocs

Merge Gateway

mistral/devstral-medium-2507

$0.4$2128KDocs
More from Mistral