402AI.NET

What makes this useful

If you think in sats and want a native sats-to-AI path, this keeps payment, retries, and balance management aligned with how Lightning users already work.

  • Use sats directly for OpenAI-compatible API access.
  • Keep exact payment semantics visible through 402 responses, token balances, and catalog pricing.
  • Works for humans and agents that need machine-readable discovery.

Best for builders who want sats-denominated usage and minimal billing abstraction.

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.

Related Pages