### POST /v1/chat/completions request and response Source: https://ikhdev.xyz/docs Example request to the OpenAI-compatible endpoint at api.ikhdev.xyz/v1/chat/completions using curl, with the model glm-5.3 and a user message in Russian. The response shows the assistant's reply and token usage. ```bash curl https://api.ikhdev.xyz/v1/chat/completions \ -H "Authorization: Bearer sk-••••" \ -d '{"model":"glm-5.3", "messages":[{"role":"user","content":"Привет"}]}' ``` ```json { "choices": [{ "message": { "role": "assistant", "content": "Привет! Чем помочь?" } }], "usage": { "total_tokens": 27 } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.