Get started
MiniMax
MiniMax

Minimax M2 7

Minimax M2 7 is a large language model by MiniMax. Priced at $0.3 per million input tokens and $1.2 per million output tokens, it is one of the most cost-efficient options in its class. Access Minimax M2 7 through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Step 1 — Create Router

curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compare-frontier-models", "defaultRoute": { "route_id": "default", "variants": [ { "variant": { "variant_id": "fireworks/minimax-m2-7-a", "model_id": "fireworks/minimax-m2-7" }, "weight": 33 }, { "variant": { "variant_id": "deepinfra/minimax-m2-5-b", "model_id": "deepinfra/minimax-m2-5" }, "weight": 33 }, { "variant": { "variant_id": "fireworks/minimax-m2-7-c", "model_id": "fireworks/minimax-m2-7" }, "weight": 34 } ] } }'

Step 2 — Chat Completion

curl --location 'https://api.inworld.ai/v1/chat/completions' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "model": "inworld/compare-frontier-models", "messages": [{"role": "user", "content": "Hello!"}] }'

Minimax M2 7 pricing and providers

Access Minimax M2 7 through Fireworks via Inworld Router or Realtime API. By using the AI provider(s) below you acknowledge you reviewed and agree to their terms listed in the Legal section under the AI provider's name.
CapabilitiesInput modalitiesOutput modalities
FireworksFireworks$0.30$1.20

Other MiniMax models available through Inworld

Compare Minimax M2 7 with other MiniMax models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
MiniMaxMinimax M2 5$0.27$0.95

Start building with Minimax M2 7

Access Minimax M2 7 and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI