man chabi
CHABI(1)Chabi ManualCHABI(1)

NAME

chabi — one AI subscription that works inside every app

Your users bring their own AI.

SYNOPSIS

// your existing OpenAI code. two changes.const client = new OpenAI({  baseURL: "https://chabi.dev/v1",  apiKey:  userToken,   // from Sign in with Chabi}); await client.chat.completions.create({  model: "gpt-4.1-mini",   // you choose. we never swap it.  messages,});

Works with the official OpenAI and Anthropic SDKs.

DESCRIPTION

Add Sign in with Chabi to your app. Your users' AI usage runs on their Chabi plan instead of your API bill. You keep your app, your brand, your UI and your users.

Free users stop costing you money. Paying users don't need another subscription.

OPTIONS

--button
Users click Sign in with Chabi and approve your app on one screen. Standard OAuth 2.0 with PKCE, so it works in browser-only apps.
--base-url
Point your SDK at https://chabi.dev/v1 and use the user's token as the API key. You pick the model, and Chabi never swaps it.
--no-bill
Usage comes out of the user's plan, not yours. No billing, plans or usage limits to build.
--payouts
(coming soon) Earn a share of each subscription, based on usage in your app.

FOR USERS

  • One AI plan for every app you use, instead of a fee in each one.
  • Simple credits, not tokens. Pricier models use a bit more.
  • See which apps can use your plan, and remove any of them anytime.
sign in to your account

SEE ALSO