Cheap AI for everyday coding
Autocomplete, refactors, and agentic edits add up. Run your coding tools on the same models for a fraction of the cost with a one-line base-URL swap.
Cheaper by the token
Open-weight models built for coding, on cost-efficient infrastructure at a fixed USD margin — about 4× less than OpenRouter on the same model. Predictable, no monthly fee.
Works with your tools
If your editor, CLI, or agent can use an OpenAI- or Anthropic-compatible API, you can point it here — Cursor, Claude Code, Cline, Aider, and more. You change the base URL and key; each tool's page lists its own steps and limits.
Drop-in: change the base URL
# Use cheaptokens in any coding tool (OpenAI-compatible)
export OPENAI_BASE_URL="https://api.cheaptokens.dev/v1"
export OPENAI_API_KEY="YOUR_CHEAPTOKENS_KEY" What everyday coding costs
Per-million-token rates for your coding tools versus OpenRouter on the same models.
| Model | OpenRouter | cheaptokens | You save |
|---|---|---|---|
| GLM-5.3-Flash temporarily unavailable | $0.048 / $0.20 | $0.027 / $0.08 | ~2× cheaper |
| DeepSeek-V4-Flash temporarily unavailable | $0.016 / $0.64 | $0.0221 / $0.10 | ~4× cheaper |
Same models. USD per 1M tokens (input / output). OpenRouter shown for comparison; savings by blended price (3 parts input to 1 part output). · Open cost calculator
FAQ
Will my coding assistant work?
If it speaks the OpenAI or Anthropic API, yes — change the base URL and key, nothing else.
Same models as the big providers?
The same open-weight models, at a fixed USD per-token rate.
Is the cost predictable?
Yes — published per-model rates, pay-as-you-go from a USD balance.
Related use cases
Code more, pay less
Create an account, top up with crypto, and point your tools at cheaptokens.
Get started