OpenRouter alternative
One API for every model, with simple, clear billing
TokenRex is a unified AI API: one key for GPT, Claude and Gemini models. If you use OpenRouter today, switching is usually a base URL, API key and model ID change.
What you get with TokenRex
One key, many providers
Call OpenAI, Anthropic and Google models through one API key and one base URL.
OpenAI-compatible
Any app or SDK that accepts a custom base URL works by changing two settings.
Clear per-model pricing
Every model page lists input, output, cache read and cache write prices.
Cache billing
When the provider reports cached tokens, you pay the lower cached rate automatically.
Fast versions
Many models have a fast version: about 2x faster responses at 2x the price.
Pay in rupees
Top up in INR with UPI or Indian cards through Razorpay — no international card.
Usage dashboard
See your balance, requests and spend for every API key.
Works with your tools
Step-by-step guides for Cursor, Claude Code, Codex CLI, n8n, LangChain and more.
Switch in four steps
- 1
Create an account
Sign up with email or Google. New accounts get free starter credit.
- 2
Create an API key
Open API keys in your dashboard and copy the new key.
- 3
Change the base URL
Replace your current base URL with the TokenRex one below.
- 4
Pick a model ID
Use IDs like gpt-6-sol, claude-sonnet-5 or gemini-4-argon.
Example (Python, OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://tokenrex.ai/api/public",
api_key="YOUR_TOKENREX_KEY",
)
reply = client.chat.completions.create(
model="gpt-6-sol",
messages=[{"role": "user", "content": "Hello"}],
)Base URL: https://tokenrex.ai/api/public
Who TokenRex is for
- Developers who want one key for OpenAI, Anthropic and Google models
- Teams in India who want to pay in rupees with UPI
- Builders who want cache read and write prices shown up front
- Anyone using BYOK apps and coding agents with a custom base URL
Common questions
Do I need to change my code?
Usually not. If your code uses the OpenAI SDK or an OpenAI-style HTTP call, you change the base URL, the API key and the model ID.
Are model IDs the same as on OpenRouter?
Not always. TokenRex uses its own provider/model IDs. Check the Models & Pricing page and copy the exact ID.
How do I know what a request will cost?
Each model page shows its live prices, and the cost calculator estimates a full workload including cache tokens.
Can I pay without an international card?
Yes. You can top up your wallet in rupees with UPI or Indian cards.
Is TokenRex connected to OpenRouter?
No. TokenRex is an independent service by Asirex Labs and is not affiliated with OpenRouter.
OpenRouter and its logo are trademarks of their owner and are shown only for identification. TokenRex is not affiliated with OpenRouter. Model lists and prices differ between services — check each model page for current TokenRex rates.