Guides
Answers, with code
What developers ask before they pick an LLM API, answered with live prices and code you can copy.
OpenCheap is an LLM router that sends every request to the cheapest healthy provider of the model you name, fails over to the next one before the first byte, and bills you that provider's price.
One OpenCheap key calls models from Anthropic, Google, OpenAI, DeepSeek, Moonshot, Qwen and more through the OpenAI SDK you already use: change the base URL and the key.
An AI agent can pay OpenCheap for one completion in USDC on Base with x402: call with no key, read the 402 price, sign, and get the answer in the same request.
On OpenCheap every key can carry its own daily, weekly, monthly or lifetime limit that refuses requests once it is reached, so an agent left running overnight cannot spend more than you allow.
Point Claude Code at OpenCheap with three environment variables and pick the model per task: Claude at the provider's price, or open models that cost a fraction of it, all on one key with a spend limit.