Learning resourcesReviewed · Cline

Cline OpenAI API and Codex OAuth Setup Guide

This setup guide helps Cline users connect to OpenAI models, but it does not specify prices or which models each subscription includes. It covers API-key configuration under the OpenAI provider and browser sign-in under OpenAI Codex. The API route includes an optional custom base URL; the OAuth route requires no API-key entry and makes model availability dependent on the OpenAI plan.

Researched 23 Nov 2026

In short.

This guide explains OpenAI connection setup for Cline users, but it leaves account-specific model access and costs unknown. It gives separate instructions for entering an OpenAI API key and signing in through OpenAI Codex OAuth. Its practical value is the concrete settings sequence for each route. It supplies no named model list, qualifying subscription tiers, minimum Cline version or evidence of successful operation.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete captured page at [https://docs.cline.bot/provider-config/openai.md], including both authentication routes, the optional base URL, pricing reference, conditional Azure note and Mintlify hosting notice. Linked documentation, account, pricing and hosting pages are excluded. No software was executed, and successful authentication, account-specific model access, costs, compatibility and coding performance are unverified.

The overview

identity

OpenAI (Codex) is a provider-configuration page in Cline's documentation at [https://docs.cline.bot/provider-config/openai.md]. It teaches two ways to connect Cline to OpenAI: the official API using a secret key, and OpenAI Codex using subscription OAuth. The resource is a setup guide, rather than a downloadable integration or model.

assessment

The guide is useful when Cline is already available and the immediate task is configuring OpenAI access. It identifies the provider choices, credential field and model-selection step. It is insufficient for deciding whether a particular subscription includes a desired model, estimating spending or judging coding quality.

users

Beginners get a short path from creating an API key to entering it in Cline, plus a separate browser sign-in option. Experienced developers get an optional base-URL setting for a proxy or custom endpoint. Installation instructions, troubleshooting procedures and endpoint compatibility details are absent.

capabilities

The page documents API-key authentication, OpenAI account authorization through OAuth, model selection after configuration and an optional custom API base URL. It does not describe Cline's coding features, tool permissions, supported model names, context limits or differences in functionality between the two connection routes.

Using it

requirements

Both routes require access to Cline's settings and an OpenAI account. The API route requires creating a secret key through the OpenAI Platform. The OAuth route requires browser authorization, with available models depending on the OpenAI plan. Eligible subscription tiers, operating-system requirements and minimum Cline versions are not specified.

mechanism

The API route configures Cline's OpenAI provider with a secret key and selected model. Its optional base URL allows a proxy or custom API address. The OAuth route uses the separate OpenAI Codex provider to complete authorization in a browser, followed by model selection in Cline. Credential storage, OAuth scopes, token refresh and data retention are not explained.

setup

For API access, sign in at [https://platform.openai.com/], create a key at [https://platform.openai.com/api-keys] and save it securely when generated. The guide says the secret cannot be displayed again. In Cline settings, select OpenAI as the API provider, enter the key and choose a model. Change the base URL only when a proxy or custom endpoint is needed.

For subscription OAuth, open Cline settings, select OpenAI Codex as the API provider and choose Sign in with OpenAI. Complete authorization in the browser, return to Cline and select an available model. This route requires no manual API-key entry.

example

A Cline user seeking subscription-based access can follow the documented OAuth sequence: select OpenAI Codex, authorize through the browser and then choose a model offered to their account. The page provides this setup sequence but no example coding request, generated output or successful connection transcript. Resulting coding behavior is not assessed.

Assessment & evidence

limitations

The guide omits named models, subscription eligibility, usage limits, troubleshooting and supported Cline releases. Its Azure note is conditional and does not provide a confirmed Azure configuration. Nothing was executed: authentication success, endpoint compatibility, model access, latency and coding quality remain unverified.

reasoning

The guide supports a practical choice between entering an API key and authorizing an OpenAI account through a browser. Suitability depends on which access method the user has and whether it supplies the desired model. The page provides no basis for ranking the routes by price, speed or coding quality.

alternatives

The documented alternatives are OpenAI API-key access and OpenAI Codex OAuth within Cline. Azure OpenAI is mentioned as a separate configuration topic, with only a conditional suggestion about an OpenAI-compatible endpoint. Other providers and coding assistants are not described, so a broader comparison is not supported.

evidence

The evidence is the complete captured documentation page at [https://docs.cline.bot/provider-config/openai.md], retained as selected-page.txt and captured on 2026-11-23 at 13:29:35.911 UTC. Its source revision is sha256:2cb0e0bfb09ab2af3e21925c4858dcf729cf8842e234116d6bcda023bc4689b3.

The page supports the configuration instructions and its statement that OAuth model availability depends on the OpenAI plan. Linked pages provide references only; their contents are outside the supplied evidence. No execution results or independent performance measurements are available.

Access & freshness

costs

The API section links to [https://openai.com/pricing] without quoting rates. The OAuth route is described as subscription access, but subscription prices, qualifying tiers, usage allowances and additional-charge rules are not supplied. Total cost for either route is unknown from this page. The absence of API-key entry does not establish that OAuth use is free.

rights

The page states no license or redistribution terms for its documentation text. It also supplies no terms covering Cline use, OpenAI service access or generated output. Those rights and obligations cannot be determined from this page. The Mintlify hosting notice does not establish reuse permission.

freshness

The capture is dated 2026-11-23, but the page gives no publication date, update date or supported Cline release. The capture date establishes when this text was retained; it does not confirm that provider menus, subscription eligibility or model availability remain current.

actions

Choose the connection route that matches your intended OpenAI access, then follow its settings sequence. Before committing spending, confirm the desired model, current pricing and usage limits for that route. If using Azure, a proxy or another custom endpoint, obtain configuration guidance specific to that service; this page does not establish compatibility.

Evidence for this report

selected-page.txtselected · checked 2026-11-23