Cheap AI API pricing, no subscription required

Pay per token, top up once for bonus credit, and estimate a workload before you run it. Looking for the lowest rates? Start with the cheapest AI models.

Top-up bonus credits

Top up once and bonus credit lands in your balance automatically. Credits do not expire while your account is active.

Top upFirst top-upEvery later top-up
$10+$10—
$60+$20+$20
$100+$30+$30
$200++$50+$50
Top up and get bonus credit

$1 minimum · No top-up fee · Unused purchased credit refundable within 7 days

The 10 cheapest AI APIs right now

Ranked by blended price, input and output weighted 3:1, in USD per million tokens. The Models page lists every model.

ProviderModelInput / 1MOutput / 1M
DeepSeekDeepSeek V4 Flash

$0.140$0.084

$0.280$0.168

MiniMaxMiniMax M3.1 Flash

$0.150$0.075

$0.600$0.300

Z.aiGLM-5.3 Flash

$0.150$0.105

$0.500$0.350

DeepSeekDeepSeek V4.1 Flash

$0.170$0.102

$0.630$0.378

QwenQwen3.8 Flash

$0.150$0.135

$0.470$0.423

QwenQwen3.7 Flash

$0.200$0.140

$0.800$0.560

MiniMaxMiniMax M3

$0.300$0.150

$1.20$0.600

QwenQwen3.6 Flash

$0.200$0.140

$1.20$0.840

DeepSeekDeepSeek V4 Pro

$0.435$0.261

$0.870$0.522

QwenQwen3.5 Plus

$0.500$0.350

$3.00$2.10

USD per 1M tokens. Current public rates include public group multipliers; final billing follows your API key group and metered usage.

Estimate your AI API cost

Pick a model and your monthly token volume. The calculator uses live prices and shows the official price next to what you would pay on A2Agent.

Live prices load in your browser. The numbers appear once they arrive.

Frequently Asked Questions

How does billing work?

Per token, from a prepaid balance. Input and output tokens are metered separately at each model’s rate on the Models page, and the rate your key pays depends on the group it belongs to. Discounts are measured against the vendor’s official list price. When the balance reaches zero, requests return 403 until you top up.

Is there a minimum spend?

No. There is no monthly fee and no commitment; you pay for the tokens you use. The smallest top-up is $1, with no top-up fee, and checkout shows the payment methods available to you.

Is there a free AI API key?

Yes. Every new account starts with $5 in free credit, no card required, and it works on any model your key can access. When it runs out you pay as you go, from $1 a top-up. Free credit and top-up bonus credit cannot be refunded.

Is there a top-up bonus?

When a bonus is running, the table on this page lists the tiers. A top-up earns the flat bonus of the highest tier it reaches, added to your balance automatically. Bonus credit cannot be refunded.

Do credits expire?

No. Credits do not expire while your account is active, and no minimum monthly spend is needed to keep them.

Can I use one key for all models?

Yes, for every model in the group the key belongs to; you choose the group when you create the key. Call GET /v1/models with the key to list exactly what it can reach. Protocol and feature support differ by model, so run the quick-setup request on the model’s page before you point a client at it.

Can I set a spending limit on an API key?

Yes. Each key can carry a total quota in USD plus 5-hour, daily and 7-day spending limits. You can also give it an expiry date and an IP allowlist. Usage for every request shows in the dashboard.

Can I get a refund?

Yes, for purchased credit you have not used, within 7 days of the purchase. Free credit and bonus credit cannot be refunded. The Refund Policy has the details.

Ready to build?

Create an account, top up from $1, and get your API key in minutes.

Top up and get bonus credit