Skip to main content
Claude Code connects to Routeway using the Anthropic Messages API. This lets you run Claude Code with your Routeway API key and choose any model that supports function calling (tools).
Requires a valid Routeway API key. Get yours from the dashboard.

Quick Start

1

Install Claude Code

Follow the official installation guide for your platform:
2

Point Claude Code to Routeway

Claude Code reads Anthropic-compatible environment variables. Set the base URL to Routeway and provide your API key.
Claude Code does not read .env files by default. Set these variables in your shell profile or use the project settings file method below.
Keep the project settings file out of version control if it contains a real API key.
You can replace the example model IDs with any model that supports function calling. See the models list.
3

Start Claude Code

In your project directory, run:
Your requests will be routed through Routeway’s Anthropic-compatible endpoint (/v1/messages).
4

Verify

Inside Claude Code, run:
You should see output like:

Example Prompts

Try these once you’re connected:
  • “Summarize this project: key folders, build system, and entry points.”
  • “Find where X is implemented and list the relevant files.”
  • “Run tests and fix the first failing test.”
  • “Refactor: extract helper Y and update all call sites.”