Skip to navigation

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
POST /v1/chat/completions
200
request
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/completions

Streamed answer

  1. {"choices":[{"delta":{"content":"Too"}}]}
  2. {"choices":[{"delta":{"content":" Many"}}]}
  3. {"choices":[{"delta":{"content":" Requests."}}]}
  4. {"choices":[],"usage":{"prompt_tokens":15,"completion_tokens":4}}
  5. [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

qwen-qwen3.8-27b:free19 tok · $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.

  • 47 free models

    Every id with a copy button, in Chat and the API. 100 requests a day, shared.

    See the ids
  • $10 sign-up credit

    Used first, on any model, at its discounted rate. Added when you sign up.

    Claim it

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.

  1. Sign in with Google (Gmail)

    One click, no card.

  2. Get your API key

    Copy it from the console.

  3. Pick any model id from the free list

    47 ids, each with a Copy button.

Get your API keySee the 47 free model ids

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).

models / liveLoading…

—

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.

  1. 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.

  2. 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.

  3. Routing

    The model name selects the upstream channel that serves it. You never configure a provider account yourself.

  4. Provider

    The request is forwarded to the model provider, and tokens stream back as they are generated.

  5. Metered response

    Input, output and cached tokens are counted, priced at the published rate and deducted from your prepaid credit.

  6. 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.

sample dataconsole / usage
Sample usage log: four requests with model, key, tokens and cost
TimeModelKeyTokens in / outTokensCost
14:02:31Claude Sonnet 5.5production18,420 in / 1,206 out$0.0342
14:02:07GPT-6.1 Solci-review22,904 in / 2,031 out$0.0231
14:01:44DeepSeek V4 Flashproduction6,310 in / 412 out$0.0003
13:58:12Grok 4.7batch3,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.

Tools with a setup guide, their kind and protocol
ToolKindProtocol
Claude CodeCLIAnthropic
Codex CLICLIOpenAI
CursorIDEOpenAI
ClineExtensionOpenAI
Kilo CodeExtensionOpenAI
OpenCodeCLIOpenAI
AiderCLIOpenAI
ZedIDEOpenAI
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/v1

Keep your OpenAI or Anthropic SDK. Set this as the base URL, use your key, pick a model such as qwen-qwen3.8-27b:free.

New accounts$10 credit on sign-up
  • 100requests
    per day
  • 3Mtokens
    per day
  • 47free
    models
  • $0per
    token
  • No card
  • No end date
Claim $10 credit →
RecommendedQwen3.8-27B UncensoredKimi K3.1 ProGPT-6 LunaGLM 5.3Grok 4.7 FastNemotron 3 Ultra 550BRoleplay ChatStepAudio 3 Chat PreviewQwen3.8 27BMiniMax M3.1 FlashDeepSeek V4.1 FlashDeepSeek V4.1 Flash UncensoredGLM 5.3 Flash UncensoredGLM 5.3 UncensoredK2 Horizon 375B UncensoredNemotron 3 Ultra 550B UncensoredDeepSeek V4 Flash 0731Hy4 FlashNVIDIA DeepSeek V4.1 FlashGLM 5.3 FlashLaguna XS 2.1 Uncensored

No card needed. Every id ends in :free. Free limits: 100 requests and 3,000,000 tokens a day per account. Each account can create up to 3 API keys, and each key runs 1 request at a time on free models. This only stops abuse. Copy an id into the model field of an OpenAI-format request to https://api.oneaiapikey.com/v1.Get your free API keyFree models page

    Some free models at daily cap · refill 05:30 IST · requests auto-reroute. Status →

    FREE