| HTTP path | /v1/chat/completions | /v1/responses | /v1/messages |
| Auth field (SDK constructor) | apiKey | apiKey | authToken |
baseURL suffix to use with SERV | /v1 | /v1 | (none) |
| Token cap field | max_completion_tokens | max_output_tokens | max_tokens (required) |
| System prompt | message with role:"system" or "developer" | top-level instructions, or a system/developer input message | top-level system |
| User message shape | {role, content} in messages[] | top-level input (string or array) | {role, content} in messages[] |
| Reasoning-effort control | reasoning_effort | reasoning: { effort, summary } | thinking: { type:"enabled", budget_tokens } |
| Streaming | stream: true | stream: true | stream: true |
| Stop sequences | stop | n/a | stop_sequences |
| Tool schema | tools: [{type:"function", function:{name, parameters}}] | tools: [{type:"function", ...}] | tools: [{name, input_schema}] (no nested function:) |
| Tool choice | tool_choice: "auto" | {type:"function", function:{name}} | tool_choice: ... | tool_choice: {type:"auto"} | {type:"any"} | {type:"tool", name} |
| Response text | choices[0].message.content | output_text or output[] blocks | content[] array, find the type === "text" block |
| Token usage | usage.prompt_tokens / completion_tokens / total_tokens | usage.input_tokens / output_tokens / total_tokens | usage.input_tokens / output_tokens |
| Cache metrics | usage.prompt_tokens_details.cached_tokens | usage.input_tokens_details.cached_tokens | usage.cache_read_input_tokens, usage.cache_creation_input_tokens |