CherryINCherryIN
New API Guides

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:

  1. Finished Quick Start and obtained your CherryIN API key
  2. Installed Cline
  3. 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:

FieldValue
Base URLhttps://open.cherryin.net/v1
API KeyYour CherryIN API key
Model IDanthropic/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.


If you're mainly using Cline for coding tasks, these are good starting points:

Model IDBest for
anthropic/claude-sonnet-4.5Everyday coding, refactoring, code explanation
anthropic/claude-opus-4Complex analysis and long-context tasks
google/gemini-2.5-flashFaster 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/v1

Many setup issues happen because /v1 was omitted.

Authentication still fails after I pasted the key

Check these points:

  1. The key was created in the CherryIN console
  2. There are no extra spaces around the key
  3. Your account has available balance and the key is active

Next steps