Estimate how many LLM tokens a text uses before you send it (BPE-style estimate
Estimate how many LLM tokens a text uses before you send it (BPE-style estimate that GPT, Claude and Llama tokenizers match within ~15% on normal text; CJK and non-Latin scripts handled). Optional: context_limit + reserve_output_tokens → does it fit and how many tokens are left; price_per_million → cost in USD; chunk_tokens → how many chunks to split into. Returns tokens_estimate, low/high range, characters, words, chars_per_token.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/util/token-count
| Category | Market data |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"chunk_tokens": "16",
"context_limit": "8192",
"price_per_million": "3",
"reserve_output_tokens": "1024",
"text": "Hello world! The quick brown fox jumps over the lazy dog. Internationalization costs 12345 tokens.\n\n\u4f60\u597d\u4e16\u754c"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"chunk_tokens": {
"description": "Chunk size in tokens (optional)",
"type": "string"
},
"context_limit": {
"description": "Model context window in tokens (optional)",
"type": "string"
},
"price_per_million": {
"description": "USD per 1M input tokens (optional)",
"type": "string"
},
"reserve_output_tokens": {
"description": "Tokens to keep free for the answer (optional)",
"type": "string"
},
"text": {
"description": "Text to measure",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}