Quick Start
1. Create an account
Open the console and sign up.
2. Add balance
Start with a small amount for testing.
3. Create an API key
Create a token in the console and copy the sk-... key.
4. Configure your client
Set Base URL to https://jbbtoken.cn/v1.
Configuration
| Field | Value | Notes |
|---|---|---|
| Base URL | https://jbbtoken.cn/v1 | Do not append /chat/completions manually in most tools. |
| API Key | sk-your-jbbtoken-key | Keep it private. Do not expose it in frontend code. |
| Provider | OpenAI-compatible / Custom OpenAI | Names differ by client. |
curl
curl https://jbbtoken.cn/v1/chat/completions \
-H "Authorization: Bearer sk-your-jbbtoken-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.4-mini",
"messages": [{"role": "user", "content": "Say hello."}]
}'Python
from openai import OpenAI
client = OpenAI(
api_key="sk-your-jbbtoken-key",
base_url="https://jbbtoken.cn/v1",
)
response = client.chat.completions.create(
model="gpt-5.4-mini",
messages=[{"role": "user", "content": "Write a short title."}],
)
print(response.choices[0].message.content)Node.js
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-your-jbbtoken-key",
baseURL: "https://jbbtoken.cn/v1",
});
const response = await client.chat.completions.create({
model: "gpt-5.4-mini",
messages: [{ role: "user", content: "Write a short title." }],
});
console.log(response.choices[0].message.content);Client Setup
| Client | Provider | Base URL |
|---|---|---|
| Cursor | OpenAI-compatible or custom OpenAI endpoint | https://jbbtoken.cn/v1 |
| OpenWebUI | OpenAI API | https://jbbtoken.cn/v1 |
| Chatbox | OpenAI API Compatible | https://jbbtoken.cn/v1 |
| Cherry Studio | OpenAI | https://jbbtoken.cn/v1 |
If a client only supports a provider-specific native protocol, check whether it also supports OpenAI-compatible endpoints.
JBBToken Docs