Claude Code
How to configure Claude Code to use Mimo API Provider.
Claude Code can be configured to use MiMo models via our OpenAI-compatible or Anthropic-compatible API. Follow one of the methods below to get started.
Method 1: Using Anthropic-compatible API
Set the following environment variables before launching Claude Code:
export ANTHROPIC_BASE_URL=https://api.mimo-v2.com/anthropic
export ANTHROPIC_API_KEY=your_mimo_api_keyThen start Claude Code normally. Select a model like mimo-v2-pro.
Method 2: Using OpenAI-compatible API
Set the following environment variables:
export OPENAI_BASE_URL=https://api.mimo-v2.com/v1
export OPENAI_API_KEY=your_mimo_api_keyThen launch Claude Code and select your preferred MiMo model.
Recommended Models for Claude Code
| Model | Best For |
|---|---|
mimo-v2-pro | Complex coding tasks, deep reasoning, and agent workflows |
mimo-v2-flash | Good balance of speed and quality for general coding tasks |
You can obtain your API key from the API Keys page in your Mimo dashboard.
MiMo API Docs