Top BillingService alert
Latest updateWe’re currently updating our platform to bring you an improved experience, better performance, and exciting new features. Some services may be temporarily affected during this process.
ONE CONNECTION. A WORLD OF AI.IND / INR

Intelligence,without borders.

The world’s AI. On your terms.
One API key. Funded in rupees.

FOLLOW A REQUEST23 MODELS/ONE GATEWAY/ALL IN INR
ONE PREPAID BALANCEFund in INR. Use across models.↗︎
FROM POSSIBILITY TO PRODUCTION

One connection.
Every model.
All in rupees.

Chat, messages and embeddings through one key.
Familiar SDKs. Prepaid INR credits.

Top up with UPI, cards or net banking.
Get a GST invoice on every top-up.

23
AI models
₹100
Minimum top-up
₹0
Subscription fees
A request. One clear charge.INTERACTIVE EXAMPLE
POST /v1/chat/completions
YOUR APPLICATION
Your codeOpenAI SDK
Keep your SDK ↗︎
ONE CONNECTION
topbilling.api.topbilling.in/v1ONE API KEY
CHOOSE A MODEL
REQUEST → USAGE → CHARGEINR
1,240input tokens
380output tokens
₹2.713₹1.6278Estimated charge · before GST
Same request ID. From response to ledger.tb_req_example_01
Inspect this charge
EXAMPLE RESPONSE METADATAx-request-id: tb_req_example_01
model: tb-gpt-6-astra
usage: { prompt_tokens: 1240, completion_tokens: 380 }
Input · 1,240 tokens₹518.40 / 1M₹0.642816
Output · 380 tokens₹2,592 / 1M₹0.98496

No cached input in this example. Each cost = tokens × listed rate ÷ 1,000,000. GST applies at top-up, separately from token usage. Estimate your own workload ↗︎

tb-gpt-6-astraModel details ↗︎

Illustration only. No API call or credit spent. Each rate is that model’s active pricing version, read when this page was served.

03

Choose a model. Follow the request. See what it costs.

Make your first real request
01 / INTELLIGENCE, CONNECTEDNO MODEL LOCK-IN.

Choose the model.
Keep the same key.

Compare verified capabilities and context windows.
Switch models through one connection and one prepaid INR balance.

Enter the model index
A selection from 23 models

INR per 1M tokens, before GST.
Each price is the model’s active pricing version.

All 23 models
02 / FAMILIAR CODE. NEW POSSIBILITIES.OPENAI + ANTHROPIC COMPATIBLE.

Your SDK.
A new connection.

Set a Top Billing key, base URL and model ID.
Use familiar SDKs, with model-specific
capabilities you can verify.

YOUR FIRST CONNECTIONapp.py
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["TB_API_KEY"],
    base_url="https://api.topbilling.in/v1",
)

response = client.chat.completions.create(
    model="tb-gpt-6-astra",
    messages=[{"role": "user", "content": "Summarise this ticket in one line."}],
)
print(response.choices[0].message.content)
Same SDK. New base URL. You’re ready.
https://api.topbilling.in/v1
ONE CONNECTION TO CONFIGUREYOUR SDK STAYS

Three values.
A familiar workflow.

Base URL
https://api.topbilling.in/v1OpenAI-compatible clients. Anthropic SDKs use https://api.topbilling.in.
API key
TB_API_KEYYour Top Billing key, stored on your server.
Model ID
tb-gpt-6-astraChanges with the model selected in this example.
Read the quickstart ↗︎

Use the endpoint and capabilities supported by your model. Check compatibility ↗︎

Streaming. Tools. Vision. Where the model supports it.View the compatibility matrix ↗︎
03 / GLOBAL REACH. LOCAL ROOTS.MADE FOR INDIA.

Fund in rupees.
Build on your terms.

Add prepaid INR credits with UPI, cards or net banking.
GST is shown before you pay.
A tax invoice follows every top-up.

The local advantage ↗︎
topbilling.INR / PREPAID
A LITTLE FUEL FOR YOUR NEXT IDEA
₹1,000.00
AI credits₹1,000.00
GST · 18%₹180.00
Total payment₹1,180.00
UPI❯CARDSNET BANKING✓ GST INVOICE

Interactive top-up illustration. No payment is made.

₹100START SMALL.
TOP UP AS YOU GO.
₹0PLATFORM FEES.
NO MONTHLY COMMITMENTS.
1:1EVERY REQUEST.
TRACED TO ITS CHARGE.
BEFORE YOUR FIRST CALL.

A few things
worth knowing.

All 21 questions ↗︎
What is Top Billing?

An AI API gateway operated by VD Enterprises, a GST-registered business in India. You call AI models through OpenAI- and Anthropic-compatible APIs and pay from prepaid credits in Indian rupees.

Do I need to change my code?

Usually two lines. Point the official OpenAI SDK at https://api.topbilling.in/v1, or the Anthropic SDK at https://api.topbilling.in, and use a Top Billing API key and model ID. A parameter a model cannot honour is rejected with a clear 400, never silently ignored.

Does Claude Code work?

Yes. Set ANTHROPIC_BASE_URL to https://api.topbilling.in, ANTHROPIC_AUTH_TOKEN to your Top Billing key and ANTHROPIC_MODEL to a model ID from the Models page. The Claude Code guide has the details.

How do I pay?

Add credits on the Billing page with UPI, cards or net banking through Cashfree, our payment gateway. Card, UPI and bank details are entered with the gateway and never reach our servers.

Do I get a GST invoice?

Yes. GST is shown before you pay, and a tax invoice carrying our GSTIN is on the Billing page after every successful payment.

Is there a subscription or platform fee?

No. Credits are prepaid in INR and charged per token at the model’s listed price on the pricing page. No subscription, no platform fee, no minimum monthly spend.

What happens when a route fails?

On models with failover enabled, a route that times out, is overloaded or returns a 5xx before producing anything billable hands the request to the next healthy route. The request is reserved once and settled once, so a failover never bills twice.

Can credits be refunded?

Credits are prepaid and usable only on Top Billing. Eligible purchased live credits can transfer between owned projects or to another verified account after acceptance. Grants and bonuses cannot transfer. Refunds follow the refunds and credits policy.

The future is something you build.

Your first request.
Your next idea.

Create an account, add INR credits, and connect the SDK you already use.

Or start with the documentation