Quick start examples for the YingSuan AI LLM API platform.
- OpenAI-compatible API - Just change
base_url, no code rewrite needed - No credit card required - Pay via Wise bank transfer
- DeepSeek models -
deepseek-chatanddeepseek-reasoner - Targeted for Southeast Asia - Optimized for developers in VN/TH/ID/PH/MY/SG
Email yingsuan_service@163.com with your name, country, and desired plan.
from openai import OpenAI
client = OpenAI(
api_key="sk-your-yingsuan-key",
base_url="https://yingsuan.top/v1"
)
response = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)See examples/python/ for full examples.
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'sk-your-yingsuan-key',
baseURL: 'https://yingsuan.top/v1',
});
const response = await client.chat.completions.create({
model: 'deepseek-chat',
messages: [{ role: 'user', content: 'Hello!' }],
});See examples/nodejs/ for full examples.
curl https://yingsuan.top/v1/chat/completions -H "Authorization: Bearer sk-your-yingsuan-key" -H "Content-Type: application/json" -d '{"model":"deepseek-chat","messages":[{"role":"user","content":"Hello!"}]}'| Endpoint | Method | Description |
|---|---|---|
/v1/chat/completions |
POST | Chat completions |
/v1/models |
GET | List models |
/v1/usage |
GET | Check usage |
Full docs: yingsuan.top/api.html
| Plan | RPM | Minimum |
|---|---|---|
| Starter | 10 | $50 |
| Standard | 30 | $200 |
| Professional | 60 | $500 |
| Enterprise | Unlimited | Custom |
MIT
yingsuan.top - GPU & LLM API for Southeast Asia