Build an API request
Language
curl
Python
JavaScript
API
OpenAI chat
Responses
Anthropic
Model
Options
Thinking
the model reasons before answering
Stream
tokens arrive as they're generated
Structured output
you define the schema of the reply
Image input
send a picture along with the text
Tools
let the model call a function
POST
Send
Copy
Response