cheapapi

Home / Docs

Quickstart

cheapapi (a cheapapi product) is a drop-in base URL. Point an OpenAI, Anthropic or Gemini client at it and use one key.

OpenAI /v1 Anthropic, no /v1 Key prefix sk-tm-
  1. Create an account. The dashboard is ready as soon as you sign up.
  2. Open API keys, click Create, and copy the key. Keep it on the server. Rotate it if it leaks.
  3. Set the base URL for your client. OpenAI-format tools need /v1. Anthropic and Gemini clients must not have it.
  4. Send a test request. Then add credit in Wallet when you are ready to run real traffic.

First request

curl /v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "messages": [{"role": "user", "content": "Reply with pong"}]
  }'
Try the same model in the Playground before you wire it into an agent. Do not put a live key in client-side JavaScript or a public repo.

Base URLs

ClientBase URL
OpenAI SDK, Cursor, Cline, Codex, n8n
Anthropic SDK, Claude Code
Gemini CLI and @google/genai

Next