Skip to main content
Use chat_completions(...) when an existing integration already uses message-based Chat Completions payloads.
For new integrations, prefer the Responses API. It provides one request model for text, multimodal input, tools, and richer output items.
Last modified on July 26, 2026