163+ AI models. One OpenAI-compatible API.Explore

One TokenRex
All Models

TokenRex is an LLM marketplace by Labs, offering unified API access to enabled AI models with usage-based pricing.

https://tokenrex.ai/api/public
Get API key
Read Docs

163+

AI MODELS

One key

UNIFIED ACCESS

Pay as you go

USAGE BILLING

One key for every model.

OpenAI-compatible

Drop in the OpenAI SDK, swap the base URL, ship.

Global wallet

UPI or netbanking via Razorpay. Top up once.

163+ AI models

GPT-6 Astra, Claude Opus 5.5, Claude Fable 5.1 and GPT Live.

Low latency

Tokens, cost, latency, model — every request.

One API for any AI app.

Use TokenRex in every BYOK-supported app — point it at one base URL, paste one API key, and your favourite tools keep working with every model.

BUILT FOR YOUR STACK

Keep your code.
Expand your options.

Connect with the OpenAI SDK in your preferred language.

API documentation
  • Streaming responsesSet stream: true — tokens arrive as they are generated.
  • Your own function toolsPass your functions and the model calls them.
  • Every model typeChat, images, audio, video, embeddings, live.
  • Claude-format routeClaude models also answer on /v1/messages.

Copy-paste ready in 24 languages

cURL (macOS / Linux)PowerShell (Windows)PythonNode.jsTypeScriptFetchGoKotlinSwiftJava+14 more
from openai import OpenAI

client = OpenAI(
    api_key="sk-tb-YOUR_KEY",
    base_url="https://tokenrex.ai/api/public",
)

resp = client.chat.completions.create(
    model="gpt-6-astra",
    messages=[{"role": "user", "content": "Hi"}],
)
print(resp.choices[0].message.content)

Download .md

All 163 models. One key.

FAQs

Questions, answered.

Get your API key.

Sign up, grab a key, keep your existing OpenAI client. That's it.

Create free account