OpenAI- and Anthropic-compatible
One API key for Claude, GPT and Grok.
Change the base URL, keep your SDK. Pay per token at the published rate, from prepaid credit.
Free to start: $10 credit on every model, plus 47 free models at 100 requests and 3,000,000 tokens a day. No card. See the free ids.
- Base URL
- api.oneaiapikey.com
- Models now
- 47
- Sign-up credit
- $10
curl \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-qwen3.8-27b:free",
"stream": true,
"stream_options": {"include_usage": true},
"messages": [{
"role": "user",
"content": "Name the HTTP 429 status."
}]
}' \
https://api.oneaiapikey.com/v1/chat/completionsStreamed answer
- {"choices":[{"delta":{"content":"Too"}}]}
- {"choices":[{"delta":{"content":" Many"}}]}
- {"choices":[{"delta":{"content":" Requests."}}]}
- {"choices":[],"usage":{"prompt_tokens":15,"completion_tokens":4}}
- [DONE]
Billed at the published rate
- input · 15 tok
- $0.00 / 1M
- output · 4 tok
- $0.00 / 1M
cost = tokens × rate ÷ 1,000,000, input and output added.
Qwen3.8 27B, 19 tokens
$0.000000
Today's offers
Free to start. No credit card.
Sign in with Google and use the free offers straight away. We never ask for a card to get going.
- See the ids
47 free models
Every id with a copy button, in Chat and the API. 100 requests a day, shared.
- Claim it
$10 sign-up credit
Used first, on any model, at its discounted rate. Added when you sign up.
Free models share one daily allowance per account. Details on each model page.
Start free in 3 steps
$10 credit + 100 requests / 3,000,000 tokens a day
All 47 ids share 100 requests and 3,000,000 tokens a day per account. Your $10 sign-up credit is used first, at each model's discounted rate; the 47 that bill $0 per token keep working after it is spent. Hit either daily number and the free lane pauses until it resets tomorrow at 05:30 IST (00:00 UTC) - contact support to switch to a paid plan and raise your limit.
Sign in with Google (Gmail)
One click, no card.
Get your API key
Copy it from the console.
Pick any model id from the free list
47 ids, each with a Copy button.
You are ready: use each model in Chat or anywhere through the API with your key.
Live usage
Which models are free right now.
Green means the model has usage left. Red means it hit the shared daily cap and refills at05:30 IST (00:00 UTC). We check every model on the server every few minutes, so you never have to guess which one works.
—
Usage left
—
Cap hit
—
Unavailable
- Checking every model…
Base URL is https://api.oneaiapikey.com/v1 (already set). Testing your own key shows your remaining usage per model; without a key you see the shared status we check for everyone.
All your models red? A capped request is routed to a live backup model automatically — no need to pick one. They refill at 05:30 IST.
Request flow
What happens between your code and the model.
Every call takes the same path: key check, routing, provider, metering. The key rules you set apply before the provider is reached, and the cost of each request is in your log as soon as it finishes.
Your app
Sends an OpenAI- or Anthropic-format request to api.oneaiapikey.com with your key. Only the base URL and key change in your code.
Key check
The key must be active and unexpired, allowed to call the requested model, and inside its spend limit. Your balance must cover the call.
Routing
The model name selects the upstream channel that serves it. You never configure a provider account yourself.
Provider
The request is forwarded to the model provider, and tokens stream back as they are generated.
Metered response
Input, output and cached tokens are counted, priced at the published rate and deducted from your prepaid credit.
Usage log
Each request writes one row: time, key, model, tokens and cost. You see it in the console, per key.
Console
Every request is a row.
Time, key, model, tokens and cost for each call, with spend limits per key.
| Time | Model | Key | Tokens in / outTokens | Cost |
|---|---|---|---|---|
| 14:02:31 | Claude Sonnet 5.5 | production | 18,420 in / 1,206 out | $0.0342 |
| 14:02:07 | GPT-6.1 Sol | ci-review | 22,904 in / 2,031 out | $0.0231 |
| 14:01:44 | DeepSeek V4 Flash | production | 6,310 in / 412 out | $0.0003 |
| 13:58:12 | Grok 4.7 | batch | 3,120 in / 880 out | $0.0081 |
Spend in this sample · sample data
$0.0657
- Claude Sonnet 5.552%
- GPT-6.1 Sol35%
- DeepSeek V4 Flash<1%
- Grok 4.712%
Limits set on each key
- Spend
- a cap per key
- Models
- only the ones you allow
- Expiry
- a date, then the key stops
Works with
Your tools, one base URL.
Anything that accepts a custom OpenAI or Anthropic base URL works. These have a tested setup guide.
from openai import OpenAI
client = OpenAI(
base_url="https://api.oneaiapikey.com/v1",
api_key="YOUR_API_KEY",
)
client.chat.completions.create(
model="qwen-qwen3.8-27b:free",
messages=[{"role": "user", "content": "Hello"}],
)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.oneaiapikey.com/v1",
apiKey: "YOUR_API_KEY",
});
await client.chat.completions.create({
model: "qwen-qwen3.8-27b:free",
messages: [{ role: "user", content: "Hello" }],
});curl https://api.oneaiapikey.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-qwen3.8-27b:free",
"messages": [{ "role": "user", "content": "Hello" }]
}'- Base URL
- https://api.oneaiapikey.com/v1 for the OpenAI format, https://api.oneaiapikey.com for the Anthropic format.
- API key
- Your gateway key, sent as a bearer token (OpenAI format) or as x-api-key (Anthropic format).
- Model
- A model ID from the models page. Nothing else in your code changes.
Create a key, change the base URL, send the request.
Sign-up credit covers your first requests on any model. After that, pay per token from prepaid credits.
The one line you change
https://api.oneaiapikey.com/v1Keep your OpenAI or Anthropic SDK. Set this as the base URL, use your key, pick a model such as qwen-qwen3.8-27b:free.