Send messages to OpenAI and receive AI responses.
Note: The AI model is configured server-side and cannot be specified in the request.
The max_tokens parameter is capped to the server-configured limit.
x402 Payment Required: This endpoint requires payment via the x402 protocol (version 1).
x-payment headerX-Payment header with signed payment authorizationx402 v1 payment authorization header (base64-encoded JSON). Include on second request after receiving 402.