$Cheapa API Docs

Models

Every AI model available through Cheapa API, with API slugs, context sizes, and token pricing.

Model Reference

Use the slug from the table below as the model field in your request. All models are available on every account — no model-specific unlocking or tier requirements.

OpenAI

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
GPT-5.2gpt-5.21M$0.525$4.200
GPT-5.4gpt-5.41M$0.788$5.250
GPT-5.5gpt-5.51M$1.575$10.500

Anthropic Claude

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
Claude Opus 4.8 ✨ NEWclaude-opus-4.81M$2.625$10.500
Claude Opus 4.7claude-opus-4.71M$2.625$10.500
Claude Opus 4.6claude-opus-4.61M$1.575$7.875
Claude Sonnet 4.6claude-sonnet-4.61M$1.050$5.250
Claude Haiku 4.5claude-haiku-4.51M$0.525$2.625

Google Gemini

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
Gemini 3.5 Flashgemini-3.5-flash1M$0.788$4.725
Gemini 3.1 Pro (Preview)gemini-3.1-pro-preview1M$1.050$4.200
Gemini 3.1 Flash Lite (Preview)gemini-3.1-flash-lite-preview1M$0.137$0.788
Gemini 3 Flash (Preview)gemini-3-flash-preview1M$0.210$1.260

Image & Video Generation

These models are billed at a flat $0.21 per successful generation rather than per token. Send a standard chat-completion request — the upstream returns generated media in the response.

ModelAPI SlugTypePer Generation
Veo 3.1veo-3.1Video$0.21
Nano Banana 2nano-banana-2Image$0.21
Nano Banana Pronano-banana-proImage$0.21

Kimi (Moonshot AI)

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
Kimi K2.7 Codekimi-k2.7-code256K$0.665$2.800
Kimi K2.6kimi-k2.6256K$0.620$2.600
Kimi K2.5kimi-k2.5256K$0.210$1.050

DeepSeek

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
DeepSeek V4 Prodeepseek-v4-pro128K$0.2175$0.435
DeepSeek V4 Flashdeepseek-v4-flash128K$0.050$0.100
DeepSeek V3.2deepseek-v3.264K$0.088$0.132

MiniMax

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
MiniMax M3minimax-m31M$0.420$1.680
MiniMax M2.7minimax-m2.71M$0.200$0.850

Alibaba Qwen

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
Qwen 3.6 Plusqwen3.6-plus128K$0.120$0.680
Qwen 3.5 Plusqwen3.5-plus128K$0.140$0.810

Xiaomi MiMo

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
MiMo V2.5 Promimo-v2.5-pro128K$0.3045$0.609
MiMo V2.5mimo-v2.5128K$0.098$0.196

Google Gemma

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
Gemma 4gemma-4128K$0.046$0.130

Z.AI GLM

ModelAPI SlugContext WindowInput / 1M tokensOutput / 1M tokens
GLM 5.1glm-5.1128K$0.550$1.300

Making a Request

Set the model field to the exact slug shown above:

curl https://api.cheapaapi.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v3.2",
    "messages": [{"role": "user", "content": "Review this Python snippet for bugs."}]
  }'

Slugs are case-sensitive. Kimi-K2.6 and kimi-k2.6 are not equivalent — use the lowercase slug exactly as shown.

Fetching the Model List Programmatically

curl https://api.cheapaapi.com/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

Returns a standard ListModelsResponse object containing all model IDs currently available on the platform.

Notes on Pricing

  • Token-priced models charge per one million tokens — input and output independently.
  • Image/video models charge a flat fee per successful generation (no token billing applies).
  • Actual charges scale proportionally — a request using 2,000 tokens costs (2,000 ÷ 1,000,000) × rate.
  • Context window is the combined maximum for prompt and completion tokens in a single call.
  • Model availability is subject to change; check the Models catalog for the current live list.

On this page