Is running a custom model provider in Codex allowed?
Here is what a custom-provider profile does mechanically, what it does not do, and which terms are yours to check.
What it mechanically does
- Creates an isolated Codex home — the same mechanism the Codex CLI documents for separating profiles.
- Sets a custom model provider in that profile’s configuration. Codex reads a
model_providerstable by design; this is not a patch or an injection. - Authenticates that profile with a locally minted credential rather than a ChatGPT login. The app already supports non-ChatGPT authentication modes, including API-key and Amazon Bedrock accounts.
- Routes that profile’s model requests to the endpoint you configured, with the credential you supplied.
What it does not do
- It does not use OpenAI’s models, quota, or inference on that profile. Nothing is consumed on OpenAI’s side to serve those turns.
- It does not modify, patch, repackage, or redistribute the Codex App. The app is the one you installed, configured through its own settings.
- It does not create accounts, forge identities, or share one subscription between people.
- It does not bypass a paywall. A custom-provider profile gets no ChatGPT features — hosted features are unavailable there precisely because there is no ChatGPT account behind it.
- It does not give you OpenAI models for free. If you want those, use an OpenAI profile and your own account.
What is yours to check
- Your provider’s terms. You are their customer and you pay them directly. Rate limits, acceptable use, and data handling are between you and them.
- Your own OpenAI plan terms, if you also run OpenAI profiles. Those are unchanged by this feature, and our multiple-accounts guide covers that side.
- Your employer’s policy, if the work is theirs. Some organizations require a specific gateway; some prohibit third-party endpoints entirely.
- Data residency. Prompts on a custom-provider profile go to your provider, not to OpenAI. If that matters for your work, it matters in both directions.
Where we would tell you not to
- If you are trying to get OpenAI’s models without paying for them, this does not do that and nothing here will help.
- If your organization forbids third-party model endpoints, this is exactly the thing it forbids.
- If you need the ChatGPT-hosted features, a custom-provider profile is the wrong tool — they are not available on it.
Related
Is this against OpenAI's terms of service?
We are not your lawyer and we do not speak for OpenAI. What we can state factually: Codex reads a documented custom model provider configuration, and the app ships non-ChatGPT authentication modes including API-key and Amazon Bedrock. A custom-provider profile uses those supported paths and consumes nothing from OpenAI. Read your own plan terms and decide for yourself.
Does CodexUse modify the Codex App?
No. It launches the app you installed with an isolated home directory and a configuration file, both of which the app supports by design. Nothing is patched, injected, or repackaged.
Will my ChatGPT account be affected?
No. Profiles are isolated and exclusive — a profile is either an OpenAI account or a custom provider. Your ChatGPT logins, history, and quota are untouched by a custom-provider profile.