BYOK AI Coding Agent

Claude BYOK on a hosted AI coding agent, bring your own Anthropic (sk-ant-…) or OpenAI (sk-…) key, or sign in with Claude Pro / Max OAuth or ChatGPT Plus / Pro via Codex OAuth. AI charges go direct to the provider with zero VibeKit markup. Free tier is genuinely free, forever, with BYOK.

Two routes, pick what fits

Why BYOK matters

BYOK providers

Anthropic Claude, API key
sk-ant-… key. Billed by Anthropic on your account.
Anthropic Claude, Pro / Max OAuth
Sign in with Claude Pro or Max. This use counts against your plan's limits.
OpenAI, API key
sk-… key for current GPT models. Billed by OpenAI.
OpenAI, Codex OAuth (ChatGPT Plus / Pro)
Sign in with ChatGPT. Codex agent runs against your existing Plus or Pro subscription quota.

Platform fallback, no key required

If you don't BYOK, the agent still works. We route through OpenRouter on the gateway-level key and you pick from four providers in the Profile tab on iOS or Settings on the web:

Anthropic via OpenRouter
Claude Sonnet / Haiku family. OpenRouter list price + 20%.
OpenAI via OpenRouter
Current GPT models. OpenRouter list price + 20%.
DeepSeek via OpenRouter
DeepSeek models, low per-token prices for high volume. OpenRouter list price + 20%.
Free tier via OpenRouter
A pinned set of free models on OpenRouter that hands off to the next when one is busy. $0 cost, $0 markup.

The pricing math

A typical agent task, "fix this 500" or "add a route", costs $0.05-$0.30 in tokens at Sonnet pricing. Heavy refactors might hit $1-$3. With BYOK you pay exactly that, with no markup.

On the platform fallback you pay OpenRouter cost plus 20% (so the same task is $0.06-$0.36). The 20% covers gateway / proxy infrastructure. On the free tier the cost is $0.

Paid plans include monthly AI credit (Starter $3, Builder $20, Pro $25), spent on platform models at the same OpenRouter cost plus 20%. With BYOK that credit isn't touched: your provider bills you directly.

Setup

1. iOS: Profile → Bring your own AI provider (BYOK)
   Web: Settings → AI providers
2. Paste sk-ant-... (Claude) or sk-... (OpenAI)
   OR tap "Sign in with Claude" / "Connect OpenAI" (ChatGPT sign-in)
3. Every workspace now uses it; set each one's model in its model picker
4. The agent's next request runs on your account

One key, every workspace: you add it once, on your account, and every workspace's agent uses it. Each workspace still picks its own model, handy when you're testing Opus on one project while the rest stay on Sonnet. New to Claude API keys? See the sk-ant-api03 format breakdown for what each piece means and how to generate one.

Key security

Keys are encrypted at rest (AES-GCM) in VibeKit's database and never logged. The agent gateway that runs your workspaces holds the credential it needs to call the provider. Rotate or revoke a key any time from the Profile tab on iOS or Settings on the web. Tokens never appear in any chat transcript, log, or telemetry stream we keep.

BYOK + paid plans

Paid plans add more workspaces, always-on apps, custom domains and monthly AI credit for platform models (Starter $9.99/mo, Builder $24.99/mo, Pro $49.99/mo). They're a choice, not a requirement: BYOK works on every plan, including Free. Full pricing breakdown →

FAQ

What does BYOK mean for an AI coding agent?

BYOK (bring-your-own-key) means you supply your own credentials for the underlying AI model, an Anthropic Claude key, an OpenAI key, or a Claude Pro / ChatGPT Plus subscription OAuth token, and the AI calls run on your account at the provider. The agent platform (VibeKit) doesn't sit in the middle and re-bill you with a markup. You see exactly what each task cost on your provider's dashboard.

Which AI providers does VibeKit support for BYOK?

Anthropic and OpenAI. For Anthropic that's an API key (sk-ant-…) or a Claude Pro / Max OAuth sign-in. For OpenAI that's an API key (sk-…) or Codex OAuth via your ChatGPT Plus / Pro subscription. An API key is billed by the provider at its own prices. A ChatGPT sign-in runs on your subscription, and a Claude sign-in runs on your plan's limits. VibeKit adds no markup on any of them.

What if I don't have a Claude or OpenAI key?

VibeKit's platform fallback covers you. We route through OpenRouter on a gateway-level key and let you pick from four options: Anthropic, OpenAI, DeepSeek, or the free tier. The free tier runs on OpenRouter's free pool, $0 cost, $0 markup, so the platform is genuinely free even without a key. The other three charge OpenRouter list price plus a flat 20% platform markup, deducted from prepaid credits.

Does BYOK mean VibeKit itself is free?

Yes, the Free plan costs nothing with BYOK. Hosting, the iOS app, the agent and GitHub integration all work on it, for up to 2 workspaces; free apps sleep when idle and wake on the next visit. Custom domains, always-on apps and more workspaces come with the paid plans (Starter $9.99/mo, Builder $24.99/mo, Pro $49.99/mo), which also include monthly AI credit. We make money on those plans and on platform AI usage, never by marking up your own key.

Are my AI keys safe with VibeKit?

Keys are encrypted at rest with AES-GCM in VibeKit's database and never logged. They're stored on your account, every one of your workspaces uses them, and they're never shared with another user. To call the provider, the agent gateway that runs your workspaces holds the credential for your agents. You can rotate or revoke a key at any time from the Profile tab on iOS or Settings on the web, and the next request switches over.

Can I use a Claude Pro or ChatGPT Plus subscription instead of an API key?

Yes. ChatGPT Plus / Pro users can sign in via Codex OAuth, and the agent runs on that subscription with no API key and no per-token bill. Claude Pro / Max users can sign in with Claude too, and that use counts against your plan's limits. If Anthropic declines a request, turn on extra usage at claude.ai/settings/usage. Either way, VibeKit adds no markup.

Bring your own AI key. Free forever.
Anthropic · OpenAI · Claude Pro / ChatGPT Plus OAuth. No markup on BYOK. Free tier, no key required.
Add your key →