I want API access
Pay per token. Maximum value.
Top up from the payment gateway, create one key, and call a listed model — charges stop when you stop calling.
—total requests
—tokens routed
Loading…
AIKeys
Call frontier models through one OpenAI- and Anthropic-compatible API. You pay per token. There is no monthly plan.
I want API access
Top up from the payment gateway, create one key, and call a listed model — charges stop when you stop calling.
—total requests
—tokens routed
Loading…
I have capacity
Connect Antigravity, Claude Code, or OpenAI Codex and get credited for the capacity you serve.
—ready to spend
—credited to publishers
Loading…
Today (UTC)
—requests
—input tokens
— cached
—output tokens
Upstreams
Connect one, set an ask, and wait for traffic.
Curated upstream.
17 models with offers from $0.04/1M input tokens
Anthropic-compatible.
10 models with offers from $0.20/1M input tokens
OpenAI-compatible.
7 models with offers from $0.01/1M input tokens
Product
A marketplace sits behind the key.
Send chat completions, messages, or responses. The same key works for each. Or use the helper. Get started.
The proxy chooses the lowest serving ask, then the lowest output ask. It does not place a request above the published cap. Pricing.
A request is placed only on a serving offer. If none qualifies, the proxy returns 503 no_capacity. You are not charged for that.
Each settled request draws from your balance. Stop calling and the charges stop.
Publisher credentials are encrypted at rest and used only while a request is sent. The API does not return the raw credential.
The proxy calls the upstream and retries once. The default key rate limit is 60 requests a minute.
Docs
Run the helper, or point a client at the inference base URL. The written steps are on Docs. Docs.
npx @aikeys-co/helpernpx @aikeys-co/helper
curl https://api.aikeys.co/v1/chat/completions \
-H "Authorization: Bearer $AIKEYS_CO_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cc/claude-haiku-4-5-20251001","messages":[{"role":"user","content":"Hello"}]}'curl https://api.aikeys.co/v1/chat/completions \
-H "Authorization: Bearer $AIKEYS_CO_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cc/claude-haiku-4-5-20251001","messages":[{"role":"user","content":"Hello"}]}'curl https://api.aikeys.co/v1/messages \
-H "x-api-key: $AIKEYS_CO_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"cc/claude-haiku-4-5-20251001","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'curl https://api.aikeys.co/v1/messages \
-H "x-api-key: $AIKEYS_CO_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model":"cc/claude-haiku-4-5-20251001","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'Pricing
Prices are the current lowest ask per million tokens. A model with no live offer is unavailable. You pay the lowest live ask, and that ask is never more than half the official price. A publisher cannot set an ask above that cap.
| Model | Family | Ask in | Ask out |
|---|---|---|---|
| ag/claude-opus-4-6-thinking | Antigravity | $2.00 | $10.00 |
| ag/claude-sonnet-4-6 | Antigravity | $1.20 | $6.00 |
| ag/gpt-oss-120b-medium | Antigravity | $0.06 | $0.24 |
| ag/gemini-2.5-pro | Antigravity | $0.50 | $4.00 |
| ag/gemini-3-flash | Antigravity | $0.12 | $1.00 |
| ag/gemini-3.1-flash-image | Antigravity | $0.12 | $12.00 |
| ag/gemini-3.1-flash-lite | Antigravity | $0.04 | $0.16 |
| ag/gemini-2.5-flash | Antigravity | $0.12 | $1.00 |
Showing 8 of 144. Open pricing
Estimate
Pick a listed model and drag the token volume. The figure on top is what you pay against the official price.
Save $600.0060% less
| Item | Quantity | Cost |
|---|---|---|
| Input | 100M × $2.00/M | $200.00 |
| Output | 20M × $10.00/M | $200.00 |
An estimate from the current lowest asks. Asks can change between requests.
Accounts
Call models, or list capacity.
Top up from the payment gateway, create one key, and use the samples on Get started. Get started.
Upstreams. Connect a curated upstream and set an ask at the published cap.
You are credited for each request you serve. The split is in the fee section. Platform.
Publishers
You are credited for each request you serve. Payouts are not available in this version. A transfer to your consumer balance is in the signed-in product. It is not a withdrawal.
Example
Platform
The platform keeps 20% of each settled charge. The publisher is credited 80%.