Skip to main content

Overview

OpenAI Chat Completions API provides access to GPT-4o, GPT-5, and other chat models. This is the standard API for conversational interactions. Model Class: OpenAIChatModel

Authentication

Examples

Model Settings

You can set model parameters in two ways: on the model or on the Agent. On the model:
On the Agent (with model string or model instance):

Parameters