Use Crush, Droid, Qwen, Gemini CLI, Aider, Goose and more with llmapi.cheap
Run Crush, Droid, Qwen, Gemini CLI, Aider, Goose and more on Gemini 3.8 Flash, Claude Sonnet 4.6, Claude Opus 4.6 or GPT-OSS with a single llmapi.cheap key. Plans start at $2 a month, and there is a free one-hour trial.
Fastest: one command
The setup command finds Crush, Droid, Qwen, Gemini CLI, Aider, Goose and more on your machine, writes its configuration with your key and sets Gemini 3.8 Flash (high) as the default model. It needs no Node.js. Sign up first: your key is created automatically, and the dashboard shows this command with the key already filled in.
macOS / Linux
curl -fsSL https://llmapi.cheap/install.sh | shWindows (PowerShell)
irm https://llmapi.cheap/install.ps1 | iexManual setup
Crush (~/.config/crush/crushrc):
provider add llmapi --type openai-compat --base-url "https://llmapi.cheap/v1" --api-key "YOUR_API_KEY"
model add llmapi/gemini-3.8-flash-high --name "Gemini 3.8 Flash (high)" --context-window 1048576
model large llmapi/gemini-3.8-flash-highFactory Droid (~/.factory/settings.json):
{ "customModels": [{ "model": "gemini-3.8-flash-high", "displayName": "llmapi Gemini 3.8 Flash (high)", "baseUrl": "https://llmapi.cheap", "apiKey": "YOUR_API_KEY", "provider": "anthropic", "maxOutputTokens": 32000 }] }Qwen Code (environment):
export OPENAI_BASE_URL=https://llmapi.cheap/v1 OPENAI_API_KEY=YOUR_API_KEY OPENAI_MODEL=gemini-3.8-flash-highGemini CLI (~/.gemini/.env):
GEMINI_API_KEY=YOUR_API_KEY
GOOGLE_GEMINI_BASE_URL=https://llmapi.cheap
GEMINI_MODEL=gemini-3.8-flash-highAider:
aider --openai-api-base https://llmapi.cheap/v1 --openai-api-key YOUR_API_KEY --model openai/gemini-3.8-flash-highOpenHands, Warp, Kimi Code, aichat, llm, sgpt, Tabby and SWE-agent: use the OpenAI-compatible option, or set the standard variables:
export OPENAI_BASE_URL=https://llmapi.cheap/v1 OPENAI_API_KEY=YOUR_API_KEYGoose: add a custom provider with engine "openai" and base URL {base}/v1/chat/completions, then set LLMAPI_API_KEY in your environment. The setup command writes this file for you.
goose configureEndpoints
Use the base URL that matches the protocol your tool speaks.
- OpenAI
- https://llmapi.cheap/v1
- Anthropic
- https://llmapi.cheap
- Gemini
- https://llmapi.cheap/v1beta
- Models
- https://llmapi.cheap/v1/models
Model IDs
Any of these work wherever Crush, Droid, Qwen, Gemini CLI, Aider, Goose and more asks for a model name. Gemini 3.8 Flash (high) is the default the setup command picks.
| Model ID | Model |
|---|---|
gemini-3.8-flash-high | Gemini 3.8 Flash, high reasoning (default) |
gemini-3.8-flash | Gemini 3.8 Flash, medium reasoning |
gemini-3.8-flash-low | Gemini 3.8 Flash, low reasoning |
gemini-3.1-pro-high | Gemini 3.1 Pro, high reasoning |
gemini-3.1-pro-low | Gemini 3.1 Pro, low reasoning |
gemini-3-flash | Gemini 3 Flash |
claude-sonnet-4-6 | Claude Sonnet 4.6 |
claude-opus-4-6 | Claude Opus 4.6 |
gpt-oss-120b | GPT-OSS 120B |
Troubleshooting
- 401 / invalid key: check the key starts with
sk-llm-and has no extra spaces. Create a new one under Dashboard → API keys if needed. - Model not allowed: the free trial covers the Gemini models; Claude and GPT-OSS come with any paid plan.
- 404 on requests: OpenAI-style tools need
https://llmapi.cheap/v1; Anthropic-style tools needhttps://llmapi.cheapwithout/v1.