Skip to content

Integration guide

Cherry Studio Custom Provider & HK Low-Latency Setup Guide

Add ProxyStacks Relay as an OpenAI-compatible provider in Cherry Studio desktop (https://proxystacks.com or low-latency APAC CN2 https://hk.proxystacks.com) to use Funsion (-50%), GPT-6.1 Sol (-30%), DeepSeek V4.1 Flash, GLM-5.3, and Kimi K3.1 Pro across chat, translation, and MCP assistants.

Setup

  1. 1

    Create an API key (sk-relay-...) in the ProxyStacks Relay console.

  2. 2

    Open Cherry Studio → Settings (⚙️) → Model Provider → Add, choose OpenAI, and enter https://proxystacks.com (or https://hk.proxystacks.com for APAC low latency) as API Host.

  3. 3

    Click Manage to fetch all servable models automatically from /v1/models, enable reasoning/tool toggles as needed, and run Check to verify.

Configuration

deepseek-v4.1-flash
Cherry Studio → Model Provider
{
  "provider": "OpenAI",
  "apiHost": "https://proxystacks.com",
  "apiKey": "sk-relay-your-key",
  "model": "deepseek-v4.1-flash"
}

Enter https://proxystacks.com or https://hk.proxystacks.com without a trailing slash — Cherry Studio appends /v1/chat/completions automatically and previews the full URL below the input.

Advanced config: environment variable API key, multi-model routing & max output tokens

Use a project-specific config or multi-profile setup with environment variable keys, flagship and fast models — Funsion Opus/Sonnet 5.5 (-50%), GPT-6.1 Sol / GPT-6 Luna (-30%), DeepSeek V4.1 Flash (-40%), GLM-5.3 & Kimi K3.1 Pro (-30%) — and explicit context/output token limits.

Cherry Studio Provider Preset (HK CN2)
{
  // Cherry Studio → Settings → Model Provider → Add Provider (OpenAI-compatible)
  // Note: Cherry Studio automatically appends /v1/chat/completions when API Host has no trailing slash;
  // for Mainland China & APAC low latency, set apiHost to "https://hk.proxystacks.com"
  "name": "ProxyStacks Relay",
  "type": "openai",
  "apiHost": "https://hk.proxystacks.com",
  "apiKey": "sk-relay-your-key",
  "models": [
    { "id": "funsion-sonnet-5-5", "name": "Funsion Sonnet 5.5 (-50%)", "group": "Funsion" },
    { "id": "gpt-6.1-sol", "name": "GPT-6.1 Sol (-30%)", "group": "GPT-6" },
    { "id": "deepseek-v4.1-flash", "name": "DeepSeek V4.1 Flash", "group": "DeepSeek" },
    { "id": "glm-5.3", "name": "GLM-5.3", "group": "GLM" },
    { "id": "kimi-k3.1-pro", "name": "Kimi K3.1 Pro", "group": "Kimi" }
  ]
}

Troubleshooting

  • 401: check the Relay key and authentication header. Never paste a secret into a support ticket.
  • 404: use an exact published model ID and the documented base URL, not an upstream alias.
  • For streaming use stream: true. Codex uses Responses; keep disable_response_storage = true.

Common questions

Why does Cursor's Verify button fail after setting Override OpenAI Base URL?

When you click Verify in Cursor Settings → Models, Cursor tests whichever model toggles are currently active. First save https://proxystacks.com/v1 under Override OpenAI Base URL and paste your sk-relay-... key, then add funsion-sonnet-5-5 or deepseek-v4.1-flash via + Add model and turn off unused default OpenAI model switches before clicking Verify.

Which custom model IDs should I add in Cursor for Agent, Composer, and fast edits?

Add funsion-sonnet-5-5 (50% off Claude 5.5 benchmark) for daily multi-file Agent & Composer work, gpt-6.1-sol (-30%) for complex architecture and debugging, glm-5.3 ($0.98/1M input) for 1M-token repository context, and deepseek-v4.1-flash ($0.18/1M input) for fast inline edits — all billed from one prepaid balance (starting from US$10).

Does Override OpenAI Base URL break Cursor Tab autocomplete or .cursor/mcp.json servers?

No. Cursor Tab uses Cursor's dedicated completion service independently of your OpenAI Base URL override, and MCP servers configured in .cursor/mcp.json continue to expose local or remote tools to funsion-sonnet-5-5 and gpt-6.1-sol in Agent mode.

All docs