What the OpenAI account provider is
The OpenAI account provider is a credential backed by a ChatGPT subscription instead of an API key. Requests go to OpenAI’s Codex backend and count against that subscription’s plan.Add the credential
Open Settings > Model Providers, click Add Model Provider and select Codex (OpenAI account). The row has no key fields. Click the sign-in button, open the URL it shows and enter the code. The code is valid for 15 minutes. LangWatch stores the tokens and refreshes them.The Codex (OpenAI account) row: no key field, a Sign in with OpenAI button and the routing handle openai_codex.
Model names
Writeopenai_codex/<model>, for example openai_codex/gpt-5.6-terra.
Send a request
Endpoints
If OpenAI answers 401, the gateway refreshes the session once. If the refresh is rejected, the request fails with
codex_session_expired. Sign in again on the row.