Skip to content
Works with

Your tools, one base URL

Point any OpenAI-compatible tool at https://anyrouter.dev/api/v1 with an sk-ar- key and every model in the catalog is one string away.

anyrouter/free10/day on Free, 1000/day on paid plans. Your own provider keys are not counted — bring your own keys.
01

Coding agents

Agents and editors

Run your coding agent on any model. Claude Code, Codex, and OpenCode start with one anyr command.

Claude Code

Anthropic's terminal coding agent, on any model in the catalog.

anyr claudeSetup guide for Claude Code

Codex

OpenAI's coding agent CLI, routed through one AnyRouter key.

anyr codexSetup guide for Codex

OpenCode

Open-source terminal agent with AnyRouter as its provider.

anyr opencodeSetup guide for OpenCode

Cline

VS Code agent — set the OpenAI-compatible base URL and key.

Setup guide for Cline

Kilo Code

Add AnyRouter as a custom OpenAI-compatible provider.

Setup guide for Kilo Code

Continue

Point config.yaml at AnyRouter's OpenAI-compatible base URL.

Setup guide for Continue
02

SDKs and frameworks

SDKs and frameworks

Keep the OpenAI-compatible client you already use. Change the base URL and key.

OpenAI SDK

The official Python and TypeScript client — change the base URL.

Setup guide for OpenAI SDK

Vercel AI SDK

generateText and streamText through the OpenAI provider.

Setup guide for Vercel AI SDK

LangChain

ChatOpenAI chains and agents in Python or TypeScript.

Setup guide for LangChain

LlamaIndex

RAG and agents with OpenAILike or the OpenAI LLM.

Setup guide for LlamaIndex

Using something else?

Any client that lets you set an OpenAI base URL works the same way. The docs cover the API, streaming, and every guide.