Documentation
nabh.cloud API
One OpenAI-compatible API for open large language models — billed per token in Indian Rupees from a prepaid wallet.
The nabh.cloud API gives you a single, OpenAI-compatible endpoint for a catalogue of open models (text, embeddings, image, and speech). You pay only for what you use, in ₹, from a prepaid wallet — no subscription required to start, and ₹50 in free credits on signup.
Base URL
All API requests are made to:
https://api.nabh.cloud/v1
Because the API follows the OpenAI Chat Completions specification, existing OpenAI SDKs and tools work by changing only the base URL and the API key.
curl https://api.nabh.cloud/v1/chat/completions \
-H "Authorization: Bearer nbh_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3-70b-instruct",
"messages": [{"role": "user", "content": "Hello from India!"}]
}'Every response reports the exact request cost and your remaining balance — in the JSON body (cost_inr, balance_inr) and in response headers (X-Cost-INR, X-Balance-INR, X-Request-ID). You are never billed beyond your available balance.
Explore the docs
Quickstart
Make your first API call in under five minutes.
Authentication
Create and use nbh_ API keys securely.
Models
Every model, its ID, context window, and price.
Pricing & Billing
Per-token billing in ₹ from your prepaid wallet.
Rate Limits
Per-plan request limits and 429 handling.
Errors
Error format and every status code explained.
SDKs & Libraries
Use any OpenAI-compatible SDK or tool.
