Connect CheapLLM to Kimi Code
Moonshot's agent in the terminal. Step-by-step CheapLLM API setup for Kimi Code to run Claude, GPT-6, Gemini, and DeepSeek up to 70% cheaper.
1. Create a CheapLLM API key
Create a CheapLLM account and generate an API key. One key unlocks all 48+ OpenAI, Anthropic, Google, and DeepSeek models at up to 70% off official API rates.
Base URL (OpenAI-compatible)
https://api.cheapllm.com/v12. Install the CLI
Install Kimi Code CLI using uv.
Terminal
uv tool install kimi-cli3. Point it at CheapLLM
Configure our gateway URL and Kimi K3.1 Pro model:
Environment / config
export KIMI_BASE_URL="https://api.cheapllm.com/v1"
export KIMI_API_KEY="sk-clm-8a4f9e2b4d1c7a609c21"
export KIMI_MODEL="moonshotai/kimi-k3.1-pro"4. Run it
Run kimi inside your workspace.
Start session
kimiTop models to run in Kimi Code
All 48+ models →| Model | Official (in / out) | CheapLLM (in / out) | Savings |
|---|---|---|---|
| Claude Opus 5.5 | $2.80 / $14.00 | −30% | |
| GPT-6.1 Sol | $1.40 / $7.00 | −30% | |
| Gemini 4 Argon | $1.40 / $7.00 | −30% | |
| DeepSeek V4 Pro 0813 | $0.078 / $3.11 | −30% |