Language
37 models · OpenAI SDK compatible

One API key for every AI model

Claude, GPT, Gemini, DeepSeek and more — through a single endpoint. Up to 40% below list price, pay for exactly the tokens you use, no subscription, no commitment.
Trial credit on signup · no card required
37models available
7providers
-40%below list price
1API key needed

Change one line, ship today

No custom SDK, no unusual formats. Keep your existing OpenAI code and just point base_url at apikey.sh.
from openai import OpenAI

client = OpenAI(
    api_key="sk-ak-...",                  # your key from apikey.sh
    base_url="https://apikey.sh/v1",      # change only this line
)

resp = client.chat.completions.create(
    model="claude-sonnet-5",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Why apikey.sh

Cheaper than buying directEvery model sits below the provider's list price — save up to 40%. The cheapest starts at $0.018 per 1M tokens.
No top-up feeAdd $10, get exactly $10 in credit. No hidden 5.5% cut at the payment step, and credits never expire.
Per-key model limitsLock each key to specific models with its own spending cap — safe to share across projects or teammates.
Automatic prompt cachingRepeated tokens are billed at the cache rate, 90% cheaper. Long-running agents save real money with no code changes.
Transparent analyticsSee cost, tokens and latency per model, per key, per request. No mystery invoice at the end of the month.
Pay for what you usePrepaid credit, no subscription, no minimum commitment. Stop any time and your credit stays put.

Start in two minutes

Sign up, create a key, call the API. No card needed to try.