Prepaid AI gateway

One API for many models.

OpenAI and Anthropic compatible. Pay per token from a prepaid USD balance, or buy a budget pack once: it never expires and has no 5-hour limit.

Join Discord (opens in a new tab)

Base URL

  • OpenAI SDKhttps://api.cent-ai.dev/v1
  • Anthropic SDKhttps://api.cent-ai.dev

Example request, itemised

Input1,200 tokens$0.00114
Cache read20,000 tokens$0.0019
Cache write3,000 tokens$0.0035625
Output900 tokens$0.004275

Charged$0.0108775

The same amount comes back as usage.cost in the response.

Event

Free models today

  • hy4-flash:freeFree until Nov 30 · no daily limit
Free period ends in
--:--:--
See today's event →

Ready to use in your coding tool

Copy, put in your key, run. Each tool was run against the gateway; the version and date are under the snippet.

Claude Code setup shown

In the terminal

export ANTHROPIC_BASE_URL="https://api.cent-ai.dev"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_MODEL="claude-opus-5"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-5.5"
claude

Tested with Claude Code v2.1.323 on 2026-11-13

Full Claude Code guide

Replace YOUR_API_KEY with a key from your account. The key stays in an environment variable, not in the file.

Setup guides for other tools:CursorClineRoo Code

Prices per 1M tokens

Official price crossed out, Cent AI price below it.

See all prices

43 models shown

  • Hy4 Flash—

    Input$0.00
    Cache read$0.00
    Output$0.00
  • deepseek-v4.1-flash90% less

    InputOfficial price $0.15$0.015
    Cache readOfficial price $0.003$0.0021
    OutputOfficial price $0.60$0.06
  • gpt-6-luna80% less

    InputOfficial price $0.10$0.01978
    Cache readOfficial price $0.01$0.001978
    OutputOfficial price $0.50$0.0989
  • glm-5.3-flash90% less

    InputOfficial price $0.15$0.015
    Cache readOfficial price $0.03$0.003
    OutputOfficial price $0.50$0.05
  • claude-haiku-5.568% less

    InputOfficial price $0.10$0.032
    Cache readOfficial price $0.01$0.0032
    OutputOfficial price $0.50$0.16
  • minimax-m390% less

    InputOfficial price $0.30$0.03
    Cache readOfficial price $0.06$0.0072
    OutputOfficial price $1.20$0.12
  • qwen3.8-flash90% less

    InputOfficial price $0.15$0.015
    Cache readOfficial price $0.016$0.0097
    OutputOfficial price $0.47$0.047
  • deepseek-v4-flash87% less

    InputOfficial price $0.15$0.0195
    Cache readOfficial price $0.003$0.00312
    OutputOfficial price $0.60$0.078

Price version 1, active since Nov 24, 2026. Each request is rounded up to the next nano-dollar.

Budget packs

Pay once and spend the budget on the models in the pack. The budget equals the price and does not expire.

$1.99


Budget $1.99

Worth up to ≈ $20 at official prices

10 models

Allowance per model

Approximate tokens of each model the budget buys.

QRIS · USDT/USDC · pay manually, no automatic renewal

$9.99


Budget $9.99

Worth up to ≈ $161 at official prices

30 models

Allowance per model

Approximate tokens of each model the budget buys.

QRIS · USDT/USDC · pay manually, no automatic renewal

$99


Budget $99

Worth up to ≈ $1,597 at official prices

40 models

Allowance per model

Approximate tokens of each model the budget buys.

QRIS · USDT/USDC · pay manually, no automatic renewal

A request that fails before the model receives it costs $0, on a pack or on your balance. Tokens the model already produced are charged.

Pay as you go

Top up your balance and pay per token on any model in the catalog. The balance does not expire.

How billing works

Pay with

No credit card. Nothing is billed automatically.

  • QRISRupiah, through a hosted QRIS page
  • USDT/USDCStablecoins on Solana

Reliability, measured

Per model, last 24 hours, from the public status page.

Open the status page
Reliability, measured
ModelSuccess 24 hTTFT medianStatus
claude-fable-5——Not enough data
claude-fable-5.1——Not enough data
claude-fable-5.2——Not enough data
claude-haiku-5.563.3%3,513 msDown
claude-opus-4.5——Not enough data
claude-opus-4-699.5%2,181 msOperational
claude-opus-568.9%1,119 msDown
claude-opus-5-567.7%3,864 msDown

Talk to us on Discord

Ask questions, hear about new models first, and share configs that work.

Server in English

Join Discord (opens in a new tab)

Questions

Which SDKs work with Cent AI?

Any OpenAI or Anthropic SDK. Set the base URL to https://api.cent-ai.dev/v1 for OpenAI or https://api.cent-ai.dev for Anthropic, and use a Cent AI key.

How is a request priced?

With four rates per 1M tokens: input, cache read, cache write and output. The cost of each request is rounded up and returned in usage.cost.

Do cached tokens cost less?

Cache reads are billed at the cache read rate when the upstream reports them. A cache hit is never guaranteed; without one, the input is billed at the input rate.

Does my balance expire?

No. The PAYG balance and pack budgets do not expire. Promo credit shows its own expiry date.

Can I generate images or audio?

Images, yes: image models such as Hunyuan Image and MiniMax H3 Image create images through /v1/images/generations, and the Hunyuan Image edit model changes images through /v1/images/edits. Audio, video and embeddings are not available yet.