メインコンテンツへスキップ
更新日: 2026-06-06

Chat Completion Object

/v1/chat/completions returns chat.completion for non-streaming requests and chat.completion.chunk for streaming requests. This page focuses on the most stable, broadly useful OpenAI-compatible response structure on Crazyrouter today.

Non-streaming object

Minimal production request:
cURL
Typical production response skeleton:

How to read it

  • message.content is the final text answer
  • message.tool_calls only appears when the model is requesting tool execution
  • message.reasoning_content may appear for some models or routes, but should not currently be treated as a guaranteed field

Streaming object

For streaming requests, the server returns chat.completion.chunk SSE events:
Common SSE shape:

Fields you will usually care about

Upstream models may pass through extra fields. Client code should rely on the stable common fields first rather than assuming every model exposes the same extensions.