---
title: "QuotaStack Docs"
description: "QuotaStack documentation hub — quickstart, concepts, use cases, cookbook, comparisons, and the API reference. Every page has a markdown twin for agents."
---

# QuotaStack Docs

Everything you need to integrate QuotaStack. Every page here has a raw-markdown twin at the same URL + `.md`; the machine index is at [/llms.txt](/llms.txt).

## Start here

- [Quickstart](/docs/quickstart.md) — zero to a working credit-based billing flow in seven API calls.
- [60-Second Tour](/docs/tour.md) — the core concepts, one mental model at a time.
- [AI editor setup](/docs/ai-editors.md) — wire Cursor, Claude Code, Copilot, Zed, and Windsurf.
- Coming from a homegrown `credits -= 1`? [How to build a credit system](/how-to-build-a-credit-system.md).

## Sections

- [Concepts](/docs/concepts.md) — the mental models: credits, metering, entitlements, reservations, subscriptions, and conventions.
- [Use Cases](/docs/use-cases.md) — end-to-end models for SaaS, consumer AI, AI apps, AI agent companies, and API platforms.
- [Cookbook](/docs/cookbook.md) — focused recipes for common billing tasks.
- [Compare](/compare.md) — QuotaStack vs Stripe Billing, Metronome, Orb, and Lago.

## API

- [API reference](/docs/api.md) — every endpoint, grouped by what it acts on; real requests, real responses, which call to use.
- [OpenAPI 3.1 spec](/openapi.yaml) — machine-readable, all v1 endpoints.
- [API Explorer](/docs/api/explorer) — try any call against your sandbox (interactive, human only).

## Pricing

- [Pricing](/pricing.md) — free monthly usage credit, then flat pay-as-you-go.
