Use OpenAI with Pulumi Agents
Use an API key from your OpenAI account to run Pulumi Agents on the models you select. OpenAI bills your account for the requests. If your models are deployed in Azure, follow the Azure Foundry guide.
Connect OpenAI
- Enter your OpenAI API key.
- Choose a Thinking level. Off uses Chat Completions. Low, Medium, and High use the Responses API. If your model requires reasoning to call tools, choose one of those three levels.
- For Default model, choose a suggested model or enter a model ID your account can use.
- Optionally, set Fast model to a smaller model for short calls such as naming a task. If you leave it blank, Pulumi uses the default model for those calls.