Tool detail
Messages metered
Proxies the Anthropic Messages API for any supported Claude model, priced per call from the request body with no account needed.
Categories: LLM inference
Use when
- call a Claude model via the Anthropic Messages API, pay per call
- run Claude Code or an Anthropic-SDK agent without holding an API key
- get a per-request price quote for a specific Messages request
Not for
- Anthropic-compatible Messages wire only, not other model families
- server or built-in tools are not served, only client-supplied tools
Inputs
POST JSON body: max_tokens (integer, required), messages (array, required); optional model, system, stream, thinking, effort, tools, zdr
Inputs undocumented: array without items
Endpoint
- Method
POST- URL
https://agent402.tools/v1/metered/messages
Payment
- Protocol
- x402
- Listed price
- 0.001885 USDC quoted for this specific request (price varies by model/tokens)
- Payment method
- exact
- Network
- eip155:8453
- Asset
- 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://agent402.tools/v1/metered/messages
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z