← 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. SQS: 75/100.

Protocol x402
Price $0.01
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) 202ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-04-17 05:01:02
Last Healthy 2026-04-17 05:01:02
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
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-04-17 05:01:02 healthy 402 202ms
2026-04-17 04:41:47 healthy 402 205ms
2026-04-17 03:50:52 healthy 402 206ms
2026-04-17 02:06:03 healthy 402 232ms
2026-04-17 01:15:26 healthy 402 216ms
2026-04-17 00:36:35 healthy 402 207ms
2026-04-16 23:34:52 healthy 402 236ms
2026-04-16 22:07:03 healthy 402 195ms
2026-04-16 21:24:32 healthy 402 185ms
2026-04-16 20:19:57 healthy 402 215ms
2026-04-16 19:36:55 healthy 402 189ms
2026-04-16 18:42:05 healthy 402 195ms
2026-04-16 17:30:29 healthy 402 200ms
2026-04-16 16:22:02 healthy 402 192ms
2026-04-16 15:56:16 healthy 402 195ms
2026-04-16 14:08:14 healthy 402 193ms
2026-04-16 13:20:13 healthy 402 187ms
2026-04-16 12:00:08 healthy 402 193ms
2026-04-16 10:59:09 healthy 402 726ms
2026-04-16 10:41:00 healthy 402 208ms