{"slug":"modell-halowerk-com-v1-cost-estimate-f3f2be","title":"Works out what a call would cost","host":"modell.halowerk.com","method":"POST","resource":"https://modell.halowerk.com/v1/cost-estimate","category":"market","description":"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 typi","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":1194,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input_tokens":0,"text":"Beispieltext."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"batch":{"default":false,"description":"Apply the batch discount where the model has one.","type":"boolean"},"cached_input_tokens":{"description":"Of the input tokens, how many are served from cache.","minimum":0,"type":"integer"},"calls":{"default":1,"description":"Number of identical calls to multiply by.","maximum":1000000,"minimum":1,"type":"integer"},"input_tokens":{"description":"Known input token count. Either this or text.","maximum":10000000,"minimum":0,"type":"integer"},"models":{"description":"Model ids to price. All known models if omitted.","items":{"type":"string"},"maxItems":20,"type":"array"},"output_tokens":{"default":500,"description":"Expected output length in tokens.","maximum":1000000,"minimum":0,"type":"integer"},"text":{"description":"The prompt text. Either this or input_tokens.","maxLength":200000,"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1166,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1213,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1189,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1199,"error":null}],"description_full":"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.","last_updated":"2026-11-24T10:14:20.764Z","schemes":["exact"]}