Official SDK (recommended)
Install the published client from PyPI:Chat completions (/v1/chat/completions)
For models that use the chat route:
Responses with metadata
Pass metadata={...} into create_response when the model supports it. See Responses.

