← 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) 129ms
Uptime (30d) 100.0%
Reliability Score 100/100
Last Checked 2026-08-02 01:39:09
Last Healthy 2026-08-02 01:39:09
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-08-02 01:39:09 healthy 402 110ms
2026-08-01 20:33:21 healthy 402 154ms
2026-08-01 18:39:58 healthy 402 110ms
2026-08-01 11:08:51 healthy 402 123ms
2026-08-01 07:08:43 healthy 402 188ms
2026-08-01 03:19:26 healthy 402 165ms
2026-07-31 19:56:52 healthy 402 131ms
2026-07-31 14:20:48 healthy 402 109ms
2026-07-31 11:35:22 healthy 402 129ms
2026-07-31 06:15:45 healthy 402 179ms
2026-07-31 02:29:14 healthy 402 110ms
2026-07-30 23:54:45 healthy 402 133ms
2026-07-30 18:01:52 healthy 402 109ms
2026-07-30 13:36:57 healthy 402 108ms
2026-07-30 08:32:08 healthy 402 135ms
2026-07-30 03:58:29 healthy 402 112ms