Last refreshed 2026-11-10. Next refresh: weekly.
Why use MiniMax M3.1 Flash on Fireworks AI?
Fireworks AI offers MiniMax M3.1 Flash with pay-as-you-go pricing at $0.15/1M input tokens. Fireworks AI offers a generative AI platform as a service, focusing on rapid product iteration and cost-efficient AI deployment.
Compare MiniMax M3.1 Flash across 5 providers to find the best fit for your use caseSetup recipe
Python + curlpip install openaiexport FIREWORKS_API_KEY=...import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],accounts/fireworks/models/minimax-m3p1-flashRequest example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="accounts/fireworks/models/minimax-m3p1-flash",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use provider model ID "accounts/fireworks/models/minimax-m3p1-flash", not the LLMReference slug "minimax-m3-1-flash".
- Fireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
- The examples expect FIREWORKS_API_KEY; rename it only if your application config maps the new variable.
Compare MiniMax M3.1 Flash Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| MiniMax | $0.15 | $0.60 |
| OpenRouter | $0.15 | $0.60 |
| Vercel AI Gateway | $0.15 | $0.60 |
| Fireworks AI | $0.15 | $0.60 |
| Together AI | $0.15 | $0.60 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.15 |
| Output tokens | $0.60 |
Capabilities
About MiniMax M3.1 Flash
MiniMax M3.1 Flash (API ID MiniMax-M3.1-Flash) is MiniMax's M-series language model for agentic reasoning, tool use, coding, computer use, cybersecurity and long-context tasks. It has a 1,000,000-token context window, accepts text, image and video input, and always thinks before answering, with tunable thinking depth (effort: low, medium, high, xhigh, max; default max). Flat pay-as-you-go pricing is $0.15 / $0.60 / $0.015 per 1M input / output / cached-input tokens. It replaces MiniMax M3.1 Flash Preview. Model weights are promised later and are not on Hugging Face as of 2026-10-19.