Sign in
Create chat completion
POST
/chat/completions
Supports ChatGPT, Claude, Gemini, DeepSeek and many other AI models. Call a single endpoint and switch models by parameter to access all major international models.
Request Body
application/json
JSON "model": "gpt-4o", "messages": [ { "role": "user", "content": "Hello, please introduce yourself" } ], "stream": false
{
}
Responses
Chat completion response
application/json
JSON "id": "string", "object": "chat.completion", "created": 0, "model": "string", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Hello! How can I assist you today?" }, "finish_reason": "string" } ], "usage": { "prompt_tokens": 0, "completion_tokens": 0, "total_tokens": 0 }
{
}