MiniMax M3.1 Flash API

Call MiniMax M3.1 Flash through Wokey and review published catalog pricing, upstream-native API forms, context, and model capabilities.

Model ID
MiniMax-M3.1-Flash
Vendors
minimax, opencode
Supply status
Currently callable

Catalog pricing snapshot

Prices are per 1M tokens; request-time pricing controls settlement.

MeterWokeyOfficial referenceSavings
Input$0.075$0.1550%
Output$0.3$0.650%
Cache read$0.0075$0.01550%
Cache write———

Official price source: https://platform.minimax.io/docs/pricing/overview

Model capabilities

Context
1,000,000 tokens
Max output
524,288 tokens
Streaming
Supported
Tools
Supported
Vision
Supported
Supported API forms
/v1/chat/completions · /v1/responses

Send a request

/v1/chat/completions

curl https://api.wokey.ai/v1/chat/completions \
  -H "Authorization: Bearer $WOKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MiniMax-M3.1-Flash","messages":[{"role":"user","content":"Hello"}]}'

/v1/responses

curl https://api.wokey.ai/v1/responses \
  -H "Authorization: Bearer $WOKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"MiniMax-M3.1-Flash","input":"Hello"}'

Use MiniMax M3.1 Flash in your tools

The gateway is https://api.wokey.ai (OpenAI-compatible clients usually take https://api.wokey.ai/v1), and the model ID is MiniMax-M3.1-Flash. Open the guide for the client you use.

Frequently asked questions

How much does the MiniMax M3.1 Flash API cost, and how much does it save versus the official API?

Wokey lists input at $0.075 per 1M tokens and output at $0.3 per 1M tokens; the official references are $0.15 and $0.6. That is 50% lower for input and 50% lower for output. Request-time pricing controls settlement, and the vendor pricing source is linked on this page.

What is the MiniMax M3.1 Flash API model ID?

The model ID for MiniMax M3.1 Flash on Wokey is MiniMax-M3.1-Flash. Use it exactly as written in the request body's model field or in your client's model setting (for example ANTHROPIC_MODEL in Claude Code, or model in the Codex CLI config.toml); GET https://api.wokey.ai/v1/models also lists it.

Which API forms does MiniMax M3.1 Flash support, and how do I call it through Wokey?

MiniMax M3.1 Flash supports /v1/chat/completions (Chat Completions requests) and /v1/responses (Responses requests). Set the API base URL to https://api.wokey.ai, authenticate with a Wokey API key, and use the canonical model ID MiniMax-M3.1-Flash; you can start with /v1/chat/completions. The Send a request section includes a curl example for every supported API form.

How do I use MiniMax M3.1 Flash in Codex CLI?

Codex CLI calls MiniMax M3.1 Flash over the Responses protocol. Add a model_provider to ~/.codex/config.toml with base_url = "https://api.wokey.ai", wire_api = "responses", and env_key = "OPENAI_API_KEY"; set model to MiniMax-M3.1-Flash and put your Wokey API key in OPENAI_API_KEY. The Codex CLI guide has the full config.

What are the context window and maximum output for MiniMax M3.1 Flash?

The catalog context window is 1,000,000 tokens and the maximum output is 524,288 tokens. These are separate limits, and a request must also satisfy the upstream constraints in effect when it is processed.

How are cache reads and cache writes priced for MiniMax M3.1 Flash?

Cache read: Wokey lists $0.0075 per 1M tokens and the official reference is $0.015 per 1M tokens. Cache write: the vendor does not publish a separate meter, so Wokey also shows — as the public price.

How does calling MiniMax M3.1 Flash through Wokey differ from OpenRouter?

Wokey lists MiniMax M3.1 Flash at $0.075 input / $0.3 output per 1M tokens, against an official reference of $0.15 / $0.6. OpenRouter states it adds no markup on inference and charges its fee when you buy credits (5.5% by card). Wokey carries a curated set of models and has no per-provider routing parameters, so OpenRouter fits better if you need a wider catalog. The OpenRouter alternative page has the full comparison.

How do MiniMax M3.1 Flash and MiniMax M3 differ in price and context?

In the published price comparison, MiniMax M3.1 Flash lists input/output at $0.075 / $0.3 with a 1,000,000-token context window; MiniMax M3 lists $0.09 / $0.36 with a 1,000,000-token context window. This is a factual price-and-capacity comparison, not a quality ranking; also compare their supported API forms and capabilities.

Related models and documentation

Get API key · MiniMax-M3.1-Flash