🚀 Global API Gateway

One API to Access
China's Best LLMs

Deployed overseas. Zero GFW issues. OpenAI-compatible interface. Access DeepSeek, Qwen, GLM, Kimi and more with a single API key.

11+ Models
4 Providers
95% Cost Savings
1M Context Window

Supported Providers

Connect to China's leading AI model providers through one unified API

Model Versions

Detailed specifications and capabilities of every model available

Transparent Pricing

Pay only for what you use. No monthly subscriptions. Up to 95% cheaper than OpenAI.

Provider Model Input (Cache Hit) Input (Cache Miss) Output Context

* All prices in USD per 1M tokens. Automatic context caching applies to repeated prompt prefixes.

API Documentation

OpenAI-compatible interface. Switch in 2 lines of code.

🔌

Quick Start

pip install openai
from openai import OpenAI

client = OpenAI(
  api_key="tk-your-key-here",
  base_url="https://your-domain.com/api/v1"
)

response = client.chat.completions.create(
  model="deepseek-v4-flash",
  messages=[
    {"role": "user", "content": "Hello!"}
  ]
)
print(response.choices[0].message.content)
⚙️

cURL Example

curl https://your-domain.com/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer tk-your-key-here" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
📋

Available Endpoints

POST /api/v1/chat/completions Chat completion (proxy)
GET /api/v1/models List all models
GET /api/v1/providers List providers
GET /api/v1/key/info Check API key info
🛠️

Features

  • ✅ OpenAI-compatible format
  • ✅ Streaming (SSE) support
  • ✅ Function Calling / Tool Use
  • ✅ JSON Mode (Structured Output)
  • ✅ Automatic Context Caching
  • ✅ Rate limiting & usage tracking
  • ✅ Multi-provider routing