Codex BYOK

Codex BYOK means running the Codex coding agent on the ChatGPT Plus / Pro subscription you already pay for. Sign in with your ChatGPT account via Codex OAuth — no OpenAI API key, no per-token bill, no VibeKit markup. The agent draws on your existing subscription quota, hosted at <name>.vibekit.bot.

Run Codex on the ChatGPT subscription you already have

If you pay for ChatGPT Plus or Pro, you already have everything you need to run a real coding agent. Codex OAuth lets you authenticate with that same ChatGPT account, and the Codex agent runs against your subscription quota — the same allowance you use in ChatGPT, now powering a hosted agent that lives on the web, in the iOS app, and on Telegram.

There's no second AI bill. You're not buying tokens. You're not topping up VibeKit credits for AI. You're using the subscription that's already on your card — VibeKit just gives the Codex agent somewhere to run.

How Codex OAuth works (no API key)

Zero markup — it's your subscription

Codex OAuth is a BYOK route, and BYOK on VibeKit never carries a markup. The Codex agent runs on your ChatGPT subscription, the cost is whatever your plan already covers, and VibeKit doesn't sit in the billing path. Nothing is deducted from VibeKit credits, and there's no per-token re-bill.

Compare that to platforms that charge a flat monthly "AI" fee while quietly routing prompts to a cheap model — that's pure margin in their pocket. With Codex BYOK, the meter isn't ours, so we can't pad it.

What you get free

With Codex BYOK, VibeKit's free tier is genuinely free — your ChatGPT subscription covers the AI, and everything else is included at no extra cost:

API key instead? Use /byok-openai

This page is specifically about the ChatGPT subscription route via Codex OAuth. If you'd rather use a raw OpenAI API key (sk-…) and pay per token — for example because you want GPT-5 / GPT-4o through the API, or you don't have a ChatGPT subscription — that's the API-key path. See the OpenAI API key BYOK page → for that route.

Either way you're on a BYOK route with zero VibeKit markup. The difference is just subscription quota (this page) vs per-token API key (/byok-openai). For the full picture across Anthropic and OpenAI, see the BYOK hub →.

Token security

Your Codex OAuth token is encrypted at rest with AES-GCM, decrypted in memory only when a request fires, and never logged. It's scoped per-app — a token connected for one app isn't shared with another. You can revoke it at any time from Settings, and the next request switches over. Server-side, the only thing that ever sees the plaintext token is the proxy that forwards the model request to OpenAI. Tokens never appear in any chat transcript, log, or telemetry stream we keep.

No ChatGPT subscription?

You can still use the agent through VibeKit's platform fallback. It routes OpenAI, Anthropic, or DeepSeek via OpenRouter at list price plus a flat 20% platform markup, or the free tier on OpenRouter's pool at $0 — genuinely free, no key required. But if you already pay for ChatGPT Plus or Pro, Codex OAuth is the better deal: your subscription quota covers the AI and VibeKit stays free on top.

Setup

1. Profile → AI Provider
2. Tap "Sign in with ChatGPT" (Codex OAuth)
3. Pick Codex as the provider for an app
4. Send a message — the Codex agent runs on
   your ChatGPT subscription quota

Per-app: different apps can use different providers, so you can run Codex on one project and a BYOK key elsewhere. New to the wider BYOK setup? See the BYOK hub → or the OpenAI API key route →.

FAQ

What is Codex BYOK?

Codex BYOK means you sign in to VibeKit with your ChatGPT Plus or Pro account via Codex OAuth, and the Codex coding agent then runs against your existing ChatGPT subscription quota. There's no OpenAI API key to paste and no per-token billing layered on top of the subscription you already pay for. It's your account, your subscription, your bill — VibeKit adds zero markup.

Do I need an OpenAI API key to run Codex on VibeKit?

No. The whole point of this route is to skip the API key. You connect via Codex OAuth using your ChatGPT Plus / Pro login, and the agent draws on your subscription quota directly. If you'd rather use a raw OpenAI API key (sk-…) and pay per token instead, that's the separate OpenAI BYOK route at /byok-openai.

Does VibeKit charge a markup on Codex OAuth usage?

No. Codex OAuth is a BYOK route — it's your own ChatGPT subscription. The Codex agent runs against your subscription quota, the cost is whatever your ChatGPT plan already covers, and VibeKit never sits in the billing path. Zero markup, no per-token re-bill, nothing deducted from VibeKit credits.

What if I don't have a ChatGPT subscription?

You can still use the agent through VibeKit's platform fallback, which routes OpenAI, Anthropic, or DeepSeek via OpenRouter at list price plus a 20% platform markup, or the free tier on OpenRouter's pool at $0. But if you already pay for ChatGPT Plus or Pro, Codex OAuth is the better deal — your subscription quota covers the AI and VibeKit stays free on top.

Is my Codex OAuth token safe with VibeKit?

Yes. OAuth tokens are encrypted at rest with AES-GCM, only decrypted in memory at request time, and never logged. They're scoped per-app and you can revoke them at any time from Settings — the next request switches over. The only thing that ever sees the plaintext token is the proxy that forwards the model request to OpenAI.

Run Codex on the subscription you already have.
Sign in with ChatGPT Plus / Pro via Codex OAuth. No API key, no per-token bill, zero markup.
Connect ChatGPT →