OpenAI models and defaults
Find out which model runs when you do not name one, the three places where you can change it, and the two model classes the SDK uses to talk to OpenAI.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.
Written from the official documentation
In this module: Models and configuration
- OpenAI models and defaultsThe default model, how to change it and the two model classes.Pro
- ModelSettings, timeouts and retriesTune requests, cap model call time and retry failed calls.Pro
- Other model providersNon OpenAI models, mixed providers and third party adapters.Pro
- WebSocket transport and hosted subagentsReuse one Responses connection and run server hosted subagents.Pro
- SDK configurationAPI keys, clients, provider defaults and debug logging.Pro