the402 endpoint detail

← All endpoints

modell.halowerk.com v1 cost-estimate

https://modell.halowerk.com/v1/cost-estimate

answers 402

Works out what a call would cost. Give either the text itself or a token count, plus the expected output length, and get input, output, cache-read and cache-write cost per model with the total. Token counts derived from text are estimates from character and word statistics, not a tokeniser, and typically land within about 15 percent — where an exact count matters, count with the vendor tokeniser.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
154 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:23:50.077Z (21d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fmodell.halowerk.com%2Fv1%2Fcost-estimate"