Guides

# Answers, with code

What developers ask before they pick an LLM API, answered with live prices and code you can copy.

- [Cheapest LLM API (Live Prices, Updated Daily)](https://opencheap.si/guides/cheapest-llm-api): Live prices per 1M tokens for popular models, routed to the cheapest healthy provider. One OpenAI-compatible key. Pay as you go; no monthly fee.
- [A cheaper DeepSeek API, with official prices side by side](https://opencheap.si/guides/cheapest-deepseek-api): Official DeepSeek API prices next to live OpenCheap rates for V4.1 Flash, V4 Pro and other DeepSeek models. One OpenAI-compatible key. Prices move; the tables are dated.
- [An LLM router that sends each request to the cheapest provider](https://opencheap.si/guides/cheapest-llm-router): OpenCheap routes each request to the cheapest healthy provider of your model, fails over before the first byte, and bills that provider's price.
- [One API key for all AI models](https://opencheap.si/guides/openai-compatible-api): One OpenCheap key calls Anthropic, Google, OpenAI, DeepSeek, Moonshot, Qwen and more through the OpenAI SDK: change the base URL and the key.
- [Pay for LLM API calls with USDC, without an account or an API key](https://opencheap.si/guides/pay-for-llm-api-with-usdc): 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.
- [Set a daily spend limit on each API key your agents use](https://opencheap.si/guides/llm-api-spend-limits): Give each OpenCheap key a daily, weekly, monthly or lifetime spend limit, so an agent left running overnight can't spend more than you allow.
- [Connect Cursor, LiteLLM or the OpenAI SDK with the base URL](https://opencheap.si/guides/cursor-litellm-openai-sdk): Connect Cursor, LiteLLM and the OpenAI SDK to OpenCheap with a base URL, a key and a model id. Steps, env variables, code and common errors.
- [OpenCheap vs OpenRouter for cheapest pricing and failover](https://opencheap.si/guides/opencheap-vs-openrouter): OpenCheap routes to the cheapest provider by default; OpenRouter balances price, speed and uptime. Compare live prices, failover and fees.
- [A cheap Claude API, with official prices side by side](https://opencheap.si/guides/cheapest-claude-api): Anthropic's list prices next to live OpenCheap rates for Claude. One OpenAI-compatible key. Prices move; both tables are dated.
- [GPT API pricing, and the cheapest way to call it](https://opencheap.si/guides/cheapest-gpt-api): GPT API pricing per 1M tokens: OpenAI's list rates for GPT-6, GPT-5 and GPT-4 models next to live OpenCheap prices, on one OpenAI-compatible key.
- [The cheapest way to use Gemini through an API](https://opencheap.si/guides/cheapest-gemini-api): Gemini chat models on OpenCheap, with today's price per million input and output tokens from the same book as the pricing page.
- [The cheapest Qwen API, with official prices side by side](https://opencheap.si/guides/cheapest-qwen-api): Qwen API pricing per 1M tokens: Alibaba Cloud's list rates next to live OpenCheap prices for Qwen4 Max, Qwen3 Coder and more. One OpenAI-compatible key.
- [The cheapest Llama API, priced live](https://opencheap.si/guides/cheapest-llama-api): Llama API pricing per 1M tokens for Llama 4 Maverick, Scout, 3.3 70B and 3.1 8B, at the cheapest healthy provider. One OpenAI-compatible key.
- [The cheapest Kimi API, with official prices side by side](https://opencheap.si/guides/cheapest-kimi-api): Kimi API pricing per 1M tokens: Moonshot's list rates next to live OpenCheap prices for Kimi K3.1 Pro, K3 and K2.6. One OpenAI-compatible key.
- [Run Claude Code for less](https://opencheap.si/guides/claude-code-cheaper): Point Claude Code at OpenCheap and pick a model per task: Claude at the provider's price, or open models for a fraction, on one key with a spend limit.

---

Source: https://opencheap.si/guides · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
