> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hostlinku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> What Hostlinku is, how it works, and how to read this documentation

**Hostlinku** is a unified AI gateway: one API that is fully compatible with OpenAI. Your requests are routed to hundreds of models from multiple providers (OpenAI, Anthropic, Google, DeepSeek, Qwen, and others) through a single API key.

With Hostlinku you don't need to manage separate accounts, API keys, and request formats for every provider:

* **One API key** for every model (`sk-…`).
* **OpenAI-compatible**: use the official OpenAI SDKs (`openai-python`, `openai-node`) by changing only `base_url`.
* **SSE streaming**: token-by-token responses in `text/event-stream` format, just like OpenAI.
* **Centralized model catalog**: slugs, per-token pricing, context windows, and capabilities in one place.
* **Usage controls**: per-key credit limits, request history, and full logs in the console.
* **Flexible billing**: top up with QRIS / Virtual Account (iPaymu) or crypto (BlockBee).

## Architecture at a glance

```text theme={null}
Your application
    │  Authorization: Bearer sk-…
    ▼
api.hostlinku.com  ──►  Hostlinku Gateway  ──►  Routing & failover
(v1/chat/completions)        │                        │
                             │                        ├─► OpenAI
                             ├─ Reserve balance      ├─► Anthropic
                             ├─ Telemetry & logs     ├─► Google
                             └─ Commit actual cost   └─► …and more
```

Every request follows the same path: API key authentication, credit-limit checks, balance reservation (estimate), forwarding to the model service (with automatic retries on failure), then committing the actual cost based on tokens used and recording telemetry.

The Hostlinku Console (`console.hostlinku.com`) uses the same backend: API keys, balance, request history, and audit logs all come from real gateway data.

## Quick links

| Need | Page |
| - | - |
| Send your first request | [Quickstart](https://docs.hostlinku.com/en/getting-started.md) |
| Understand API keys, expiry, and per-key limits | [Authentication](https://docs.hostlinku.com/en/authentication.md) |
| Concise reference for every endpoint, rate limit, and error code | [API Reference](https://docs.hostlinku.com/en/api-reference.md) |
| `POST /v1/chat/completions` reference | [Chat Completions](https://docs.hostlinku.com/en/chat-completions.md) |
| Use the Anthropic SDK / Claude Code via `POST /v1/messages` | [Anthropic Messages](https://docs.hostlinku.com/en/anthropic-messages.md) |
| Use Codex CLI / OpenAI Agents SDK via `POST /v1/responses` | [Responses API](https://docs.hostlinku.com/en/responses.md) |
| Configure Claude Code, Codex CLI, Cursor, Zed, Cline, Continue, OpenCode, Aider | [IDE & Agent Integrations](https://docs.hostlinku.com/en/integrations.md) |
| Model list and how to choose | [Models](https://docs.hostlinku.com/en/models.md) |
| Rate limits and usage monitoring | [Usage & Limits](https://docs.hostlinku.com/en/usage-and-limits.md) |
| Balance, top-ups, and per-token pricing | [Billing & Balance](https://docs.hostlinku.com/en/billing.md) |
| Error codes and error response format | [Errors](https://docs.hostlinku.com/en/errors.md) |

Need an account first?

Create an account at [auth.hostlinku.com](https://auth.hostlinku.com) and create your first API key in
[console.hostlinku.com](https://console.hostlinku.com). Learn more in
[Quickstart](https://docs.hostlinku.com/en/getting-started.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.