Pay OpenAI API with Bitcoin
402ai.net lets you pay for OpenAI-compatible API calls with Bitcoin over the Lightning Network. Use L402 for pay-per-request calls, or top up once and reuse a prepaid token.
Why use this instead of card billing?
If you already hold Bitcoin and want API access without card onboarding, regional billing friction, or a separate prepaid card workflow, this is the cleaner path.
- Use Lightning sats instead of a card-on-file billing account.
- Call OpenAI-compatible routes through one base URL: https://402ai.net/api/v1.
- Choose between one-shot L402 payments or a reusable prepaid token.
Best for Lightning users, agents, and developers who already operate in sats.
How It Works
1. Choose Payment Mode
Use L402 if you want request-by-request settlement, or top up once if you want a reusable token for SDKs, agents, and repeated calls.
2. Use One Base URL
Send requests to https://402ai.net/api/v1 from OpenAI-compatible tools like Curl, Python, Node, Aider, Cursor, and Claude Code integrations.
3. Keep It Machine-Readable
Agents can discover routes, models, and payment modes through /llms.txt, /openapi.json, and /api/v1/catalog.