VS Code
Visual Studio Code extensions like Continue, Codeium, and others can be configured to use LW AI's OpenAI-compatible API.
Continue (Recommended)
Continue is a popular open-source AI coding assistant for VS Code.
Installation
- Open VS Code Extensions (
Cmd+Shift+X) - Search for "Continue" and install it
Configuration
Edit ~/.continue/config.json:
{
"models": [
{
"title": "LW AI DeepSeek V4 Pro",
"provider": "openai",
"model": "deepseek/deepseek-v4-pro",
"apiBase": "https://openapi.linkwo.ai/v1",
"apiKey": "YOUR_API_KEY"
},
{
"title": "LW AI DeepSeek V4 Flash",
"provider": "openai",
"model": "deepseek/deepseek-v4-flash",
"apiBase": "https://openapi.linkwo.ai/v1",
"apiKey": "YOUR_API_KEY"
}
],
"tabAutocompleteModel": {
"title": "LW AI Flash",
"provider": "openai",
"model": "deepseek/deepseek-v4-flash",
"apiBase": "https://openapi.linkwo.ai/v1",
"apiKey": "YOUR_API_KEY"
}
}CodeGPT
- Install the CodeGPT extension from the VS Code Marketplace
- Open Settings → Extensions → CodeGPT
- Set the API provider to "OpenAI Compatible"
- Set Base URL to
https://openapi.linkwo.ai/v1 - Enter your LW AI API key
- Set the model ID (e.g.,
deepseek/deepseek-v4-pro)
Generic OpenAI-Compatible Extension
For any extension that supports OpenAI-compatible APIs:
- Set API Base URL to
https://openapi.linkwo.ai/v1 - Set API Key to your LW AI key
- Set Model to a LW AI model ID