# Payment Architecture

Cluster supports three concurrent payment methods:

**x402 (for agents and Web3 developers)** Pay USDC per request via HTTP-native micropayments. No account required. Settlement is instant on Base. Zero protocol fees from x402 itself - Cluster retains 100% of the payment.

**Balance System (for regular users and teams)** Deposit USDC or ETH via the platform. Balance is deducted per API call on a pay-as-you-go basis. Suitable for users with budgets who prefer a traditional deposit-and-spend flow.

**Direct On-Chain Payment (for dataset purchases)** One-time payment via the PaymentRouter smart contract. Buyer sends ETH/token → contract splits revenue → buyer receives access. Suitable for high-value, one-off purchases.

All three methods coexist. The gateway detects which payment method is present in the request and routes accordingly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cluster-protocol.gitbook.io/whitepaper/core-infrastructure/overview/x402-payment-protocol/payment-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
