MiMo V2.6 Pro
体验具备 1M 上下文的小米 MiMo V2.6 Pro。拥有 1.02T 稀疏 MoE 架构与 42B 激活参数。支持跨文本、图像、视频和音频的原生全模态推理,赋能复杂编程与智能体场景。
A codebase you don't know is a risk, not a hurdle. The plan should burn down that risk in order: understand, run, trace, spike, then make the change small enough that "production-ready" is a property you can demonstrate, not a hope.
Here are the first five steps, with the evidence you collect at each.
Step 1 — Get it building and the baseline green (half day)
Read the README, the manifest(s), the CI config, and any architecture docs. Boot the app locally, run the full test suite, run the linter/typechecker.
Evidence: The exact commands that reproduce a clean build and a passing test suite from a fresh checkout (recorded output, not memory of it). A one-page map you wrote yourself: where the entry points are, the layers, the build/test toolchain, and the main risks to your feature (e.g. "this touches cron jobs and payments").
Step 2 — Trace the smallest end-to-end slice that resembles your feature (half day)
Don't start with your feature. Pick a neighboring one that already works and follow it from entry to persistence. Note the conventions along the way: how errors surface, how config is injected, how logging is done, how tests are written.
Evidence: An annotated trace — file → function → what it does — for that slice. A written list of "conventions I must follow" (not intuitions; things you observed in real code). A named shortlist of the 3–5 files you will actually touch. If you can't produce this trace, you're not ready to write code.
Step 3 — Spike the core path (day 2)
Build the ugly version: hardcoded values, no error handling, no tests. The purpose is to confirm the path you traced in step 2 is real and to surface what you didn't know you didn't know.
Evidence: A working spike demonstrating the feature's central data path, alongside a list of every assumption the spike broke and what you corrected. That correction list is the most valuable document in this whole plan.
Step 4 — Write the contract before the code (half of day 2 / day 3)
Once the spike proves the path, pin down what production needs: the inputs/outputs, the error cases, where it sits in the conventions from step 2. Then write the tests — they'll be red, but they're the specification.
Evidence: A one-to-two-page design doc, an agreed interface/API shape (with the team if there is one), and a red test suite that encodes intended behavior. If you can't write the contract without consulting the code, you haven't finished step 2.
Step 5 — Implement in small, verified increments (days 3–4)
Replace the spike with the real thing in small commits, each one keeping the suite green, leaning on the existing patterns. Run lint/tests/typecheck per commit — CI, not just locally — and exercise the actual path against a real instance (staging or a local environment that isn't stubbed).
Evidence: A branch with progressive commits, each green in CI; coverage on the new code; something that proves it works against reality (a test result, a log trace, a screenshot); and a review by at least one person who knows the codebase. The review counts as evidence — an unfamiliar codebase has tribal knowledge you cannot extract from the files alone.
Steps 6+ would be the things that actually make it "shipped": a migration plan and its rollback, feature flagging, observability, the release and post-release verification. But the first five get you to a reviewed, green, working slice in staging — which is the point at which you can say "this will work in production" with evidence behind it, instead of a guess.
在本页直接运行,需要登录并有积分。
模型详情
在 Playground、API 请求和内部工作流中使用相同的模型 key。
- 模型 ID
- mimo-v2.6-pro
- 供应商
- Xiaomi
- 协议
- OpenAI Chat Completions
- 上下文窗口
- 1,048,576 Token
- 最大输出
- 131,072 Token
- 输入 Token
- 43.5 credits / 1M Token
- 输出 Token
- 87 credits / 1M Token
- 缓存读取
- -
- 缓存写入
- -
小米 1.02T 旗舰多模态 MoE 架构
MiMo-V2.6-Pro 是小米在 MIT 许可下发布的顶级开源权重多模态模型,结合了 1.02 万亿参数的稀疏 MoE 与庞大的 1,048,576 Token 上下文窗口。
在总计 1.02 万亿参数中,每个 token 动态激活 420 亿参数,Pro 在保持高效推理经济性的同时,实现了顶尖水平的推理性能。
在单次请求中即可直接处理完整的软件代码仓库、数小时的音频录音、数百篇研究文档或深度的多轮 Agent 轨迹,无需对上下文进行分块。
统一的多模态架构原生处理文本、高分辨率图像、长视频帧和语音音频,并转化为高精度、逻辑严密的文本内容。
单次不间断生成即可产出完整的端到端应用程序、详尽的架构设计规范以及复杂的多文件重构方案。
专为复杂软件工程与自主智能体打造
针对多步推理轨迹、跨文件代码库以及工具增强的自主执行进行了深度优化。
代码库级代码智能
分析复杂目录树中的依赖关系,定位难以排查的并发和内存漏洞,并生成包含回归单元测试套件的已验证补丁。
持久多步 Agent 规划
在长周期的多步工具调用循环中保持连贯的操作状态,将模糊指令拆解为确定性、可验证的执行序列。
原生自适应推理引擎
内置的深度思考模式在综合输出答案前会探索多条推导路径并验证中间假设,从而最大程度减少在复杂边缘情况下的幻觉。
确定性工具调用与 Schema 依从性
在 Chat Completions 请求中支持 OpenAI 风格的函数调用(Function Calling)和 JSON Schema 输出。
选型策略:何时选择 Pro 与 Flash
管理 API 密钥 →两款 V2.6 模型均具备相同的 1M 上下文窗口和多模态摄入能力。请根据任务画像匹配相应的算力层级。
适用于系统架构设计、复杂代码库重构、关键任务型自主智能体以及精度优先于速度的高要求分析任务。
适用于高吞吐量处理、子智能体并行扇出、实时交互助手、自动化测试生成以及成本仅约 1/3 的持续后台索引。
通过将 model 参数切换为 mimo-v2.6-pro 或 mimo-v2.6-flash,即可在 Pro 和 Flash 之间无缝切换,无需修改请求负载、Schema 或工具定义。
严格按实时 Token 费率计费(每 100 万 Token 输入 $0.435 / 输出 $0.87),无长上下文阶梯惩罚或隐藏平台附加费。
用 3 步试用 MiMo V2.6 Pro
- 01
将 Base URL 指向 AIReiter
将您的 Base URL 设置为 https://aireiter.com/api/v1 并提供您的 AIReiter API Key。可直接使用官方 OpenAI 库,无需自定义供应商 SDK。
- 02
提交 Chat Completion 请求
POST https://aireiter.com/api/v1/chat/completions Authorization: Bearer $AIREITER_API_KEY Content-Type: application/json { "model": "mimo-v2.6-pro", "messages": [ {"role": "user", "content": "Analyze this architectural migration plan for race conditions."} ], "temperature": 0.2 }
- 03
生产级流式传输与工具调用
启用 stream: true 可实现实时打字机输出,并传入标准 tools 数组以进行自动化函数调用。推理 token 能够平滑流式传输。
常见疑问
01上下文窗口和最大生成长度是多少?
MiMo V2.6 Pro 原生具备 1,048,576 token(1M)上下文窗口,且单次响应生成最高支持 131,072 token(128K)。
02API 支持哪些输入模态?
API 支持在标准 Chat Completions 消息中输入文本、图片 URL/Base64、音频文件及视频片段,并返回丰富的结构化文本。
03MiMo V2.6 Pro 中的思考模式是如何工作的?
思考模式默认启用,以确保严谨的逐步推理。对于延迟敏感型任务,可通过在请求载荷中指定 thinking 参数来进行调整或禁用。
04官方 API 模型标识符是什么?
在 Chat Completions 请求的 model 字段中传入 mimo-v2.6-pro。
05AIReiter 如何进行 Token 结算?
费用根据实际 Prompt 和 Completion 长度精确按 Token 计费,无长上下文阶梯倍率或空闲闲置费用。