AI models through the APIs you already use. Prepaid in rupees.
Top Billing is an API gateway with an OpenAI-compatible /v1/chat/completions and an Anthropic-compatible /v1/messages endpoint. Top up with UPI, cards or net banking, pay per token in INR, and keep a running ledger of every request.
₹500 test credits · no card required · cancel by simply not topping up
# one base URL, the SDK you already use
curl https://api.topbilling.in/v1/chat/completions \
-H "Authorization: Bearer $TB_API_KEY" \
-H "content-type: application/json" \
-d '{"model": "<model-id>",
"messages": [{"role": "user", "content": "Hello"}]}'
# every response carries an id you can trace to the rupee
"request_id": "tb_req_…"Two protocols, one balance
Point the official OpenAI or Anthropic SDK — or Claude Code — at one base URL. The same conversation costs the same on either endpoint.
Prepaid, to the paisa
Each request reserves an upper bound, then settles on the tokens the model actually reported. Every charge is a line you can audit.
Test keys are free
New accounts get ₹500 of test credits and a deterministic mock model, so you can finish the integration before spending anything.
Built for India
INR pricing, UPI and net-banking top-ups, GST-ready invoices, and support in your timezone. No card kept on file.
From signup to first token in three steps
No sales call, no minimum commitment, no card stored with us.
Create a key
Sign up, and your first project arrives with test credits and an API key in under a minute.
Change one line
Swap the base URL in the SDK you already use. Streaming, tools and vision behave exactly as before.
Top up when ready
Add credits with UPI when you move to live traffic. Watch every request, token and rupee in the dashboard.
Models on the platform
Published only after they pass our conformance checks, with the price you pay per million tokens.
| Model | Name | Input / 1M | Output / 1M |
|---|---|---|---|
tb-mock-1 | Top Billing Mock | ₹250 | ₹1,000 |
Start on test credits. Move to live when it works.
Create an account, generate a key, and make your first call with the SDK already in your codebase.