← Back to directory

Estimate token count and cost for text across LLM models (GPT-4o, Claude, Gemini...

https://api.strale.io/x402/token-count

Overview

Estimate token count and cost for text across LLM models (GPT-4o, Claude, Gemini, Mistral, Llama). Algorithmic — no API calls. SQS: 96/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:52

Health

Status healthy
Latency (p50) 214ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-04-17 14:37:10
Last Healthy 2026-04-17 14:37:10
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator

Input Schema

{ "discoverable": true, "method": "GET", "queryParams": { "model": { "description": "gpt-4o, claude-3-haiku, etc.", "type": "string" }, "text": { "required": true, "type": "string" } }, "type": "http" }

Output Schema

{ "estimated_cost_usd": { "type": "number" }, "fits_context_window": { "type": "boolean" }, "max_context_for_model": { "type": "integer" }, "token_count": { "type": "integer" } }

Recent Health Checks

Time Status HTTP Latency Error
2026-04-17 14:37:10 healthy 402 367ms
2026-04-17 13:31:05 healthy 402 375ms
2026-04-17 12:30:31 healthy 402 375ms
2026-04-17 11:37:44 healthy 402 390ms
2026-04-17 10:37:10 healthy 402 367ms
2026-04-17 09:28:20 healthy 402 212ms
2026-04-17 08:39:33 healthy 402 206ms
2026-04-17 07:30:32 healthy 402 202ms
2026-04-17 06:46:44 healthy 402 235ms
2026-04-17 05:28:05 healthy 402 230ms
2026-04-17 03:59:20 healthy 402 762ms
2026-04-17 03:10:13 healthy 402 210ms
2026-04-17 02:36:46 healthy 402 208ms
2026-04-17 01:40:38 healthy 402 203ms
2026-04-17 00:35:02 healthy 402 209ms
2026-04-16 23:48:51 healthy 402 214ms
2026-04-16 22:07:24 healthy 402 183ms
2026-04-16 21:33:33 healthy 402 205ms
2026-04-16 20:33:49 healthy 402 202ms
2026-04-16 19:09:55 healthy 402 219ms