← Back to directory

Calculate LLM API cost for a prompt+completion across 14 models. Returns cheaper...

https://api.strale.io/x402/llm-cost-calculate

Overview

Calculate LLM API cost for a prompt+completion across 14 models. Returns cheaper alternatives with savings percentages. Algorithmic.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider strale
Source bazaar
Indexed 2026-04-15 14:09:55

Health

Status healthy
Latency (p50) 148ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-09-21 13:20:51
Last Healthy 2026-09-21 13:20:51
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified
Facilitator

Input Schema

{ "discoverable": true, "method": "GET", "queryParams": { "completion_text": { "type": "string" }, "completion_tokens": { "type": "integer" }, "model": { "required": true, "type": "string" }, "prompt_text": { "type": "string" }, "prompt_tokens": { "type": "integer" } }, "type": "http" }

Output Schema

{ "cheaper_alternatives": { "type": "array" }, "cost_usd": { "type": "number" }, "input_tokens": { "type": "integer" }, "output_tokens": { "type": "integer" } }

Recent Health Checks

Time Status HTTP Latency Error
2026-09-21 13:20:51 healthy 402 128ms
2026-09-21 07:12:31 healthy 402 160ms
2026-09-21 00:43:41 healthy 402 138ms
2026-09-20 13:47:13 healthy 402 159ms
2026-09-20 07:00:07 healthy 402 117ms
2026-09-19 14:09:10 healthy 402 152ms
2026-09-19 07:48:53 healthy 402 160ms
2026-09-19 02:12:05 healthy 402 120ms
2026-09-18 16:38:30 healthy 402 148ms