← 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) 208ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-06-02 06:30:36
Last Healthy 2026-06-02 06:30:36
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-06-02 06:30:36 healthy 402 212ms
2026-06-02 01:53:08 healthy 402 223ms
2026-06-01 21:53:13 healthy 402 205ms
2026-06-01 18:00:36 healthy 402 221ms
2026-06-01 15:36:50 healthy 402 112ms
2026-06-01 11:08:05 healthy 402 206ms
2026-06-01 07:13:44 healthy 402 284ms
2026-06-01 01:54:17 healthy 402 222ms
2026-05-31 23:04:57 healthy 402 276ms
2026-05-31 18:36:32 healthy 402 198ms
2026-05-31 15:10:05 healthy 402 208ms
2026-05-31 09:42:51 healthy 402 193ms
2026-05-31 04:52:40 healthy 402 212ms
2026-05-31 02:15:44 healthy 402 208ms
2026-05-30 22:41:48 healthy 402 207ms
2026-05-30 16:56:02 healthy 402 197ms
2026-05-30 15:41:26 healthy 402 207ms
2026-05-30 10:05:03 healthy 402 234ms