API Documentation
Ciyuano is fully compatible with OpenAI Chat Completions API. Just change base_url and api_key to integrate seamlessly.
Quick Start
Three steps to get started with AI LLM API.
1
Register & Get API Key
Create an API Key in the dashboard after registration. Format: sk-relay-***
2
Install SDK
Use the official OpenAI SDK, supporting Python, Node.js, and more.
3
Call API
Change base_url to Ciyuano endpoint, then call just like OpenAI.
Python
# 1. Install SDK
pip install openai
# 2. Create client
from openai import OpenAI
client = OpenAI(
base_url="https://www.ciyuano.com/v1",
api_key="sk-relay-your-key"
)
# 3. Call API
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)Model addressing
Both forms are supported. When the same model is offered by multiple providers, use the provider/model form to target a specific provider:
sensenova/sensenova-6.8-flash-lite β recommendedsensenova-6.8-flash-lite β still supported (any provider)GET /v1/models lists both forms. An unknown provider returns 404 with the providers that do have the model.