Skip to content
CheapLLM

Connect CheapLLM to gptel

AI in Emacs. Step-by-step CheapLLM API setup for gptel to run Claude, GPT-6, Gemini, and DeepSeek up to 70% cheaper.

3 min readUpdated Nov 2026

1. Create a CheapLLM API key

Create a CheapLLM account and generate an API key (sk-clm-YOUR_API_KEY). One key unlocks all 49+ OpenAI, Anthropic, Google, and DeepSeek models at up to 70% off official API rates.

Base URL (OpenAI-compatible)
https://api.cheapllm.app/v1

2. Add CheapLLM backend to init.el

Register an OpenAI-compatible backend in your Emacs init file:

~/.emacs.d/init.el
(setq gptel-backend
  (gptel-make-openai "CheapLLM"
    :host "api.cheapllm.app"
    :endpoint "/v1/chat/completions"
    :stream t
    :key "sk-clm-YOUR_API_KEY"
    :models '(claude-opus-5-5 gpt-6.2-sol)))

Top models to run in gptel

All 49+ models →
ModelOfficial (in / out)CheapLLM (in / out)Savings
Claude Opus 5.5$4.00 / $20.00$2.80 / $14.00−30%
GPT-6.1 Sol$2.00 / $10.00$1.40 / $7.00−30%
Gemini 4 Argon$2.00 / $10.00$1.40 / $7.00−30%
DeepSeek V4 Pro 0813$0.11 / $4.44$0.078 / $3.11−30%
← All 55 setup guides