Suanlimao
← Back to all tutorials

Connect your tools

Qoder (international)

Add an OpenAI-compatible custom model in the international edition of Qoder.

About 5 minFor:Developers who code in the international edition of Qoder

Before you start

  • The international edition of Qoder is installed and signed in (Qoder CN does not support a custom address — see FAQ)
  • A key and a model name copied from the model plaza

Step 1 · STEP 0x01

Add a model and choose OpenAI Compatible

Settings → Models
1
Add model
2

Custom

OpenAI Compatible
3

API type

Chat Completions API
Diagram only — the real screen in your version may differ

Go to Settings → Models and click Add model. The preset vendors only accept their own keys; under Custom pick OpenAI Compatible (or Anthropic Compatible for Claude-family models). Set API type to Chat Completions API.

Create a key →

Step 2 · STEP 0x02

Enter the Base URL, key and model ID

Add model → OpenAI Compatible
1

Base URL

https://api.suanlimao.shop/v1
2

API key

<YOUR_API_KEY>
3

Model ID

<MODEL_NAME>
4

Display name

Anything you like
5
Add Model ID
Diagram only — the real screen in your version may differ
  • Base URL is https://api.suanlimao.shop/v1 — the official placeholder shows the /v1 form. With Anthropic Compatible use https://api.suanlimao.shop without /v1.
  • Copy the Model ID from the plaza; click Add Model ID to add several.
Per the official docs, custom-model usage is billed by the provider you entered and does not consume Qoder credits; image and video generation are unavailable with custom models.
Don't guess the model name: open the model plaza, click “Copy model id” on a model card and paste it. A wrong model name is the most common error.

Open the model plaza →

Step 3 · STEP 0x03

Select it in chat

Chat
1

Model picker

The model you added
2

Message box

Hello
Diagram only — the real screen in your version may differ
  • Switch the model picker to it and send a message.

✓ How to tell it worked

  • Chat answers with your model.
  • The Usage page shows the request.

FAQ

I use Qoder CN (formerly Lingma) and there is no OpenAI Compatible option.

The CN edition's custom-model page only offers Alibaba Model Studio, Zhipu, Kimi and MiniMax with their own keys and has no Base URL field. Use the international edition, or Trae, Cline or Continue instead.

It cannot connect.

The official checklist: is the Base URL complete, do the protocol and API type match the endpoint, is the key correct without spaces, is the Model ID available, and check balance and network.

Related tutorials

Still stuck?

Read the troubleshooting tutorials first. If that does not help, open a ticket with the request_id, time, model and the exact error (never paste your key).