---
title: "AI Gateway: Use Codex with Your ChatGPT Subscription"
description: "Route Codex requests through Zuplo AI Gateway while using your own ChatGPT subscription, with app authentication and usage tracking."
canonicalUrl: "https://zuplo.com/changelog/2026/10/08/codex-chatgpt-subscriptions"
pageType: "changelog"
date: "2026-10-08"
tags: "runtime"
---
You can now route Codex CLI requests through AI Gateway while staying signed in
with your ChatGPT subscription. The gateway forwards your login to OpenAI and
meters usage against your app; your ChatGPT plan pays for the tokens.

Use an app configured for credential passthrough. Codex sends your ChatGPT login
in the authorization header and authenticates to the gateway separately with the
app's API key. This setup uses an app, rather than a personal key on the User
App.

Configure a custom `zuplo` model provider in your user-level Codex config, with
`wire_api = "responses"` and `requires_openai_auth = true`. Select a model your
ChatGPT plan supports, prefixed with your gateway provider's name.

## Getting started

Follow
[Use your ChatGPT subscription](https://zuplo.com/docs/ai-gateway/integrations/codex#use-your-chatgpt-subscription)
for the complete Codex configuration, authentication policy, and verification
steps.