Requires a valid Routeway API key. Get yours from the dashboard.
Setup
Open OpenHands LLM settings
In OpenHands, add a new LLM Endpoint and toggle Advanced to reveal all fields.
Configure the endpoint
Fill in the following:
| Field | Value |
|---|---|
| Custom Model | openai/MODEL_ID (e.g. openai/gpt-4.1) |
| Base URL | https://api.routeway.ai/v1 |
| API Key | Your Routeway API key |
| Agent | CodeActAgent (recommended) |
Model naming
Prefix the model with
openai/ and use the exact model ID from routeway.ai/models:openai/gpt-4.1openai/claude-sonnet-4.5openai/gemini-2.5-flash
Reference
| Setting | Value |
|---|---|
| Base URL | https://api.routeway.ai/v1 (no trailing slash) |
| Model prefix | openai/ |
| Recommended agent | CodeActAgent |
Example Prompts
- “Set up a basic Express.js server with health check endpoint.”
- “Find and fix the bug causing test failures in the auth module.”
- “Refactor this class to use dependency injection.”