AnyRoute Documentation
Configure developer tools and integrate AnyRoute's Anthropic-compatible, OpenAI-compatible, Gemini-compatible, and image APIs.
AnyRoute is a unified AI API gateway for developer tools, coding agents, and application backends. The public base URL is:
https://anyroute.ioUse your AnyRoute API key as a bearer token. The exact environment variable or settings field depends on the tool:
| Client family | Base URL | Key field |
|---|---|---|
| Claude Code / Anthropic-compatible tools | https://anyroute.io | ANTHROPIC_AUTH_TOKEN |
| Codex / OpenAI Responses clients | https://anyroute.io | OPENAI_API_KEY |
OpenAI-compatible SDKs that require /v1 | https://anyroute.io/v1 | OPENAI_API_KEY |
| Gemini CLI | https://anyroute.io | GEMINI_API_KEY |
Gemini-compatible SDKs that require /v1beta | https://anyroute.io/v1beta | GEMINI_API_KEY |
Recommended Path
- Install the tool you want to use.
- Create an API key in the AnyRoute Dashboard.
- Choose the provider group that matches your target protocol or model family.
- Copy the exact configuration from the Dashboard Use Key dialog.
- Run a first request or open your tool.
Main Sections
- Installation: install Claude Code, Codex, Gemini CLI, OpenCode, and prerequisites.
- Quickstart: create an API key, choose a provider group, import the key, and run your first request.
- Tools: configure base URLs and API keys for Codex, Claude Code, OpenClaw, Hermes Agent, OpenCode, Windsurf, Kiro, and VS Code-like tools.
- Images: use OpenAI images, Codex image generation, Gemini image generation, and image input.
- API Reference: endpoint matrix and protocol-specific API details.
- Interoperability: understand Anthropic, OpenAI, and Gemini compatibility paths.
Public Scope
These docs cover public AnyRoute usage for Anthropic-compatible, OpenAI-compatible, Gemini-compatible, and image workflows. Internal management APIs and unreleased platform-specific routes are intentionally not documented.
AnyRoute Docs