Integrated Development Environments (IDEs)
Inference Gateway is fully OpenAI-compatible, allowing you to configure it with your favorite IDEs and extensions using standard OpenAI integration settings. The following sections provide instructions for configuring popular IDEs and extensions.
VSCode
Continue.dev is a VSCode extension that supports OpenAI-compatible APIs. You can configure it to use Inference Gateway as follows:
Install the Continue.dev extension from the VSCode Marketplace.
Open the Continue.dev configuration file by running the
Continue: Open Configurationcommand in VSCode.Add a new model configuration with the Inference Gateway endpoint:
"models": [
{
"title": "Inference Gateway",
"provider": "openai",
"model": "your-model-name",
"apiBase": "http://localhost:8080/v1",
"apiKey": "your-api-key",
"useLegacyCompletionsEndpoint": false
}
]- Save the configuration file and restart VSCode.
Cursor
Cursor is an AI-first code editor that supports OpenAI-compatible APIs. To configure Cursor to use Inference Gateway:
Open Cursor and go to Settings by clicking on the gear icon in the bottom left corner or using the keyboard shortcut
Cmd+,(Mac) orCtrl+,(Windows/Linux).In the settings sidebar, select AI.
Scroll down to find the Custom Endpoint section.
Enable the Use Custom Endpoint toggle.
Configure the following settings:
- API Endpoint: Enter your Inference Gateway URL (e.g.,
http://localhost:8080/v1) - API Key: Enter your Inference Gateway API key
- Model: Enter the model name you want to use (e.g.,
deepseek/deepseek-v4-flash)
- API Endpoint: Enter your Inference Gateway URL (e.g.,
Click Save to apply the changes.
Now Cursor will use your Inference Gateway for all AI operations, including code completion, chat, and other AI-powered features.
