Skip to main content

Enable passthrough for Codex

Enterprise Tier

Codex can use the developer's ChatGPT sign-in through Agent Router passthrough. ChatGPT serves the request and the developer's ChatGPT plan pays, while Agent Router routes and observes it. Set up the ChatGPT provider and models for the project, and run data plane 0.15.0 or later.


Tetrate Desktop sets up Codex to use the Agent Router data plane and lets the developer sign in with ChatGPT. There is no additional Agent Router setting for the developer to enable passthrough.

1. Enable the ChatGPT provider and models for the project​

Enable the ChatGPT provider in the organization catalog, then enable it on the project. Enable the models developers will use in the organization catalog and assign them to the project. Codex has its own model list, so make sure the models it offers are available to the project. See Add providers and models to a project.

2. Run data plane 0.15.0 or later​

Codex passthrough requires data plane 0.15.0 or later. Find the data plane's release in the Version column under Directory → Data Planes in the Admin Console. Upgrade an older data plane as described in Upgrade the data plane.

For a customer-run data plane, allow outbound HTTPS egress to chatgpt.com:443. ChatGPT is the upstream serving the request; the organization's OpenAI provider key is not used for this passthrough request.

Checking it works​

Ask a developer to make a request from Codex through Tetrate Desktop while signed in to ChatGPT, then open Monitoring → Request Logs in the Admin Console. Check the model, token counts, cost, and latency, and confirm the request is classified as passthrough. Agent Router observes the request; ChatGPT serves it and bills the developer's ChatGPT plan. The organization's OpenAI provider key is not used.

Passthrough and budgets​

Passthrough can use managed models applies to Codex passthrough as it does to other passthrough traffic. If the requested model has no passthrough route, Yes (the default) allows the request to use a managed model and the organization's provider key; No rejects it rather than using an organization-funded model.

Whether passthrough usage counts toward budgets is controlled by the organization setting Count passthrough in budgets, under Settings → Passthrough in the Admin Console. With No, passthrough usage is shown as a list-price estimate and does not count toward the budget. With Yes, it counts at list price. See Set budgets for users and teams.