Skip to main content
Cline has a dedicated OpenAI Compatible provider with fields for the base URL, API key, model ID, context settings, and displayed prices.

Configure Cline

1

Open provider settings

Install Cline in VS Code, open the Cline panel, then choose the settings icon.
2

Select the provider

Set API Provider to OpenAI Compatible.
3

Enter gateway settings

Set Base URL to https://api.snapgen.org/v1, enter your SnapGen API key, and set Model ID to an exact text model ID.
4

Set displayed pricing

Enter the model’s input and output price from its SnapGen model page so Cline’s local cost estimate uses the correct rate.
5

Verify

Use Cline’s verification control, then send a small read-only task before enabling automatic edits or terminal actions.

Example settings

Cline’s context-window and capability fields are client-side declarations. Do not guess a context size or enable image/computer-use support unless you have verified it for the selected model.

Troubleshooting

Re-enter the API key and make sure no whitespace was included. Confirm the base URL ends in /v1.
Call GET /v1/models with the same key and copy an exact returned model ID.
Cline does not fetch SnapGen pricing automatically. Update its model configuration with the input and output rates shown on the individual model page.
Test another text route and reduce optional capability declarations. A successful Chat Completions request does not guarantee identical agent-tool behavior across models.