Create a chat completion
Gateway endpoints
Chat Completions
Compatibility endpoint for OpenAI Chat Completions clients. Uses the same Cloud stack, billing, and trace runtime as /v1/responses.
POST
Create a chat completion
POST /v1/chat/completions is the compatibility endpoint for clients that still use OpenAI Chat Completions.
It uses the same Cloud auth, stack resolution, routing, billing, fallback, verification, and trace runtime as /v1/responses.
Recommended request
Prefer Responses for new clients
Use/v1/responses for new integrations when your client supports it. Keep Chat Completions for existing libraries and compatibility paths.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json

