Cherry Studio API Configuration

Cherry Studio API Configuration Guide

Cherry Studio is a modern, feature-rich desktop AI client that supports multiple LLM providers through a clean, intuitive interface. It has gained popularity for its ability to manage multiple AI conversations, support various model providers, and provide a polished user experience on Windows, macOS, and Linux. This guide walks you through configuring Cherry Studio to work with different AI API providers, including relay services for enhanced access.

What Is Cherry Studio?

Cherry Studio is a free, open-source desktop application for interacting with AI language models. Think of it as a powerful ChatGPT-like interface that you run locally, with the flexibility to connect to any AI provider you choose. Key features include:

Installation

Download Cherry Studio from its official GitHub releases page. It is available as:

After installation, launch Cherry Studio. The first step is configuring an AI model provider.

Configuring API Providers

Cherry Studio supports adding multiple API providers. Navigate to Settings (gear icon) and then Model Providers to add a new provider.

Setting Up with claude4u.com (Recommended)

Using a relay service gives you access to multiple AI models through a single configuration. Here is how to set it up:

  1. Open Cherry Studio and go to Settings > Model Providers
  2. Click Add Provider or select the OpenAI-compatible option
  3. Configure the following settings:
Provider Name: Claude4U
API Endpoint: https://claude4u.com
API Key: your-api-key-from-claude4u
API Format: OpenAI Compatible
  1. Click Check Connection to verify the setup
  2. The available models will be loaded automatically
When using claude4u.com as your provider in Cherry Studio, you get access to Claude, GPT, and Gemini models through a single API key. You can switch between models in the chat interface without reconfiguring the provider settings.

Setting Up Direct Provider Access

Anthropic Claude (Direct)

Provider Name: Anthropic
API Endpoint: https://api.anthropic.com
API Key: sk-ant-api03-...
API Format: Anthropic

OpenAI GPT (Direct)

Provider Name: OpenAI
API Endpoint: https://api.openai.com
API Key: sk-...
API Format: OpenAI

Google Gemini (Direct)

Provider Name: Google Gemini
API Endpoint: https://generativelanguage.googleapis.com
API Key: your-google-ai-key
API Format: Gemini

Local Models via Ollama

Provider Name: Ollama Local
API Endpoint: http://localhost:11434
API Key: (leave empty)
API Format: OpenAI Compatible

Optimizing Your Cherry Studio Setup

Custom System Prompts

Cherry Studio lets you save and reuse system prompts. Create specialized prompts for different tasks:

Conversation Organization

Use Cherry Studio's folder system to organize conversations by project or topic. This makes it easy to revisit previous AI interactions and maintain context across related conversations. You can also export conversations as Markdown files for documentation.

Model Selection Strategy

Cherry Studio makes it easy to switch between models mid-conversation. Use this to your advantage:

Keyboard Shortcuts

Cherry Studio supports keyboard shortcuts for efficient workflow:

Troubleshooting Common Issues

If you encounter problems connecting Cherry Studio to your API provider, check these common issues:

When configuring multiple API providers in Cherry Studio, remember that each provider stores your API key locally on your machine. If you share your computer or back up your Cherry Studio settings, ensure API keys are not exposed. Consider using a single relay service like claude4u.com instead of multiple direct provider keys to minimize the number of credentials stored locally.

Why Use Cherry Studio with a Relay Service?

Combining Cherry Studio with an API relay service like claude4u.com is the simplest and most flexible setup. You configure one provider with one API key, and instantly gain access to every available model. There is no need to manage separate accounts or API keys for each provider, billing is unified, and you benefit from the relay service's load balancing and higher rate limits. It is the fastest path to a fully functional multi-model AI desktop assistant.

Get Started with 轻舟 AI

Stable, fast AI API relay — supports Claude, OpenAI, Gemini and more

Sign Up Free