All guides
Setup guide · OpenAI-compatible

More CLIs

Crush, Factory Droid, Qwen Code, Aider, Goose, and any tool that reads the standard OpenAI variables. Connect more CLIs to llmapi.cheap in about 30 seconds with one command, or set them up by hand. One key gives them Kimi K2.6, Mistral Large 4, Nemotron 3 Ultra, DeepSeek V4.1 Flash, GLM 5.3 Flash, MiniMax M3.1 Flash, Nemotron 3.5 Lightning and gpt-oss 20B.

Fastest: one command

Copy the command, paste it into a terminal, and paste your API key when it asks. It finds these tools, points them at llmapi.cheap with Kimi K2.6 as the default model, and backs up every file it changes. Nothing to install first.

macOS / Linux
curl -fsSL https://llmapi.cheap/install.sh | sh
Windows · PowerShell
irm https://llmapi.cheap/install.ps1 | iex

Manual setup

Replace YOUR_API_KEY with your key from Dashboard → API keys. It starts with sk-llm-.

Crush

Add the provider and models:

~/.config/crush/crushrc
provider add llmapi --type openai-compat --base-url "https://llmapi.cheap/v1" --api-key "YOUR_API_KEY"
model add llmapi/kimi-k2.6 --name "Kimi K2.6"
model large llmapi/kimi-k2.6

Factory Droid

Add a custom model:

~/.factory/settings.json
{
  "customModels": [
    {
      "model": "kimi-k2.6",
      "displayName": "llmapi Kimi K2.6",
      "baseUrl": "https://llmapi.cheap",
      "apiKey": "YOUR_API_KEY",
      "provider": "anthropic",
      "maxOutputTokens": 32000
    }
  ]
}

Qwen Code

Set these environment variables:

Terminal
export OPENAI_BASE_URL=https://llmapi.cheap/v1
export OPENAI_API_KEY=YOUR_API_KEY
export OPENAI_MODEL=kimi-k2.6

Aider

Pass the endpoint on the command line:

Terminal
aider --openai-api-base https://llmapi.cheap/v1 \
  --openai-api-key YOUR_API_KEY \
  --model openai/kimi-k2.6

Goose

Run goose configure and add a custom provider with engine openai and base URL https://llmapi.cheap/v1/chat/completions, then set LLMAPI_API_KEY in your environment. The setup command does this for you.

Terminal
goose configure

Other tools

OpenHands, Warp, Kimi Code, aichat, llm, sgpt, Tabby and SWE-agent: use the OpenAI-compatible option, or set the standard variables:

Terminal
export OPENAI_BASE_URL=https://llmapi.cheap/v1
export OPENAI_API_KEY=YOUR_API_KEY

Endpoints

Use the base URL that matches the protocol your tool speaks. These models work over OpenAI-compatible Chat Completions.

OpenAI
https://llmapi.cheap/v1
Models
https://llmapi.cheap/v1/models

Model IDs

Any of these work wherever more CLIs ask for a model. The setup command picks kimi-k2.6 as the default.

ModelIDCredits per tokenAllowance
Kimi K2.6kimi-k2.6×2Large-model
Mistral Large 4mistral-large-4×2Large-model
Nemotron 3 Ultranemotron-3-ultra×2Large-model
DeepSeek V4.1 Flashdeepseek-v4.1-flash×1Standard
GLM 5.3 Flashglm-5.3-flash×1Standard
MiniMax M3.1 Flashminimax-m3.1-flash×1Standard
Nemotron 3.5 Lightningnemotron-3.5-lightning×1Standard
gpt-oss 20Bgpt-oss-20b×1Standard

Cached input counts at a tenth. The free trial includes the Standard-credit models; the Large-model credits come with every paid plan.

Troubleshooting

  • 401 / invalid key: check that 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 Standard-credit models; the Large-model credits come with every paid plan.
  • 404 on requests: OpenAI-style tools need https://llmapi.cheap/v1; Anthropic-style tools need https://llmapi.cheap without /v1.