All integrations require a valid Routeway API key. Get yours from the dashboard.
Generic Connection Details
How to Connect Any Tool
If your tool asks for an “OpenAI API key” and “base URL”, you just need two values:1
Set the base URL
Replace the default OpenAI URL with:
2
Enter your Routeway API key
Use your Routeway API key wherever the tool asks for an “OpenAI API key” or “API token”.
3
Pick a model
Enter a model ID from routeway.ai/models. If the tool has a “fetch models” button, click it to load the full list automatically.
SDK Examples
Drop-in replacement for the OpenAI SDK in any language:Common Tools That Work Out of the Box
Any of these tools can be pointed at Routeway by changing the base URL:If a tool supports “OpenAI-compatible” or “custom endpoint” configuration, it will work with Routeway. Just set the base URL and API key.
Anthropic-Compatible Tools
Some tools (like Claude Code) use the Anthropic Messages API instead of OpenAI’s format. For those, use:
See the Claude Code integration for a full example.
Troubleshooting
Model not found
Model not found
Verify the model ID matches exactly. Use the models endpoint or browse routeway.ai/models to see available models.
Connection refused or timeout
Connection refused or timeout
Ensure you’re using
https://api.routeway.ai/v1 (with HTTPS and /v1). Some tools require the trailing /v1, others don’t — try both if you get errors.Tool doesn't have a base URL field
Tool doesn't have a base URL field
Check if the tool supports environment variables like
OPENAI_BASE_URL or OPENAI_API_BASE. Many tools read these as fallbacks.