For the complete documentation index, see llms.txt. This page is also available as Markdown.

OpenAI Model Connector

Configure the OpenAI Model Connector to run Harness Worker Agents on GPT models with configurable reasoning effort.

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


What you will 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 level
Description

low

Fastest, lowest-cost responses for simple tasks

medium

Balanced reasoning and latency for most tasks

high

Deeper reasoning for complex tasks

xhigh

Maximum 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

Last updated

Was this helpful?