Skip to content
QNepal

GPT and Claude for Nepal, paid in rupees

One API key for OpenAI and Anthropic models. Top up from eSewa, Khalti or your bank, with no dollar card. The official SDKs work unchanged, and every request is billed in NPR.

नेपालमै, नेपालीका लागि · pay only for what you use

quickstart.py
from openai import OpenAI

client = OpenAI(
    base_url="https://api.qnepal.com/v1",
    api_key="qn-…",          # from your QNepal dashboard
)

reply = client.chat.completions.create(
    model="gpt-6.2-sol",
    messages=[{"role": "user", "content": "नमस्ते! Summarise this invoice."}],
)
QNepalबिल · usage
chat · gpt-6.2-sol…
1,840 in · 412 out
messages · claude-sonnet-5-5…
6,210 in · 905 out
chat · gpt-6-luna…
920 in · 160 out
Total…
Paid from wallet · eSewa top-up
Local top-ups

eSewa, Khalti, FonePay QR or bank transfer. Credits land in your wallet in NPR.

Transparent pricing

Provider list price × NRB rate + a flat, published margin. Every request itemised.

Streams straight through

A small Go gateway forwards each token as it arrives, and retries on a second key if a provider fails.

Private by default

We never log prompts or completions. Keys are hashed, and each account's data is isolated.

Pricing

Per million tokens, in NPR

ModelInputCached inputOutput
Loading prices…

Prices follow the providers' published rates, converted at the Nepal Rastra Bank sell rate plus our margin. Long-context requests and cache writes are billed at the providers' rates for those tiers.

01
Create an account

Sign up with your email. It takes a few seconds.

02
Top up in NPR

Pay from your eSewa, Khalti or bank app, then submit the transaction ID. We verify it and credit your wallet.

03
Point your SDK at us

Set base_url to api.qnepal.com/v1 and use your qn- key. No other code changes.

FAQ

Questions, answered plainly

What is QNepal?

QNepal is a Nepali service that gives developers and businesses in Nepal API access to OpenAI (GPT) and Anthropic (Claude) models, paid in Nepali rupees. It exposes OpenAI- and Anthropic-compatible endpoints at https://api.qnepal.com/v1, so the official SDKs work with only the base URL and key changed.

Do I need a dollar card or a foreign account?

No. QNepal is prepaid in NPR. You top up a wallet from a local payment app such as eSewa or Khalti, or by bank transfer, and each API request is charged from that balance.

How is usage billed?

Per token, in NPR. Each request is charged from the token counts the provider reports (input, cached input, cache writes and output). Prices are the provider's list price converted at the Nepal Rastra Bank exchange rate plus QNepal's margin. While a request runs, the most it could cost is reserved from your balance, and the unused part is released when it finishes.

Which models can I use?

OpenAI GPT models and Anthropic Claude models, with one API key. The current list, with prices in NPR per million tokens, is in the pricing table and at GET https://api.qnepal.com/v1/models, which needs no API key.

What do I change in my code?

Only the base URL and the API key. Point the OpenAI SDK at https://api.qnepal.com/v1 or the Anthropic SDK at https://api.qnepal.com, and use a qn- key from your dashboard. Claude models also work on the OpenAI-style /v1/chat/completions endpoint.

Are my prompts stored?

No. QNepal does not store prompts or completions. It keeps request metadata (model, token counts, latency and cost) for billing. Requests are processed by OpenAI or Anthropic under their API data policies.

What are the rate limits?

By default 120 requests a minute per API key, and per account up to 16 requests in flight and about 2 million tokens a minute. New accounts that have not topped up yet get 30 requests a minute until their first top-up. Limited requests return HTTP 429 with a Retry-After header.