
api.topbilling.inIntelligence,without borders.
The world’s AI. On your terms.
One API key. Funded in rupees.
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
api.topbilling.in/v1ONE API KEYtb_req_example_01Inspect this charge
x-request-id: tb_req_example_01model: tb-gpt-6-astra
usage: { prompt_tokens: 1240, completion_tokens: 380 }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 ↗︎
Illustration only. No API call or credit spent. Each rate is that model’s active pricing version, read when this page was served.
Choose a model. Follow the request. See what it costs.
Choose the model.
Keep the same key.
Compare verified capabilities and context windows.
Switch models through one connection and one prepaid INR balance.
INR per 1M tokens, before GST.
Each price is the model’s active pricing version.
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.
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)
https://api.topbilling.in/v1Three values.
A familiar workflow.
- Base URL
https://api.topbilling.in/v1OpenAI-compatible clients. Anthropic SDKs usehttps://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.
Use the endpoint and capabilities supported by your model. Check compatibility ↗︎
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.
Interactive top-up illustration. No payment is made.
TOP UP AS YOU GO.
NO MONTHLY COMMITMENTS.
TRACED TO ITS CHARGE.
Know your model.
Understand every charge.
A little feedback.
A lot to build on.
Different cities. Different ideas.
In their own words, one shared connection.
Really Good Diwali Offer! 🪔
I was already planning to try some AI models, and this Diwali offer came at the right time. Got 60% off on all models, which helped me save quite a bit. Very useful for developers who regularly use AI APIs. Nice initiative by the Top Billing team!
Harish K.Chennai, Tamil NaduGood Savings on AI Models 🚀
Honestly, 60% off on all AI models is a really good deal. I tried a few different models without spending too much. The platform is also easy to understand and use. Hope Top Billing brings more such offers in future!
Ananya S.Bengaluru, KarnatakaWorth Trying During This Diwali! 🎉
One of the good offers I came across this Diwali. The 60% discount made it easier to experiment with different AI models for my projects. Having multiple models in one platform is quite convenient. Looking forward to more updates from Top Billing!
Praveen R.Hyderabad, TelanganaClean interface and useful features
The dashboard looks modern and is quite easy to navigate. I appreciate the idea of bringing different AI models under one platform. Excited to see how Top Billing develops.
Sneha R.Mumbai, MaharashtraInteresting platform for startups
As someone interested in building AI-powered products, I find Top Billing an interesting platform. It can make model exploration more convenient. Looking forward to testing more capabilities.
Karthik V.Coimbatore, Tamil Nadu
Worth exploring
Top Billing has a promising concept. The ability to explore different AI models through a unified platform is useful. Some areas could benefit from more documentation, but overall it is worth exploring.
Aditya P.Pune, MaharashtraGood initiative for Indian developers
It is good to see platforms building AI infrastructure and making different models accessible to developers. The interface is straightforward. Looking forward to seeing more integrations.
Naveen R.Kochi, KeralaUseful for AI experimentation
I am interested in AI automation and experimenting with different models. Top Billing provides an interesting way to explore these possibilities. Excited about the upcoming developments.
Divya K.Delhi, IndiaPromising developer platform
The platform has a good interface and an interesting selection of AI models. I would like to see more tutorials, code examples and developer resources in the future.
Mohammed A.Lucknow, Uttar PradeshLooking forward to what's next
Top Billing is working on an interesting concept. Having AI models accessible through one platform is useful for builders and startups. Looking forward to its growth and new features.
Vishal S.Ahmedabad, Gujarat
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.
Create an account, add INR credits, and connect the SDK you already use.
Or start with the documentation