Messages metered · agent402.tools
The Anthropic Messages wire priced
The Anthropic Messages wire priced from the request itself: the 402 quotes this exact body, from $0.001, with upto buyers settling actual usage under the quote. Use it when an agent built on the Anthropic SDK, or Claude Code, needs any supported model paid per call with no account.
Sample input
input4 keys
body3 keys
max_tokens256
messages[…]1 item
model"anthropic/claude-haiku-4.5"
bodyType"json"
method"POST"
type"http"
inputobject, 4 keysSample response
response7 keys
content1 item
0{ text, type }2 keys
id"msg_…"
model"anthropic/claude-sonnet-5"
role"assistant"
stop_reason"end_turn"
type"message"
usage2 keys
input_tokens14
output_tokens18
responseobject, 7 keysTrack record
- Paid calls, last 30 days
- 193
- Buyers, last 30 days
- 7
- Last paid call
Reported by the x402 directory.