Request
The conversation so far. Must include a system or developer message. Each entry has a
role (system, user, assistant, or tool) and content.Maximum number of tokens to generate. SERV may lower it when your balance is low; see low balance.
service_tieris removed, since requests are billed at the standard rate.metadatais read for SERV options such asprompt_cacheand is not forwarded.storeis always sent asfalseto OpenAI models, so completions are not stored for OpenAI’s distillation and evals products. Unless zero data retention is enabled, OpenAI may still retain inputs and outputs for abuse monitoring for up to 30 days, or longer when required by law or reasonably necessary to protect its services or others from harm.web_search_options,plugins,models,routeandmcp_serversare rejected with a400.toolsaccepts onlyfunctionandcustomtool types; any other type returns a400.

