Skip to content
Rapid Router
API key

AI API key: one key for every AI model

Get one API key for every AI model, start free, and keep it safe.

What an API key is

An API key is a long secret string your code sends with each request, so the service knows who is calling and whose balance to charge. Anyone who has it can spend your money, so it belongs on your server, not in a website or mobile app.

Two ways to get one

From each provider. OpenAI, Anthropic, Google and the rest each issue their own key from their own dashboard, each with its own account, balance and billing. Four models from four labs means four keys and four bills.

One key for all of them. A Rapid Router key reaches every model in the catalogue. You choose the model per request, and one rupee balance pays for all of it, with a GST invoice on every top-up.

Get a Rapid Router key in two minutes

  1. Sign up with Google, GitHub or email.
  2. Open Keys and create a key. Give it a name and, if you like, a monthly cap.
  3. Call a free model at once, or top up in rupees with UPI to use any model.
  4. Point the OpenAI SDK, or any tool that takes an OpenAI key, at https://rapidrouter.ai/api/v1.
from openai import OpenAI

client = OpenAI(
    base_url="https://rapidrouter.ai/api/v1",
    api_key="YOUR_RAPID_ROUTER_KEY",
)
reply = client.chat.completions.create(
    model="anthropic/claude-opus-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Getting a key for one model family

Looking for a key for one family in particular? These pages cover paying for it from India and calling it with the same key: OpenAI and GPT, Claude, Gemini, DeepSeek and Grok.

Keeping a key safe

  • Store it in an environment variable such as RAPIDROUTER_API_KEY, never in code you commit.
  • Give each app or teammate its own key, so one can be revoked without breaking the rest.
  • Set a monthly cap on every key; a leaked key then cannot spend past it.
  • Revoke and replace a key the moment it might have leaked. The security page says how keys are stored.

Common questions

How do I get an AI API key?
Sign up on Rapid Router, open Keys and create one. It works at once on the free models; top up in rupees to use the paid ones. One key reaches every model.
Is there a free AI API key?
Yes. A new account can create a key and make 50 free requests a day on the free models without adding money.
Can one API key call both GPT and Claude?
Yes. A Rapid Router key reaches Claude, GPT, Gemini and 600+ other models; you pick the model in each request.
Is a Rapid Router key an OpenAI API key?
No, but it works with the OpenAI SDK and most tools that accept an OpenAI key, once the base URL is set to ours.
How do I keep an API key safe?
Keep it on your server, never in website or app code people can download. Give each app its own key with a spending cap, and revoke a key the moment it may have leaked.