Skip to main content
Version: 1.6.0

OpenAI API

OpenAI API connects supported RepoPrompt model features directly to an API account. It is separate from the Codex CLI runtime and RepoPrompt-managed ChatGPT sign-in.

Connect​

Validate a credential in API Providers → OpenAI to fetch available models. The settings page documents API service tiers, tier-specific model variants, and the optional custom base URL.

For an independently configured OpenAI-compatible service, use Custom API. For an Azure resource deployment, use Azure OpenAI. Compatibility with the OpenAI protocol does not establish the same account, model IDs, or service terms.

Models and capabilities​

The OpenAI API model catalog is the provider reference for model identifiers and capabilities. Actual selection depends on the API account, endpoint, and integration support. A model available through a CLI or subscription product is not necessarily available through this API connection.

Models explains effort and service tiers. Use Model Config for supported streaming, API-routing, and temperature overrides; these do not grant access to unavailable models.

Account and billing​

The API project and credential determine request charges and quotas. A ChatGPT subscription or Codex login does not automatically fund API calls. Inspect the relevant API account and service tier when assessing usage.