Skip to main content

OpenAI Model Connector

Last updated on

The OpenAI Model Connector defines OpenAI as the LLM provider and default model for your Worker Agents.


What will you learn in this topic?

By the end of this topic, you will be able to:


Before you begin

Before you configure the OpenAI Model Connector, ensure you have the following:

  • Harness AI enabled: Harness AI must be active for your account. Go to Overview for more information on activating Harness AI.
  • OpenAI API access: An active OpenAI account with API key access for GPT models.
  • Harness secret: A configured secret to store your OpenAI API key. Go to Add and reference text secrets for more information on creating secrets.
  • Connector permissions: Permission to create and manage connectors in your Harness project. Go to RBAC in Harness for more information on permissions.

Supported models

The OpenAI Model Connector supports GPT-5.5 with configurable reasoning effort. Select the model that best fits your Worker Agent use case based on reasoning requirements, speed, and cost.

The OpenAI Model Connector supports GPT-5.5 with configurable reasoning effort.


Reasoning effort levels

The reasoning effort level controls how much reasoning the model applies before responding, trading latency and cost against depth. Set the reasoning effort level on the connector configuration form based on your task complexity requirements.

Effort levelDescription
lowFastest, lowest-cost responses for simple tasks
mediumBalanced reasoning and latency for most tasks
highDeeper reasoning for complex tasks
xhighMaximum reasoning depth for the most demanding tasks

Connector configuration

Configure the connector with your OpenAI authentication, default model, and reasoning effort settings.

When you create the connector, set the following:

  • Authentication: Provide an OpenAI API key. Reference the key from a Harness secret rather than entering it in plain text.
  • Model Name: Select the default model (GPT-5.5) the agent uses at runtime.
  • Reasoning Effort: Select the default effort level (low, medium, high, or xhigh).

Next steps

  • Go to Worker Agents for more information on creating and configuring agents that use this connector.
  • Go to Anthropic Model Connector for more information on configuring Claude as your model provider.