
Model comparison
Qwen3.8 Flash vs MiniMax M3.1 Flash API price, context and cost.
Qwen3.8 Flash (Alibaba) and MiniMax M3.1 Flash (MiniMax) side by side: per-1M prices, cached-input rates, context, output limits and capability flags from the live RouterPlex catalog, with three worked costs. A coding-agent session costs $0.13 on Qwen3.8 Flash and $0.16 on MiniMax M3.1 Flash. Both run on one prepaid key with the same OpenAI-compatible request.
Side by side
Catalog fields, one row each.
| Catalog field | Qwen3.8 Flash | MiniMax M3.1 Flash |
|---|---|---|
| Provider | Alibaba | MiniMax |
| Model ID | qwen3.8-flash | MiniMax-M3.1-flash |
| Input / 1M | $0.15 | $0.15 |
| Output / 1M | $0.47 | $0.60 |
| Cached input / 1M | $0.016 | $0.028 |
| Context window | 1M (1,000,000 tokens) | 1M (1,000,000 tokens) |
| Max output | 131K tokens | 524K tokens |
| Image input | No | Yes |
| Tool calling | Yes | Yes |
| Reasoning | Yes | Yes |
| Long-prompt tier | None | None |
| Price basis | Vendor list price, 0% markup | Vendor list price, 0% markup |
What the catalog says
Both list $0.15 per 1M input tokens. Qwen3.8 Flash is 22% cheaper on output ($0.47 against $0.60 per 1M tokens). Qwen3.8 Flash is 43% cheaper on cached input ($0.016 against $0.028 per 1M tokens). On the coding-agent session below, Qwen3.8 Flash costs $0.13 against $0.16 for MiniMax M3.1 Flash. Both accept a 1M context window. MiniMax M3.1 Flash can return up to 524K tokens per response, against 131K for Qwen3.8 Flash. Only MiniMax M3.1 Flash lists image input in the catalog; Qwen3.8 Flash does not.
Generated from catalog prices, limits and capability flags. Price does not measure output quality.
Worked cost examples
Same workload, both bills.
Each line multiplies the catalog rate per 1M tokens by the tokens shown. Cached tokens use the route's cached-input rate, or the full input rate when it has no cache discount. Reasoning tokens bill as output, so a model that thinks at length raises the output line beyond these figures.
40 requests of 50K prompt tokens, 80% of each prompt a cache hit, 2.5K output each.
0.4M input x $0.15 + 1.6M cached x $0.016 + 0.1M output x $0.47 = $0.13
0.4M input x $0.15 + 1.6M cached x $0.028 + 0.1M output x $0.60 = $0.16
10,000 conversations of 2K prompt tokens and 500 output tokens, no caching.
20M input x $0.15 + 5M output x $0.47 = $5.35
20M input x $0.15 + 5M output x $0.60 = $6.00
200 requests of 150K prompt tokens and 2K output tokens, no caching.
30M input x $0.15 + 0.4M output x $0.47 = $4.69
30M input x $0.15 + 0.4M output x $0.60 = $4.74
Switching
One key, one line.
Both models sit behind the same RouterPlex key and the same OpenAI-compatible endpoint. Keep the request shape and change the model string. Claude Code and the Anthropic SDK use the same ids on https://api.routerplex.com.
Read the quickstartimport osfrom openai import OpenAIclient = OpenAI(base_url="https://api.routerplex.com/v1",api_key=os.environ["ROUTERPLEX_API_KEY"],)reply = client.chat.completions.create(model="qwen3.8-flash", # switch: "MiniMax-M3.1-flash"messages=[{"role": "user", "content": "Hello!"}],)print(reply.choices[0].message.content)
# Qwen3.8 Flashcurl https://api.routerplex.com/v1/chat/completions \-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "qwen3.8-flash", "messages": [{"role": "user", "content": "Hello!"}]}'# MiniMax M3.1 Flash: same request, one field changedcurl https://api.routerplex.com/v1/chat/completions \-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "MiniMax-M3.1-flash", "messages": [{"role": "user", "content": "Hello!"}]}'
Questions
Before you pick one of the two.
01Is Qwen3.8 Flash cheaper than MiniMax M3.1 Flash?+
Qwen3.8 Flash costs $0.15 input and $0.47 output per 1M tokens on RouterPlex; MiniMax M3.1 Flash costs $0.15 and $0.60. On a coding-agent session (40 requests of 50K prompt tokens, 80% of each prompt a cache hit, 2.5K output each) Qwen3.8 Flash comes to $0.13 and MiniMax M3.1 Flash to $0.16, so Qwen3.8 Flash is cheaper for that workload. A chat app month (10,000 conversations of 2K prompt tokens and 500 output tokens, no caching) costs $5.35 on Qwen3.8 Flash and $6.00 on MiniMax M3.1 Flash.
02Which has the larger context window, Qwen3.8 Flash or MiniMax M3.1 Flash?+
They match: both accept 1M tokens of context on RouterPlex. Maximum output is 131K for Qwen3.8 Flash and 524K for MiniMax M3.1 Flash.
03Do Qwen3.8 Flash and MiniMax M3.1 Flash support image input and tool calling?+
Per the RouterPlex catalog, Qwen3.8 Flash: tool calling, reasoning. MiniMax M3.1 Flash: image input, tool calling, reasoning. These flags come from the labs' published model metadata, not from a quality test.
04How do I switch from Qwen3.8 Flash to MiniMax M3.1 Flash?+
Change one string. Both run on the same RouterPlex key and the same OpenAI-compatible endpoint (https://api.routerplex.com/v1), so the request stays identical and only model changes from "qwen3.8-flash" to "MiniMax-M3.1-flash". The same ids work on the Anthropic-compatible /v1/messages endpoint for Claude Code.
05When is MiniMax M3.1 Flash worth the higher price?+
When the task needs image input or up to 524K output tokens per response, which MiniMax M3.1 Flash offers and Qwen3.8 Flash does not per the catalog. Otherwise the reason to pay more is output you prefer on your own prompts; this page does not rank quality, so run both in the RouterPlex Arena before moving traffic.
Provider pricing
Try both
Both models behind one key.
Top up from $5 with no subscription, then send the same prompt to each.