← Back to directory

Works out what a call would cost. Give either the text itself or a token count, ...

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

Overview

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.

Protocol x402 (POST)
Price $0.0020
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider modell
Source bazaar
Indexed 2026-08-11 10:11:55

Health

Status healthy
Latency (p50) 136ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-10-28 06:44:04
Last Healthy 2026-10-28 06:44:04
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "input_tokens": 0, "text": "Beispieltext." }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "calls": 1, "cheapest": { "cost_usd": 0.001, "model": "gpt-5-mini" }, "currency": "USD", "limits": "Preise aus einer gepflegten Tabelle mit Stand je Modell, nicht live beim Anbieter abgefragt. Tokenzahlen aus Text sind Schaetzungen.", "models": [ { "batch_discount_applied": null, "breakdown": { "cached_input_usd": 0, "input_usd": 0, "output_usd": 0.001 }, "context_window": 400000, "cost_per_call_usd": 0.001, "cost_usd": 0.001, "fits_context": true, "max_output": 128000, "model": "gpt-5-mini", "price_table_date": "2026-05-01", "prices_per_mtok_usd": { "cache_read": 0.025, "cache_write": null, "input": 0.25, "output": 2 }, "vendor": "openai", "warning": null }, { "batch_discount_applied": null, "breakdown": { "cached_input_usd": 0, "input_usd": 0, "output_usd": 0.00125 }, "context_window": 1048576, "cost_per_call_usd": 0.00125, "cost_usd": 0.00125, "fits_context": true, "max_output": 65536, "model": "gemini-2.5-flash", "price_table_date": "2026-05-01", "prices_per_mtok_usd": { "cache_read": 0.075, "cache_write": null, "input": 0.3, "output": 2.5 }, "vendor": "google", "warning": null } ], "models_not_fitting": [], "most_expensive": { "cost_usd": 0.025, "model": "claude-fable-5" }, "spread_factor": 25, "tokens": { "cached_input": 0, "estimated": false, "fresh_input": 0, "input": 0, "output": 500, "total_per_call": 500 } }, "type": "json" }