minimax-m2 API

MiniMax minimax-m2 for chat and coding; Flatkey routes this model through /v1/chat/completions. Current pricing is unavailable 204,800-token context window.

Chat and coding
Provider
MiniMax
Flatkey price
Pricing data unavailable
Loading...

Pricing

This model is not currently available through Flatkey. Its introduction and reference information remain available below. Browse the model directory to find available models.

minimax-m2 chat and coding: core capabilities

MiniMax's minimax-m2 route supports text · file. Catalog categories: Programming, Roleplay, Marketing.

minimax-m2 chat and coding API

Call minimax-m2 through /v1/chat/completions for chat, coding or agent workflows supported by the model's listed modalities.

minimax-m2 long-context work

minimax-m2 is listed with 204,800-token; use that catalog value as an integration planning reference and validate limits for your account.

minimax-m2 tool and agent workflows

Keep tool calls, structured output and streaming behavior aligned with the endpoint contract instead of assuming every provider feature is interchangeable.

minimax-m2 production routing

Use one Flatkey key for minimax-m2, usage controls and model routing while retaining the exact model id in your SDK configuration.

Compare

minimax-m2 API comparison: capabilities and access

Compare the catalog facts for minimax-m2 with the previous-generation baseline before changing your integration.

CapabilityPrevious generationminimax-m2
ProviderNot verified in this catalog snapshotMiniMax
ModalitiesNot verified in this catalog snapshottext · file
ContextNot verified in this catalog snapshot204,800-token
EndpointNot verified in this catalog snapshot/v1/chat/completions
BillingNot verified in this catalog snapshotCurrent pricing is unavailable

Why Flatkey

Why use Flatkey for minimax-m2?

OpenAI-compatible migration path

Chat Completions-style payloads reduce switching friction from existing model stacks.

Production routing

Keep usage, keys, quotas, and model routing in one Flatkey account.

Unified API access

Use one account and API key across image, video, audio, and language models.

Routing across upstream channels

Requests are spread across the channels serving this model, with 30-day uptime published above.

API

minimax-m2 API

Four ways in, all on the same key and the same model catalog. Pick one to see a runnable example.

Call any model with an OpenAI-compatible API. Copy a ready-to-run example for your model and language.
Use the OpenAI SDK you already know — with Flatkey as the gateway.
Generate images and videos from your terminal. Let your AI assistant drive the workflow.
Connect your coding agent with one command, then use Flatkey from your existing projects.
curl https://router.flatkey.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"minimax-m2","messages":[{"role":"user","content":"Say hello in one sentence."}]}'
Docs

FAQ

minimax-m2 API
pricing, features, and usage FAQs

Answers about minimax-m2 pricing, capabilities, endpoint access and catalog limits.

What is minimax-m2 used for?
minimax-m2 is listed by MiniMax for chat and coding; the catalog lists these modalities: text · file.
How is minimax-m2 priced?
Pricing: Pricing data unavailable. Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.
Which API endpoint calls minimax-m2?
Flatkey routes this model through /v1/chat/completions. Set the model field to minimax-m2 and follow the fields supported by that endpoint.
What context or input limits does minimax-m2 have?
minimax-m2 is listed with 204,800-token. Other limits depend on the route and current account availability, so verify them before production use.