Chabi

Guide

Use AI APIs without API keys

AI in your app with no provider keys to create, hide or rotate.

Updated November 2026

The key problem

Calling AI from an app normally means an API key for each provider. You can't put it in a website, mobile or desktop app, because anyone can copy it and spend on your account, so you build a server whose main job is hiding the key. Then you rate-limit it, watch for abuse and pay the bill.

Tokens instead of keys

With Chabi, your app has no provider keys at all. Each user signs in with Chabi and your app gets a token for that user and that app only. You use it where an API key would go:

curl https://chabi.dev/v1/chat/completions \  -H "Authorization: Bearer $USER_TOKEN" \  -H "Content-Type: application/json" \  -d '{"model": "gpt-6-luna", "messages": [{"role": "user", "content": "Hi"}]}'
  • A token works only for your app, expires and refreshes, and the user can remove your app's access at any time.
  • If one leaks, it spends one user's credits in one app, within any monthly limit they set, not your account.
  • Your client ID isn't secret either: sign-in uses PKCE, so there's no client secret to protect.

One api, many makers

The same token works for OpenAI's and Anthropic's models, 214 chat models from 44 other makers, 59 image models, and speech to text and text to speech. Use the official OpenAI SDK with base URL https://chabi.dev/v1, or the Anthropic SDK with https://chabi.dev. Every model and its price.

Who pays

The user's Chabi plan, not you. Each request uses credits by what it actually cost, and you earn 0.6¢ for every paid credit spent in your app. How that works.

Next