How it works
OpenCheap is one API for every major model, OpenAI-compatible for chat. A request goes to the cheapest healthy provider, and you pay our price for it.
The flow
- 1ConnectOpen the console: you can look around and compare models without an account, and sign in when you create a key, add credits or run a prompt. The setup page hands you a key and a prompt for Claude Code, Cursor, Codex and more. Or skip the key: an agent can pay one chat call from its wallet.
- 2CallPoint any SDK at
https://api.opencheap.si/v1. Most model ids have no vendor prefix (claude-sonnet-5,gpt-oss-120b). A provider's own id works as an alias. Decisions models answer at their own endpoint. - 3PayA key draws your balance from the tokens the answer used. A wallet with no key pays the quoted USDC amount for one chat call, before the first byte.
Two ways to pay
A balance is the usual way: one key, one bill, every model. x402 is the other, for chat: no account and no key. The API answers 402 with the price of that completion, the agent pays it in USDC on Base, and the answer comes back in the same request. Decisions need a key.
Fill a balance by card, in crypto, or from an agent's wallet in USDC: see Top-ups. Credits never expire.
Prices can change at any time. The price you see is what the next request costs. When the usual providers for a model cannot answer, a dearer one does, at its own price; see Errors.
Refer and earn
Share your link from Refer & earn in the console: you earn 15 % of what we make on the people you bring in. Withdraw it in USDC on Base from $5, or move it to your credits.