# QNepal > QNepal is a Kathmandu-based reseller of OpenAI (GPT) and Anthropic (Claude) API access for developers and businesses in Nepal. Customers top up a prepaid wallet in Nepali rupees (eSewa, Khalti, FonePay QR or bank transfer) and are billed per token in NPR. The API is OpenAI- and Anthropic-compatible, so the official SDKs work with only the base URL and API key changed. - OpenAI SDK base URL: `https://api.qnepal.com/v1`. Anthropic SDK base URL: `https://api.qnepal.com` (the SDK adds `/v1`). - Auth: a QNepal key (`qn-…`, created in the dashboard at https://qnepal.com/app/keys) as `Authorization: Bearer qn-…` or `x-api-key: qn-…`. - Endpoints: `POST /v1/chat/completions`, `POST /v1/responses`, `POST /v1/embeddings`, `POST /v1/messages`, `POST /v1/messages/count_tokens`, `POST /v1/responses/input_tokens`, `POST /v1/moderations`, `/v1/messages/batches`, `GET /v1/models`. - Claude models also work on `/v1/chat/completions` (one choice; no prompt caching or file inputs there; use `/v1/messages` for those). - Model names: use the `id` values from `GET https://api.qnepal.com/v1/models` (no key needed; includes context window and NPR prices per million tokens). Don't guess model ids. - Billing: prepaid wallet in NPR, charged from provider-reported token counts. The maximum cost is reserved while a request runs; `402 insufficient_quota` means the balance can't cover the reserve (lower `max_tokens` or top up). - Limits: 120 requests/minute per key by default; per account 16 in flight and about 2M tokens/minute. Over a limit: `429` with `Retry-After`. - Errors use the provider's JSON shape for each endpoint. Every response has an `X-Request-Id` header; quote it to support@qnepal.com. - Prompts and completions are not stored; only request metadata (model, tokens, latency, cost) is kept for billing. ## Docs - [API documentation](https://qnepal.com/docs.md): the full docs page as Markdown. Sections: Authentication, OpenAI-compatible endpoints, Anthropic-compatible endpoints, What's supported, Fair use & limits, Billing & limits, Privacy, Not supported yet, Quick reference - [OpenAPI description](https://qnepal.com/openapi.json): every public endpoint, auth schemes and error shapes; bodies follow the OpenAI and Anthropic API references - [Model list with NPR prices](https://api.qnepal.com/v1/models): live JSON, no API key needed - [Complete context](https://qnepal.com/llms-full.txt): this file plus the full docs and FAQ in one document ## Product - [Home and pricing](https://qnepal.com/): what QNepal is, top-up methods, NPR price table, FAQ - [System status](https://qnepal.com/status): live success rate and latency per model ## Optional - [Terms of service](https://qnepal.com/terms) - [Privacy policy](https://qnepal.com/privacy) - [OpenAI API reference](https://platform.openai.com/docs/api-reference): request and response bodies for the OpenAI-compatible endpoints - [Anthropic API reference](https://docs.anthropic.com/en/api/messages): request and response bodies for /v1/messages