> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokengift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to TokenGift

> The gift card for AI credits. Let anyone fund your app's AI usage — you never touch payments.

TokenGift lets your users (or supporters) buy AI credits for your app **like a gift card**. Credits land in your app's wallet, and your app spends them through one **OpenAI-compatible endpoint**. You write zero billing code.

## How money flows

1. Someone buys credits on your public **top-up page** (`tokengift.ai/fuel/your-app`) or redeems a **gift code** into your wallet.
2. Your app points its OpenAI SDK at `https://api.tokengift.ai/v1` with your TokenGift API key.
3. Every request draws down the wallet by exactly what it costs — priced per model on our [public price list](/reference/models-pricing).

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    First AI request on user-funded credits in 5 minutes.
  </Card>

  <Card title="Top-up page" icon="credit-card" href="/guides/fuel-page">
    The hosted checkout page you share with users.
  </Card>

  <Card title="Gift codes" icon="gift" href="/guides/gift-codes">
    Buy, send, verify, and redeem TGFT codes.
  </Card>

  <Card title="Handle an empty wallet" icon="battery-empty" href="/guides/handle-empty-wallet">
    Turn a 402 into a funding prompt.
  </Card>
</CardGroup>

## Why developers use TokenGift

* **Zero billing code** — Stripe-hosted checkout, receipts, and fraud protection are built in.
* **Clean denominations** — a $10 gift puts exactly $10.00 in the wallet. No fees, no shrinkage.
* **Private by design** — givers never see how credits are used, or which models power your app.
* **AI-native** — agent-friendly errors (`402` carries your top-up URL) and OpenAI compatibility.
