API Documentation
Build on a unified OpenAI-compatible interface with enterprise reliability and console observability.
Base API Endpoint
https://api.ciyuanqiao.com/v1Current routing
Console: console.ciyuanqiao.com
OpenAI-compatible API: api.ciyuanqiao.com
Quick Start
Enter the New API console from the brand site to register, sign in, and create an API key.
Point your client to the current API domain and use the Bearer token issued in the console.
Top-ups, billing, usage logs, and enabled model capabilities are managed in the console.
Compatible Endpoints
POST /v1/chat/completions— stable and recommended for productionPOST /v1/completions— compatibility shim that currently forwards through chat while returning a completion-shaped payload; streaming is not supported yet- The console and OpenAI-compatible API are currently powered by the New API gateway; additional routes depend on capabilities enabled there.
Request Example
curl https://api.ciyuanqiao.com/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-mini",
"messages": [{"role":"user","content":"Hello"}]
}'Base URL in this doc: https://api.ciyuanqiao.com
Create the API key in the console.ciyuanqiao.com console first, then use it as a Bearer token.
Usage and Dashboard
https://console.ciyuanqiao.comCurrent user console entrypoint for sign-in, top-ups, API keys, billing, and usage logs.https://api.ciyuanqiao.com/v1/chat/completionsThe primary OpenAI-compatible chat endpoint.https://api.ciyuanqiao.com/v1/completionsCompatibility route; availability depends on what is enabled in the console.
Channels & billing
Upstream channels, pricing multipliers, top-ups, and billing are managed in the New API console; the brand site focuses on docs, pricing guidance, and the playground.
OpenAI Compatible SDKs
Token Bridge follows the OpenAI API shape — swap base URL and API key to reuse existing clients.