MiMo V2.6 Flash API
mimo-v2.6-flash
MiMo V2.6 Flash from Xiaomi, served through RouterHub on the OpenAI-compatible Chat Completions API. $0.07 input / $0.14 output per million tokens.
MiMo V2.6 Flash pricing
−50% vs the official API price of $0.14 input / $0.28 output per 1M tokens (Xiaomi pricing).
- Input
- $0.07
- Cached input
- $0.07
- Output
- $0.14
- Typical message
- ≈ 0.014¢
8,000 input + 2,000 output tokens ≈ $0.0008 before caching.
USD per 1 million tokens. A typical message is about 1,000 input and 500 output tokens. Cached input uses the cache-read rate when a cache hit is reported. Billed from your prepaid balance.
API compatibility and context
- Exact model ID
mimo-v2.6-flash- Provider
- Xiaomi
- Variant
- Standard
- Supported API
- OpenAI-compatible Chat Completions API (
/v1/chat/completions) - Availability
- Preview
- Context window
- 1,048,576 tokens
- Maximum input
- Not published
- Maximum output
- Not published
Use MiMo V2.6 Flash through the API
Create a RouterHub account, add prepaid credits and create an API key. Set ROUTERHUB_API_KEY locally, then send a first request with the exact model ID.
curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/chat/completions \
-H "Authorization: Bearer $ROUTERHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"mimo-v2.6-flash","messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}],"max_tokens":256}'Python: install openai with pip. The example requests 256 output tokens and disables automatic retries, so check Usage before resending a paid request.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["ROUTERHUB_API_KEY"],
base_url="https://routerhub.si/v1",
timeout=600.0,
max_retries=0,
)
response = client.chat.completions.create(
model="mimo-v2.6-flash",
messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
max_tokens=256,
)
print(response.choices[0].message.content)Compatible with the tools you already use
One key, one base URL.
Common questions
What is MiMo V2.6 Flash?
MiMo V2.6 Flash is a Xiaomi language model served through RouterHub using the OpenAI-compatible Chat Completions API. Its exact API model ID is mimo-v2.6-flash.
How much does MiMo V2.6 Flash cost?
RouterHub charges $0.07 input, $0.07 cached input and $0.14 output per million tokens. A typical chat message of about 1,000 input and 500 output tokens costs about 0.014¢. Usage is billed against your prepaid balance.
What is the MiMo V2.6 Flash context window?
Context window: 1,048,576 tokens.
Which API does MiMo V2.6 Flash support?
Use the OpenAI-compatible Chat Completions API at https://routerhub.si/v1/chat/completions with the exact model ID mimo-v2.6-flash and your RouterHub API key (Authorization: Bearer header).
Which coding tools work with MiMo V2.6 Flash?
OpenCode, VS Code + Continue, VS Code + Cline, Hermes Agent. Each setup guide lists only compatible model IDs.
Can I try MiMo V2.6 Flash for free?
MiMo V2.6 Flash needs a free RouterHub account with prepaid credits. New accounts get $5 free on their first top-up of $20 or more.