$Cheapa API Docs

Documentation

Everything you need to build with the Cheapa API API gateway.

Getting Started with Cheapa API

Cheapa API is an AI model gateway that gives your application access to 28 models across 9 provider families — including frontier models from OpenAI (GPT-5.2 through 5.5), Anthropic (Claude Opus 4.6 / 4.7 / 4.8 and Sonnet 4.6), and Google (Gemini 3.x, Gemma 4, plus image/video models like Veo 3.1 and Nano Banana) — alongside Kimi, MiniMax, DeepSeek, Alibaba Qwen, Z.AI GLM, and Xiaomi MiMo. All available through a single, OpenAI-compatible HTTP endpoint. Register once, load your account balance, and call any supported model using the same request format.

Customers typically save over 65% on AI API costs compared to going direct to providers — one API key, all models, a fraction of the cost.

🎁 Free $2 trial credit available on request. Not ready to deposit? Contact us to request trial credit and test any model before you commit.

What's in These Docs

SectionWhat You'll Learn
QuickstartRegister, fund your account, and fire your first request
API OverviewEndpoint URLs, authentication headers, request/response schemas
ModelsFull catalog of all 28 supported models with slugs, capabilities, and pricing
BillingHow prepaid balances work and how deductions are calculated
IntegrationsStep-by-step setup for SDKs, CLI tools, and editors
TroubleshootingDiagnose and resolve the most common API errors

Your First API Call

curl https://api.cheapaapi.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

At a Glance

  • Endpoint: https://api.cheapaapi.com/v1
  • Authentication: Authorization: Bearer <your-key>
  • Protocol: OpenAI Chat Completions format — fully compatible with existing SDKs
  • Payment model: Prepaid balance, deducted per request — no monthly subscriptions
  • Cost: Save over 65% vs going direct to providers

Head to the Quickstart to be up and running in minutes.

Community

Have questions, want to share what you're building, or need a hand? Join the Cheapa API community — the team and other developers are there.

Join us on Telegram →

Join us on Discord →

On this page