Skip to content

MiMo V2.5 + Codex CLI on Windows

Configure Codex CLI to use Xiaomi MiMo V2.5 through Requesty's Responses endpoint on Windows, with current model IDs, pricing, and troubleshooting.

MGMCSA Guru Team August 10, 2026 3 min read
Codex CLI on Windows configured to use Xiaomi MiMo V2.5

MiMo V2.5 has a 1-million-token context window, but its direct public API uses Chat Completions. Current Codex custom providers use the Responses protocol. Requesty supplies the missing translation, which makes MiMo usable without an unsupported Codex setting.

This is the Windows config and the one gotcha. For Codex’s general provider model, see Codex CLI custom provider setup.

Step 1: Install Codex and create a Requesty key

Install Codex CLI, then create a Requesty API key. On Windows, you can use PowerShell or WSL. The Codex CLI on Windows with WSL guide covers the WSL setup.

Step 2: Add MiMo to config.toml

model = "xiaomi/mimo-v2.5"
model_provider = "requesty"
model_supports_reasoning_summaries = false

[model_providers.requesty]
name = "Requesty"
base_url = "https://router.requesty.ai/v1"
env_key = "REQUESTY_API_KEY"
wire_api = "responses"

Export the key and run:

export REQUESTY_API_KEY="your-requesty-key"
codex

PowerShell uses $env:REQUESTY_API_KEY = "your-requesty-key" before codex.

Step 3: Use the large context carefully

MiMo accepts up to 1 million tokens of context. That capacity is useful for large repositories, although sending more files still increases token usage. In WSL, keep active projects in the Linux filesystem for faster file operations. See access your Windows files from WSL.

Current Requesty model IDs

xiaomi/mimo-v2.5 Standard MiMo V2.5; 1M context
xiaomi/mimo-v2.5-pro Pro variant; check the live catalog before switching

Pricing

Requesty’s catalog listed standard MiMo V2.5 at $0.14 per million input tokens, $0.28 per million output tokens, and $0.0028 per million cached input tokens on August 24, 2026. Provider rates can change, so check the live MiMo V2.5 listing before estimating a long session. See Xiaomi MiMo pricing and free tiers for the direct-provider options.

Troubleshooting

  • Format or streaming errors: confirm wire_api = "responses" and update Codex.
  • Auth errors: confirm REQUESTY_API_KEY is set in the shell that launches Codex.
  • “Model not found”: use the provider-prefixed ID xiaomi/mimo-v2.5.
  • Requesty 400 errors: keep model_supports_reasoning_summaries = false at the top level.
  • Changes ignored, restart Codex; config.toml loads at startup.

MiMo + Codex checklist

  • Codex CLI installed and Requesty key created
  • Requesty provider points to https://router.requesty.ai/v1
  • wire_api is set to responses
  • model is set to xiaomi/mimo-v2.5
  • REQUESTY_API_KEY is exported in the current shell

Verify the result

Run a small edit and inspect the diff. Then check Requesty’s activity log to confirm the request used xiaomi/mimo-v2.5. This verifies the key, model ID, Responses translation, and basic tool use before you load a large repository.

To run MiMo with Claude Code, see run Xiaomi MiMo V2.5 Pro with Claude Code.

Frequently asked questions

Can Codex CLI use Xiaomi MiMo?

Yes. Route MiMo through Requesty's Responses endpoint, then configure Codex with wire_api set to responses and the Requesty model ID xiaomi/mimo-v2.5.

What's MiMo's big advantage in Codex?

Its 1-million-token context window can hold large portions of a repository. Cost still depends on how many tokens you send, so check the live rate before a long session.

Why doesn't a base-URL-only change work?

Current Codex custom providers support the Responses wire API. Xiaomi's direct endpoint is documented for Chat Completions, so a base URL change alone is not enough. Requesty translates the Responses request for MiMo.

How much does MiMo cost?

On August 24, 2026, Requesty listed standard MiMo V2.5 at $0.14 per million input tokens, $0.28 per million output tokens, and $0.0028 per million cached input tokens. Check the live listing because rates can change.

Should I run this in WSL?

On Windows, WSL gives the cleaner environment Codex expects for env vars and shell handling. It's optional but smoother, see the Codex CLI on WSL guide.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.