Back to model shop
Minimax
Rendered from D1 model snapshot · D1 read 124msCache check: checking

minimax/MiniMax-M2

Open weights
MiniMax-M2

Efficient open MiniMax model built for coding agents and tool-heavy workflows

This model's cache

This model page returns the exact headers below. The page and /api/models/minimax--MiniMax-M2 share the model:minimax--MiniMax-M2 tag, so invalidation stays scoped to this model.

Cache key/models/minimax--MiniMax-M2
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:minimax--MiniMax-M2

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:minimax--MiniMax-M2',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:minimax--MiniMax-M2'] })

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

MinimaxReasoningTool callingTemperature control
Released
Oct 27, 2025
Last updated
Oct 27, 2025
Context window
196.6K tokens
Max output
128K tokens
Open weights
Yes
Family
Minimax

Starts at

$0.3

per 1M input tokens

Output

$1.2

Sellers

1

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 MiniMax-M2

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

MiniMax (minimax.io)

MiniMax-M2

$0.3$1.2196.6KDocs
More from Minimax