← Help Center· Code Editor
Cursor supports overwriting the interface address of OpenAI, so it can be directly connected to our gear.
It is recommended to usenewcclm-coding。
OpenSet up → Models(or the Settings → Models → OpenAI API Key area), expand and fill in:
After filling in, click theVerify(verify). It is ready to use if it shows success.
newcclm-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.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.
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.
# Wrong
https://sccclm.com
https://sccclm.com/v1/chat/completions
https://sccclm.com/v1/v1
# Correct
https://sccclm.com/v1
# Wrong
gpt-4o
claude-3-5-sonnet
# Correct
newcclm-coding # or newcclm-fast
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"}]}'
| Phenomenon | Possible causes |
|---|---|
| Verify failed | Incorrect Base URL or Key |
| Verify succeeded but the conversation reported an error | Turn off the built-in features (such as Tab completion) |
| Halfway back to interrupt | Network middle layer buffers streaming; contact company network administrator or switch network |
| Hint model does not exist | The model name is filled in with the real model name |
1. Screenshot of the column on the settings page (key coding)
2. Complete error reported by Cursor
3. The output of curl above