GPT-4 Class. Bilingual Excellence.
Premium general intelligence for demanding production workloads.
| Metric | Official Price | tokencnn.com Price |
|---|---|---|
| Input | ¥5.00 | ¥7.50 |
| Output | ¥5.00 | ¥7.50 |
* tokencnn.com applies a 1.5x multiplier on official pricing for gateway and aggregation services.
curl -X POST https://api.tokencnn.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4-plus",
"messages": [{"role": "user", "content": "Compare REST and gRPC for microservices"}],
"temperature": 0.7
}'
import openai
client = openai.OpenAI(
base_url="https://api.tokencnn.com/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="glm-4-plus",
messages=[
{"role": "user", "content": "Explain quantum entanglement to a high school student"}
],
temperature=0.6,
max_tokens=2048
)
print(response.choices[0].message.content)
Get your API key in minutes and start integrating China's best AI models.
Get API Key →