# Triw > Unified AI API gateway: one key, one base URL, any model. ## Getting started - [Overview](https://docs.triw.io/index.md): One API key for OpenAI, Anthropic, Gemini, image and audio models. - [Quickstart](https://docs.triw.io/quickstart.md): From sign-up to your first completion in five minutes. ## Account - [Authentication](https://docs.triw.io/authentication.md): How Triw authenticates requests, and which header format to use per protocol. - [API keys](https://docs.triw.io/api-keys.md): Create, scope, rotate and revoke keys — and what a group actually changes. - [Balance and top-up](https://docs.triw.io/billing.md): How quota is measured, how top-ups land, and how to read your usage. - [Models and groups](https://docs.triw.io/models.md): Discover what your key can call, and why the same model name can behave differently across groups. ## API - [Endpoints](https://docs.triw.io/endpoints.md): Every route Triw relays, with the protocol each one speaks. - [Errors and troubleshooting](https://docs.triw.io/errors.md): Error envelope, code table, and the fixes that actually resolve each one. - [Image generation](https://docs.triw.io/images.md): Generate and edit images through the OpenAI-compatible image endpoints. - [Video generation](https://docs.triw.io/video.md): Submit a video task, then poll it until the asset is ready. - [Embeddings and audio](https://docs.triw.io/embeddings-audio.md): Vector embeddings, speech-to-text, text-to-speech and translation through the OpenAI-compatible routes. ## SDKs - [OpenAI SDK](https://docs.triw.io/sdks/openai.md): Point the official OpenAI SDK at Triw — two fields change, nothing else. - [Anthropic SDK](https://docs.triw.io/sdks/anthropic.md): Run the Anthropic SDK and Claude Code against /v1/messages on Triw. - [Gemini SDK](https://docs.triw.io/sdks/gemini.md): Use /v1beta/models on Triw with the Google Gen AI SDK or REST. ## Tools - [Claude Code](https://docs.triw.io/tools/claude-code.md): Install Claude Code, point it at Triw, and pick a model. - [Codex CLI](https://docs.triw.io/tools/codex.md): Install the Codex CLI and register Triw as a model provider in config.toml. - [Cursor](https://docs.triw.io/tools/cursor.md): Install Cursor and route its OpenAI-compatible calls to Triw. - [Cline](https://docs.triw.io/tools/cline.md): Install the Cline extension and connect it with an OpenAI-compatible provider. - [OpenCode](https://docs.triw.io/tools/opencode.md): Install OpenCode and declare Triw as a custom provider. - [Gemini CLI](https://docs.triw.io/tools/gemini-cli.md): Install Gemini CLI and redirect it to Triw's /v1beta surface. - [Hermes Agent](https://docs.triw.io/tools/hermes-agent.md): Install Hermes Agent and add Triw as a provider in config.yaml. - [OpenClaw](https://docs.triw.io/tools/openclaw.md): Install OpenClaw and register Triw under models.providers. - [DeepSeek Harness](https://docs.triw.io/tools/deepseek-harness.md): Install dsh and add Triw as a custom model API in the harness UI. - [CC Switch](https://docs.triw.io/tools/cc-switch.md): Manage Triw as a provider profile across Claude Code, Codex, OpenCode and dsh. ## Optional - [Console](https://router.triw.io) - [Pricing](https://router.triw.io/pricing) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Indonesian (24 pages)](https://docs.triw.io/_llms/id.txt): Getting started, Account, API, SDKs, Tools. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.