Cline Setup Guide
Complete guide to using CherryIN API with Cline
What is Cline?
Cline is a popular AI coding assistant that helps you read code, edit files, run commands, and complete development tasks inside VS Code and compatible editors.
Because CherryIN provides an OpenAI-compatible API, you can connect it through Cline's OpenAI Compatible provider.
Before you start
Make sure you have:
- Finished Quick Start and obtained your CherryIN API key
- Installed Cline
- Picked a model ID such as
anthropic/claude-sonnet-4.5
Setup Steps
Open Cline Settings
Open the Cline panel in your editor and click the settings button in the top-right corner to enter the provider configuration page.
UI may vary slightly by version
Different Cline versions may place the controls a little differently, but you should still find fields such as API Provider, Base URL, API Key, and Model in the settings view.
Select OpenAI Compatible
Choose OpenAI Compatible in the API Provider dropdown.
Then fill in the values like this:
| Field | Value |
|---|---|
Base URL | https://open.cherryin.net/v1 |
API Key | Your CherryIN API key |
Model ID | anthropic/claude-sonnet-4.5 |
If you also see advanced options such as context window, max output, or pricing metadata, you can keep the defaults first and tune them later.
Save and Test
Save the settings and send Cline a simple message such as:
Read the current project structure and tell me what this repository is for.If you get a normal response, the setup is working.
Recommended models
If you're mainly using Cline for coding tasks, these are good starting points:
| Model ID | Best for |
|---|---|
anthropic/claude-sonnet-4.5 | Everyday coding, refactoring, code explanation |
anthropic/claude-opus-4 | Complex analysis and long-context tasks |
google/gemini-2.5-flash | Faster responses and cost-sensitive usage |
FAQ
My model isn't in the dropdown
Some Cline provider setups allow manual model entry. Paste the full model ID directly, for example anthropic/claude-sonnet-4.5.
I get a 404 or request failure
First, verify that your Base URL is exactly:
https://open.cherryin.net/v1Many setup issues happen because /v1 was omitted.
Authentication still fails after I pasted the key
Check these points:
- The key was created in the CherryIN console
- There are no extra spaces around the key
- Your account has available balance and the key is active
Next steps
- Want the universal rules first? See OpenAI-Compatible Setup Guide
- Want direct code examples? See Code Tutorial
CherryIN