# ZRouter > ZRouter is a Super Intelligence Router: one OpenAI- and Anthropic-compatible endpoint that scores each AI request by difficulty and routes it to the right model and provider. This site is the machine-readable index of ZRouter's public product and API documentation. Model requests need an account API key and account management needs an MCP token or OAuth sign-in. A person creates the account, buys credit, and issues keys. This site grants no access to accounts or data. - API base URL (OpenAI SDKs): https://zrouter.si/v1 - API base URL (Anthropic SDKs): https://zrouter.si - MCP server: https://zrouter.si/mcp - Auth: `Authorization: Bearer $ZROUTER_API_KEY` - Pick models from `GET https://zrouter.si/v1/models`. ## Discovery - [/llms.txt](https://agents.zrouter.si/llms.txt): LLM instructions - [/llms-full.txt](https://agents.zrouter.si/llms-full.txt): All docs in one file - [/capabilities.json](https://agents.zrouter.si/capabilities.json): Capabilities, endpoints, and limits - [/openapi.json](https://agents.zrouter.si/openapi.json): OpenAPI spec for account API keys - [/mcp](https://agents.zrouter.si/mcp): Account MCP server information - [/mcp/tools.json](https://agents.zrouter.si/mcp/tools.json): MCP tool catalog - [/.well-known/mcp.json](https://agents.zrouter.si/.well-known/mcp.json): MCP server card - [/.well-known/api-catalog](https://agents.zrouter.si/.well-known/api-catalog): API catalog (RFC 9727) ## Docs - [Quick start](https://agents.zrouter.si/docs/quickstart.md): Create an account, fund it, create an API key, and send a first request. - [Authentication](https://agents.zrouter.si/docs/authentication.md): Which credential to use for model requests, account management, and BYOK. - [API reference](https://agents.zrouter.si/docs/api.md): Endpoints available to account API keys, request formats, streaming, and unsupported features. - [Errors and limits](https://agents.zrouter.si/docs/errors.md): Status codes, what they mean, what an agent should do, and how credit reservations work. - [Virtual models](https://agents.zrouter.si/docs/virtual-models.md): One stable model name whose provider targets can change without code changes. - [Super Intelligence Router](https://agents.zrouter.si/docs/super-intelligence-routing.md): How ZRouter scores request difficulty and sends each request to a simple, standard, or complex tier. - [Scheduled routing](https://agents.zrouter.si/docs/scheduled-routing.md): Route a virtual model to different targets during peak and off-peak hours. - [Bring your own keys (BYOK)](https://agents.zrouter.si/docs/byok.md): Route requests through a provider key saved in the account so the provider bills it directly. - [Credits and billing](https://agents.zrouter.si/docs/credits.md): Prepaid USD credit, reservations, settlement, and the ledger. - [Account MCP server](https://agents.zrouter.si/docs/mcp.md): Manage a ZRouter account (usage, logs, routers, keys, budgets, limits) from an MCP client. - [zctl CLI: Installation and Account Management](https://agents.zrouter.si/docs/cli.md): Learn who should use zctl, when to use the CLI, how to install it, and how to manage ZRouter routers, API keys, credits, usage, and limits from a terminal. ## Integrations - [Claude Code Setup: Connect to ZRouter](https://agents.zrouter.si/docs/integrations/claude-code.md): Connect Claude Code to ZRouter with an account API key for text-file coding and client-executed tools, then pick models and check what billing covers. - [Cline Setup: OpenAI Compatible Provider](https://agents.zrouter.si/docs/integrations/cline.md): Configure Cline's OpenAI Compatible provider for ZRouter with your account API key, model ID, and supported text-tool workflows. - [Codex Setup: Connect the CLI and IDE](https://agents.zrouter.si/docs/integrations/codex.md): Configure the Codex CLI and IDE extension to use ZRouter as a custom Responses API provider, with your account key, a model choice, and the supported features. - [Cursor Setup: Custom OpenAI Base URL](https://agents.zrouter.si/docs/integrations/cursor.md): Point Cursor's custom OpenAI base URL at ZRouter, add your account key, choose models, and learn which Cursor features work through a custom endpoint. - [LibreChat Setup: Custom ZRouter Endpoint](https://agents.zrouter.si/docs/integrations/librechat.md): Add ZRouter to LibreChat as a custom endpoint, let each user supply their own account key, list models, and understand which LibreChat features are supported. - [n8n Setup: Call ZRouter From Workflows](https://agents.zrouter.si/docs/integrations/n8n.md): Call ZRouter from an n8n HTTP Request node: account authentication, an OpenAI-compatible request body, BYOK headers, and handling responses in your workflow. - [OpenCode Setup: Custom OpenAI Provider](https://agents.zrouter.si/docs/integrations/opencode.md): Define a custom OpenAI-compatible ZRouter provider in OpenCode: the base URL, your account API key, model names, and a quick check that requests go through. - [Open WebUI Setup: Chat Through ZRouter](https://agents.zrouter.si/docs/integrations/openwebui.md): Use ZRouter for text chat in Open WebUI: add a connection with a scoped account key, list your models, and keep usage and spending under your account limits. - [Python, Node.js and HTTP: OpenAI SDK Setup](https://agents.zrouter.si/docs/integrations/sdks.md): Use ZRouter from the OpenAI Python and Node.js SDKs, curl, and streaming clients: set the base URL and account key, pick a model, and send BYOK requests. - [Connection checks & troubleshooting](https://agents.zrouter.si/docs/integrations/troubleshooting.md): Fix common ZRouter connection problems: the gateway URL, API keys, model names, credit, BYOK, streaming, and coding agent compatibility errors, step by step. ## Optional - [Human website](https://zrouter.si): Product, pricing, and sign-up - [Pricing](https://zrouter.si/pricing): Live per-model rates - [Provider status](https://zrouter.si/status): Availability history