Files
anyllm-proxy/docs/providers/xiaomi_mimo.md
whit3rabbitandClaude Sonnet 4.6 545bdbbbd3 feat: add bedrock native passthrough, generic passthrough, provider docs, and managed backend fixes
Adds bedrock_native.rs (Converse/InvokeModel with SigV4) and
generic_passthrough.rs catch-all for Translate mode. Adds comprehensive
provider reference docs (docs/providers/, docs/ENDPOINTS.md). Fixes
managed backend admin UI (BackendForm, ManagedBackendsSection) and
admin route/model handler issues. Adds automated model pricing update
workflow (scripts/update_pricing.py, .github/workflows/update-pricing.yml).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 16:36:16 -05:00

1.8 KiB

Xiaomi MiMo

Xiaomi's reasoning-focused language model with tool use support.

LiteLLM prefix: xiaomi_mimo/
Status: Stub — routes through OpenAI-compatible client
Docs: https://api.mimo.chat

Authentication

Variable Required Description
XIAOMI_MIMO_API_KEY Yes API key from api.mimo.chat

Quick Start

Single-Backend (env vars)

BACKEND=xiaomi_mimo XIAOMI_MIMO_API_KEY=your-key cargo run -p anyllm_proxy
# Docker:
docker run -e BACKEND=xiaomi_mimo -e XIAOMI_MIMO_API_KEY=your-key -e PROXY_OPEN_RELAY=true -p 3000:3000 followthewhit3rabbit/anyllm-proxy

LiteLLM YAML Config

model_list:
  - model_name: mimo-7b
    litellm_params:
      model: xiaomi_mimo/MiMo-7B-RL
      api_key: "env:XIAOMI_MIMO_API_KEY"

Usage Examples

Anthropic Messages API

curl http://localhost:3000/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: $PROXY_API_KEYS" \
  -d '{"model": "MiMo-7B-RL", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'

OpenAI Chat Completions API

curl http://localhost:3000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $PROXY_API_KEYS" \
  -d '{"model": "MiMo-7B-RL", "messages": [{"role": "user", "content": "Hello"}]}'

Capabilities

Feature Supported
Chat Completions
Streaming
Tool Use
Embeddings
Vision
Batch

Notable Models

Model ID Notes
MiMo-7B-RL 7B reasoning model trained with reinforcement learning

Notes

MiMo-7B-RL is a reasoning-specialized model from Xiaomi, trained with reinforcement learning for improved multi-step reasoning. Tool use is supported.