← Help Center· Code Editor

Connect Newcclm with Cursor

Cursor supports overwriting the interface address of OpenAI, so it can be directly connected to our gear. It is recommended to usenewcclm-coding。

Different versions of Cursor are set in different locations. The following are the paths of recent versions; if your interface is different from what I wrote, Search「OpenAI」 or 「Base URL」to find that column.

1. Override OpenAI interface address

OpenSet up → Models(or the Settings → Models → OpenAI API Key area), expand and fill in:

Fill in these values

Override OpenAI Base URLhttps://sccclm. com/v1
API KeyYour sk- * key
Modelnewcclm-coding

After filling in, click theVerify(verify). It is ready to use if it shows success.

Why usenewcclm-coding?It has been optimized for long codes, multiple files, and tool calls, and is more stable in scenarios such as Cursor that require repeated reading and modification of files.

2. Turn off incompatible built-in features

Some functions of Cursor are tied to its own model, and using third-party interfaces will report errors or behave abnormally. After connecting us, it is recommended to turn off:

Chat and code Q&A are unaffected and work as normal.

3. Don't match it like this

Don't use the “Anthropic” or “Google” columns

There are input boxes for different manufacturers in Cursor. We can only fill in our address in the OpenAI field—— We use the OpenAI protocol, and if you fill in the Anthropic column, you will not be able to connect directly.

Base URL don't miss/not much

# Wrong
https://sccclm.com
https://sccclm.com/v1/chat/completions
https://sccclm.com/v1/v1

# Correct
https://sccclm.com/v1

Do not enter the real model name

# Wrong
gpt-4o
claude-3-5-sonnet

# Correct
newcclm-coding   # or newcclm-fast

4. Take a test

Run this in the terminal first to confirm that the key and address are OK. This works but Cursor doesn't work. It’s a matter of Cursor settings:

curl https://sccclm.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
-d '{"model":"newcclm-coding","messages":[{"role":"user","content":"Hello"}]}'
PhenomenonPossible causes
Verify failedIncorrect Base URL or Key
Verify succeeded but the conversation reported an errorTurn off the built-in features (such as Tab completion)
Halfway back to interruptNetwork middle layer buffers streaming; contact company network administrator or switch network
Hint model does not existThe model name is filled in with the real model name

Still not working

1. Screenshot of the column on the settings page (key coding)
2. Complete error reported by Cursor
3. The output of curl above

← Chatbox · Return to the Help Center · NextChat →