LLM Reference

Xiaomi MiMo-V2-Flash on Vercel AI Gateway

MiMo V2 · Xiaomi

Serverless

Last refreshed 2026-05-22. Next refresh: weekly.

Why use Xiaomi MiMo-V2-Flash on Vercel AI Gateway?

Vercel AI Gateway offers Xiaomi MiMo-V2-Flash with pay-as-you-go pricing at $0.10/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Xiaomi MiMo-V2-Flash across 2 providers to find the best fit for your use case
Input / 1M
$0.10
Output / 1M
$0.30
Cache
read $0.010
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
xiaomi/mimo-v2-flash

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="xiaomi/mimo-v2-flash",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "xiaomi/mimo-v2-flash", not the LLMReference slug "xiaomi-mimo-v2-flash".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Xiaomi MiMo-V2-Flash Across Providers

ProviderInput (per 1M)Output (per 1M)
Vercel AI Gateway$0.10$0.30
Novita AI$0.10$0.30

Pricing

TypePrice (per 1M)
Input tokens$0.10
Output tokens$0.30

Capabilities

ReasoningFunction Calling

About Xiaomi MiMo-V2-Flash

MiMo-V2-Flash is Xiaomi's efficient open-source Mixture-of-Experts model, announced December 17, 2025 at Xiaomi's Human-Car-Home Ecosystem Partner Conference. It has 309B total parameters with 15B active, uses hybrid attention that interleaves Sliding Window Attention and Global Attention, and extends native 32K context to 256K. Multi-Token Prediction enables about 2.6x speculative decoding speedup. The model was distributed with weights on Hugging Face and ranked highly on SWE-Bench Verified and multilingual benchmarks at research time.

FAQ

What does Xiaomi MiMo-V2-Flash cost on Vercel AI Gateway?

On Vercel AI Gateway, Xiaomi MiMo-V2-Flash costs $0.1 per 1M input tokens and $0.3 per 1M output tokens.

What is the context window for Xiaomi MiMo-V2-Flash on Vercel AI Gateway?

Xiaomi MiMo-V2-Flash supports a 262,144 token context window on Vercel AI Gateway.

How does Vercel AI Gateway compare to other Xiaomi MiMo-V2-Flash providers?

Xiaomi MiMo-V2-Flash is available from 2 providers. The cheapest input pricing is $0.1/1M tokens from Vercel AI Gateway.

What API model ID do I use for Xiaomi MiMo-V2-Flash on Vercel AI Gateway?

Use the model ID xiaomi/mimo-v2-flash when calling Vercel AI Gateway's API.

Who created Xiaomi MiMo-V2-Flash?

Xiaomi MiMo-V2-Flash was created by Xiaomi as part of the MiMo V2 model family.

Is Xiaomi MiMo-V2-Flash open source?

Xiaomi MiMo-V2-Flash is open source under MIT according to the seed data.

Get Started

Model Specs

Released2025-12-17
Parameters309B
Context262K
Architecturemoe
Knowledge cutoff2024-12

Related Models on Vercel AI Gateway