Skip to content

Clients ​

Point the client at this site and put the token in the key field. Do not use another gateway's address.

Pick the base URL from how the client builds paths:

What the client expectsValue
An OpenAI base URL. It appends paths such as chat/completionshttps://uni.sointech.com.cn/v1
A site origin. It requests /v1/chat/completions itselfhttps://uni.sointech.com.cn

The key is the sk-... token from the console. Do not include the Bearer prefix in the key field. Bearer belongs only in the HTTP header.

OpenAI Python SDK ​

python
from openai import OpenAI

client = OpenAI(
    api_key="sk-your-token",
    base_url="https://uni.sointech.com.cn/v1",
)

response = client.chat.completions.create(
    model="qwen-plus",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Install it with pip install openai. Keep the trailing /v1 on base_url.

OpenAI Node SDK ​

javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "sk-your-token",
  baseURL: "https://uni.sointech.com.cn/v1",
});

const response = await client.chat.completions.create({
  model: "qwen-plus",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);

Claude SDK ​

The official Claude SDK and Claude Code use a different path. Do not append OpenAI's /v1. The origin is https://uni.sointech.com.cn, and the SDK requests /v1/messages. Fields and examples are in Claude-compatible.

python
import anthropic

client = anthropic.Anthropic(
    api_key="sk-your-token",
    base_url="https://uni.sointech.com.cn",
)

Compatible desktop clients ​

Choose an OpenAI-compatible or custom provider, then:

  1. Fill the address from the table above. Do not append /v1 twice.
  2. Put the token in the API key field.
  3. Use an id from the model list. Do not keep a model name that this site does not offer.

For a client such as Cherry Studio, choose the OpenAI-compatible provider, set the address to https://uni.sointech.com.cn, and set the key to the token. If the request path becomes /v1/v1/chat/completions, the address already contained /v1. Remove it.

Prices are whatever the model catalog shows at request time.