Skip to main content
Cursor is an AI-powered code editor. You can connect it to Routeway by overriding the OpenAI base URL in settings, giving you access to all Routeway models directly inside the editor.
Requires a valid Routeway API key. Get yours from the dashboard.

Setup

1

Open Cursor settings

Go to SettingsModels in Cursor.
2

Override the OpenAI Base URL

Set the Override OpenAI Base URL field to:
https://api.routeway.ai/v1/
3

Set your API key

Enter your Routeway API key in the API Key field.
4

Add models

Click + Add Model and enter the model ID you want to use. You can add multiple models. Browse available options at routeway.ai/models.Examples:
  • gpt-4.1
  • claude-sonnet-4.5
  • gemini-2.5-flash
5

Start coding

Select your added model from the model picker in Cursor and start using it for code generation, chat, and edits.

Reference

SettingValue
Override OpenAI Base URLhttps://api.routeway.ai/v1/
API KeyYour Routeway API key
Model formatExact model ID (e.g. gpt-4.1)