# AIRouter > AIRouter (https://www.airouter.in) is an OpenAI-compatible API gateway. One API key reaches hundreds of models from OpenAI, Anthropic, Google, DeepSeek and others, billed per token from prepaid credits. Indian developers can add credits in rupees with UPI, net banking or an Indian card (including RuPay), with no international credit card. There is no subscription and no free tier; credits start at $1. AIRouter is an independent service and is not affiliated with airouter.io, airouter.ch or any other product with a similar name. ## Key pages - [Pricing, fees and refunds](https://www.airouter.in/pricing): per-token billing, the credit purchase fee, and the refund policy. - [All models and prices](https://www.airouter.in/models): the full catalog with per-token prices and context windows. - [Latest models](https://www.airouter.in/models/new): the most recently released models. - [How to buy AI API credits with UPI in India](https://www.airouter.in/buy-ai-api-india): payment methods and the step-by-step flow. - [Quickstart](https://www.airouter.in/docs/quickstart): the first API call in five minutes. # Documentation - [Introduction](https://www.airouter.in/docs): AIRouter is an OpenAI-compatible gateway to hundreds of AI models behind a single API key, billed per token in credits you can top up with UPI. - [Quickstart](https://www.airouter.in/docs/quickstart): Sign up, add credits with UPI, and make your first AI API call in five minutes — Python, Node.js, or cURL. - [Migrating from OpenAI](https://www.airouter.in/docs/migrating-from-openai): Two lines change. Here is the diff, plus the handful of behavioural differences worth knowing before you ship. - [Use AIRouter with Opencode](https://www.airouter.in/docs/opencode): Add AIRouter to Opencode as a custom OpenAI-compatible provider, with setup steps for macOS, Linux and Windows. - Core Concepts - [Authentication](https://www.airouter.in/docs/concepts/authentication): How AIRouter API keys are formatted, passed, stored, scoped, and revoked — and what each 401 actually means. - [Models](https://www.airouter.in/docs/concepts/models): Slug conventions, how the catalog stays in sync, and which endpoint each model type belongs to. - [Plans](https://www.airouter.in/docs/concepts/plans): There is no free tier. A new account can create API keys, and the first credit purchase unlocks every model. - [Pricing and Credits](https://www.airouter.in/docs/concepts/pricing-and-credits): How per-token billing works, why a request reserves more than it costs, and how to track what you spend. - [Streaming](https://www.airouter.in/docs/concepts/streaming): SSE frame format, why a failed stream still returns 200, and what cancelling mid-stream costs you. - [Routing and Failover](https://www.airouter.in/docs/concepts/routing-and-failover): How a request is dispatched across upstream gateways, when a retry happens automatically, and what a 502 actually tells you. - [Rate Limits](https://www.airouter.in/docs/concepts/rate-limits): The four independent limits, the three distinct causes of a 429, and how to tell them apart. - [Idempotency](https://www.airouter.in/docs/concepts/idempotency): Retry a timed-out request without paying twice — the header, the four outcomes, and why streams behave differently. - [Zero Data Retention](https://www.airouter.in/docs/concepts/zero-data-retention): Run chat completions only on providers that do not store or train on your prompts. How to turn it on, what it covers, and what changes. - [Request Limits](https://www.airouter.in/docs/concepts/limits): The 16 MiB body cap, how output length is rewritten, and why a reply stops earlier than you asked for. - [Errors](https://www.airouter.in/docs/concepts/errors): The error envelope, every status code and type AIRouter returns, which are worth retrying, and the two endpoints that deviate. - API Reference - [Overview](https://www.airouter.in/docs/api-reference): Base URL, authentication, shared headers, and the error envelope used by every AIRouter endpoint. - [Chat Completions](https://www.airouter.in/docs/api-reference/chat-completions): POST /v1/chat/completions — OpenAI-compatible chat and completions across every model in the catalog, streaming or buffered. - [Embeddings](https://www.airouter.in/docs/api-reference/embeddings): POST /v1/embeddings — vector embeddings from OpenAI, Google, Cohere, Voyage, Mistral and more, billed from the same credit balance. - [Image Generation](https://www.airouter.in/docs/api-reference/images): POST /v1/images/generations — OpenAI-compatible image generation returning base64 PNGs, with idempotency support for slow, expensive calls. - [Decisions](https://www.airouter.in/docs/api-reference/decisions): POST /v1/decisions — ask a decision model typed questions (yes/no, pick one, score) about some input and get answers with probabilities, billed from the same credit balance. - [Audio transcriptions](https://www.airouter.in/docs/api-reference/audio-transcriptions): POST /v1/audio/transcriptions — turn an audio file into text with one of eight speech-to-text models, with optional timestamps and speaker labels, billed per second of audio. - [Audio speech](https://www.airouter.in/docs/api-reference/audio-speech): POST /v1/audio/speech — turn text into spoken audio with one of 19 text-to-speech models, in OpenAI's request format, billed per character. - [Audio generations](https://www.airouter.in/docs/api-reference/audio-generations): POST /v1/audio/generations — generate music or sound effects from a text description, billed per second of generated audio. - [Models](https://www.airouter.in/docs/api-reference/models): GET /v1/models — the live model catalog with per-token pricing, context windows and capabilities. No authentication required.