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
Troubleshooting
Verification returns 401
Verification returns 401
Re-enter the API key and make sure no whitespace was included. Confirm the
base URL ends in
/v1.Verification returns model_not_found
Verification returns model_not_found
Call
GET /v1/models with the same key and
copy an exact returned model ID.Cline's cost display is wrong
Cline's cost display is wrong
Cline does not fetch SnapGen pricing automatically. Update its model
configuration with the input and output rates shown on the individual model
page.
Tool calls fail but plain chat works
Tool calls fail but plain chat works
Test another text route and reduce optional capability declarations. A
successful Chat Completions request does not guarantee identical agent-tool
behavior across models.