Connect Codex, Claude Code, Cursor, VS Code, OpenClaw, and Hermes

Use the recommended CC Switch one-click import or manual configuration to connect API-Route to Codex, Claude Code, OpenClaw, Hermes, Gemini CLI, OpenCode, Cursor, or VS Code.

Related pages

Model Square

Browse available API-Route models, supported groups, and current API rates.

API-Route FAQ

Answers about OpenAI-compatible Base URL, API keys, model names, LibreChat, Codex, Claude Code, VS Code, plans, payments, and white-label AI API reseller platform setup.

FAQ

How do I configure a third-party API in Codex?

Choose a verified key, available model, and endpoint in API Access, select Codex as the target, and import through CC Switch. Manual setup uses the generated config.toml and auth.json values.

How do I connect Claude Code to API-Route?

Generate and import the Claude Code profile in API Access. Claude Code uses the Anthropic-style root endpoint without /v1, not the OpenAI SDK Base URL.

How do I import API-Route with CC Switch?

Install and open CC Switch, then choose the key, model, endpoint, and target app in API Access. Run the one-click import and confirm the provider is enabled.

How do I connect OpenClaw or Hermes to API-Route?

Choose OpenClaw or Hermes in API Access and import with CC Switch. If CC Switch is unavailable, download the generated manual configuration file.

How does VS Code use API-Route?

VS Code is the editor. Configure the Codex, Claude Code, or other supported AI client that actually runs inside VS Code, then use it from the editor or integrated terminal.

How does Cursor use API-Route?

The currently supported path is to run a configured Codex or Claude Code client in Cursor’s integrated terminal. This guide does not claim to replace Cursor’s built-in model provider.