The credit system for AI apps

Per-user AI credits, without the plumbing

Give every user their own credit balance. Set your margin, earn on every request. One API for OpenAI, Anthropic, and Google.

Free credits to start
OpenAI SDK compatible
Works with Stripe

Ship AI credits in three steps

Integrate once, monetize any AI model. No custom billing code, no balance tables to maintain.

1

Get your API key

Create a free account and generate an API key. You get a starting balance to test with immediately.

2

Point your SDK at Quota

Change your OpenAI base URL to Quota. Your existing code works — same SDK, same format, same models.

3

Give users their own balance

Add the user header to requests. Each user gets a credit balance, topped up via Stripe checkout. You earn your margin automatically.

Everything you need to monetize AI

Add per-user credits to your app. Quota handles balances, billing, and multi-provider routing so you can focus on your product.

Per-user credit balances

Every user gets their own balance. Credits are deducted automatically on each AI request. Users never go negative — requests are blocked before they overspend.

Earn on every request

Set a profit margin on your app. Users pay the base model cost plus your markup. You keep 100% of the margin — no platform fee.

One API, three providers

Route to OpenAI, Anthropic, or Google through a single endpoint. Same OpenAI SDK format — change your base URL and you are done.

Credits work across apps

Users carry their Quota balance between apps. More apps on Quota means more users who already have credits ready to spend in yours.

One line to get started

Quota works with the OpenAI SDK you already use. Change the base URL, and every request is automatically billed to the user.

  • OpenAI SDK compatible
  • Per-user credit deduction
  • Built-in balance protection
  • OpenAI, Anthropic, and Google in one API
index.ts
import OpenAI from "openai";

// Just change the base URL
const client = new OpenAI({
 baseURL: "https://api.usequota.ai/v1",
 apiKey: process.env.QUOTA_API_KEY,
});

// Use it exactly like OpenAI
const response = await client.chat.completions.create({
 model: "gpt-4o",
 messages: [{ role: "user", content: "Hello!" }],
});

// Credits automatically deducted from balance