VS Code Integration
Use Venice models without leaving your editor
OpenAI Compatible
Connect through Venice’s
/chat/completions endpointModel Flexibility
Choose any compatible Venice text model
Prerequisites
- A Venice API key from venice.ai/settings/api
- Visual Studio Code installed
- The Cline extension installed in VS Code
Setup
1
Open Cline settings
Select the Cline icon in the VS Code activity bar, then select the gear icon to open Cline’s settings.
2
Choose the API provider
Set API Provider to OpenAI Compatible.
3
Configure Venice
Enter the following values:
For example, use
zai-org-glm-5-1 as the Model ID.Enter the API key itself, without a Bearer prefix. Keep the Base URL at /api/v1; Cline adds the /chat/completions path.4
Configure model capabilities
Expand Model Configuration and set the context window and maximum output tokens to match the selected model. Enable the capabilities that the model supports, including image input or computer use when applicable.Check the selected model in the text model catalog before enabling optional capabilities.
5
Save and test
Save the provider settings, open a project, and give Cline a small task such as:Review each file or command permission before approving it.
Verify the Venice API
If Cline cannot connect, confirm the API key and available model IDs independently:id exactly into Cline’s Model ID field.
Configuration Notes
- Use
https://api.venice.ai/api/v1as the Base URL, not the full/chat/completionsendpoint. - Model IDs can change over time. Use the text model catalog or
GET /modelsinstead of relying on an older example. - Cline’s context-window and output-token settings affect how it budgets requests. Match them to the selected model for the best results.
- Keep your Venice API key private. Do not paste it into source files or commit it to git.
Troubleshooting
401 or authentication error
401 or authentication error
Confirm that the API key comes from venice.ai/settings/api. Paste the raw key into Cline without
Bearer or extra whitespace.Model not found
Model not found
Confirm that the Model ID appears in the text model catalog or the response from
GET /models, then copy it exactly.Connection or endpoint error
Connection or endpoint error
Confirm that API Provider is OpenAI Compatible and the Base URL is exactly
https://api.venice.ai/api/v1.Cline cannot use tools or edit files
Cline cannot use tools or edit files
Open Model Configuration, confirm that the selected model supports the required capabilities, and enable computer use if Cline exposes that option for the model.
Resources
Original Venice Cline Guide
Read the canonical Venice article
Venice Text Models
Browse available Venice model IDs
Cline Provider Docs
OpenAI-compatible provider settings
Venice API Reference
Full endpoint and parameter docs