Given a prompt, the model will return one or more predicted completions and can also provide the probabilities of alternative tokens at each position. Create completions for the provided prompt and parameters Official documentation: https://platform.openai.com/docs/api-reference/chat/create
Request
Header Params
Body Params application/json
Example
{"model":"gpt-5-mini","max_tokens":1000,"messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"hello"}],"temperature":1.0,"stream":true,"stream_options":{"include_usage":true}}