51cowork APIDocs
Open docs navigation

Guides

Desktop tool and IDE setup

Cursor, Cherry Studio, and WorkBuddy can use the OpenAI-compatible API. The standard Base URL is https://api.51cowork.com/v1; see the table for each tool’s address format.

Quick answer

Set the endpoint, API Key, and model ID from /v1/models in the tool’s model settings. Check automatic path handling and keep Keys out of Git.

Protocol
OpenAI-compatible
Base URL
https://api.51cowork.com/v1
Models
Dynamic list
Credential
IDE Secret
01

Endpoint addresses

ToolAddressConfiguration
Cursorhttps://api.51cowork.com/v1Custom OpenAI Base URL
Cherry Studiohttps://api.51cowork.comOpenAI type; appends /v1/chat/completions
WorkBuddyhttps://api.51cowork.com/v1/chat/completionsCustom; enable Custom Protocol to use the full URL
02

Cursor

  1. 1Open the provider or API settings.
  2. 2Enter the OpenAI Base URL: https://api.51cowork.com/v1.
  3. 3Paste the current full Key from Dashboard.
  4. 4Test with an ID returned by /v1/models.
  5. 5Disable Prompt and Authorization logging.
03

VS Code extensions

Extensions differ in Base URL field names, automatic /v1 appending, and Responses support. Choose one that explicitly supports a custom OpenAI endpoint and verify the final request URL.

04

Browser boundary