/v1/chat/completions
Use with OpenAI SDKs, Cherry Studio, Cline, Open WebUI, and most tool clients.
Nothing matches that. Try a protocol, a capability or an endpoint path.
Choose the request format your application already uses. One ChinaAPI key and one Base URL work across all three.
Use with OpenAI SDKs, Cherry Studio, Cline, Open WebUI, and most tool clients.
Route Claude Messages API payloads while keeping the same gateway key and quota controls.
Use with Codex and other clients built on the Responses API. The console marks which models accept it.
POST /v1beta/models/{model}:generateContent. Only gemini-* models offer it, and not all of them do — each model's entry in Models lists the formats it accepts. Everything else takes one of the three formats above.