API Documentation

Build on a unified OpenAI-compatible interface with enterprise reliability and console observability.

Base API Endpoint

https://api.ciyuanqiao.com/v1

Current routing

Console: console.ciyuanqiao.com

OpenAI-compatible API: api.ciyuanqiao.com

Quick Start

01

Enter the New API console from the brand site to register, sign in, and create an API key.

02

Point your client to the current API domain and use the Bearer token issued in the console.

03

Top-ups, billing, usage logs, and enabled model capabilities are managed in the console.

Compatible Endpoints

  • POST /v1/chat/completions stable and recommended for production
  • POST /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.com Current user console entrypoint for sign-in, top-ups, API keys, billing, and usage logs.
  • https://api.ciyuanqiao.com/v1/chat/completions The primary OpenAI-compatible chat endpoint.
  • https://api.ciyuanqiao.com/v1/completions Compatibility 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.

Python
Node.js
Go