Skip to main content
Cline is an AI coding assistant for VS Code that can read and edit files, run commands, and work through multi-step development tasks. Venice works through Cline’s OpenAI-compatible provider settings.

VS Code Integration

Use Venice models without leaving your editor

OpenAI Compatible

Connect through Venice’s /chat/completions endpoint

Model Flexibility

Choose any compatible Venice text model

Prerequisites


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:
Copy a model’s id exactly into Cline’s Model ID field.

Configuration Notes

  • Use https://api.venice.ai/api/v1 as the Base URL, not the full /chat/completions endpoint.
  • Model IDs can change over time. Use the text model catalog or GET /models instead 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

Confirm that the API key comes from venice.ai/settings/api. Paste the raw key into Cline without Bearer or extra whitespace.
Confirm that the Model ID appears in the text model catalog or the response from GET /models, then copy it exactly.
Confirm that API Provider is OpenAI Compatible and the Base URL is exactly https://api.venice.ai/api/v1.
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