MiMo-V2.5-Pro
MiMo-V2.5-Pro is Xiaomi's MIT-licensed 1.02T-total, 42B-active open-weight MoE flagship model featuring interleaved sliding-global attention, 3-layer Multi-Token Prediction, and a 1M-token context window for agentic software engineering.
What you can do
- Million-token codebase comprehension
- Complex refactoring and automated testing
- Long-horizon autonomous coding agents
Input & output
- Input
- Large multi-repository codebases, architecture specs, agent logs, and text contexts up to 1M tokens
- Output
- Long-horizon reasoning traces, cross-module code refactorings, test suites, and agent tool calls
Try a prompt like this
Analyze this 400K-token monorepo dependency graph and RPC protocol layer, migrate deprecated synchronous handlers to streaming gRPC, and generate integration tests.
Things to know
1.02T total parameter footprint requires multi-node 8×80GB/141GB GPU clusters (~1TB+ VRAM even in FP8); MIT-licensed text-only model—pair with a VLM if image input is needed.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
XiaomiMiMo/MiMo-V2.5-Pro
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="XiaomiMiMo/MiMo-V2.5-Pro",
messages=[{"role": "user", "content": "Analyze this 400K-token monorepo dependency graph and RPC protocol layer, migrate deprecated synchronous handlers to streaming gRPC, and generate integration tests."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide