Overview
Zynthii AI provides an OpenAI-compatible API for accessing China's best AI models — DeepSeek, Qwen, Kimi, GLM, and more. Drop in your Zynthii key and you're good to go.
https://api.zynthii.com/v1Authentication
All requests must include your Zynthii API key in the Authorization header. Get your key from the dashboard.
Authorization: Bearer zyn-your-key-hereEndpoint
/v1/chat/completionsFully compatible with the OpenAI Chat Completions API. Supports both streaming and non-streaming responses.
Models
deepseek-ai/DeepSeek-V4-FlashBest price-performance ratio
deepseek-ai/DeepSeek-V3Powerful general-purpose model
deepseek-ai/DeepSeek-R1Best for complex reasoning tasks
Pro/deepseek-ai/DeepSeek-R1Enhanced R1 with higher limits
Qwen/Qwen3-235B-A22BAlibaba flagship model
Pro/moonshotai/Kimi-K2.6Long context specialist
Pro/zai-org/GLM-5.1Zhipu AI latest model
Examples
Python
from openai import OpenAI
client = OpenAI(
api_key="zyn-your-key-here",
base_url="https://api.zynthii.com/v1",
)
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Node.js
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'zyn-your-key-here',
baseURL: 'https://api.zynthii.com/v1',
});
const response = await client.chat.completions.create({
model: 'deepseek-ai/DeepSeek-V4-Flash',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content);cURL
curl https://api.zynthii.com/v1/chat/completions \
-H "Authorization: Bearer zyn-your-key-here" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek-ai/DeepSeek-V4-Flash", "messages": [{"role": "user", "content": "Hello!"}]}'Streaming
Add stream: true to receive server-sent events.
response = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4-Flash",
messages=[{"role": "user", "content": "Hello!"}],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.content, end="")Errors