Estimate the LLM token count of text with a low to high range, a breakdown by wo
Estimate the LLM token count of text with a low to high range, a breakdown by words, numbers, symbols and CJK, and whether it fits a given context window
Answeringour last check, 2026-10-20
1 of 1checks answered this week
300 msmedian answer time
$0.01listed price per call
$0.01price it asked us
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://saylorinnovations.com/api/text/token-estimate
| Category | Market data |
|---|---|
| Provider host | saylorinnovations.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-20 | valid payment request | 402 | $0.01 | 300 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"context_tokens": "8000",
"text": "The quick brown fox jumps over the lazy dog. Call fn(x) { return 42; }"
},
"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": {
"properties": {
"context_tokens": {
"description": "optional model context size to test the fit against",
"type": "string"
},
"text": {
"description": "Text to estimate, up to 20000 characters",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"breakdown": {
"description": "Estimated tokens by source: words, numbers, symbols, plus CJK characters, emoji and newlines counted",
"properties": {
"cjk_characters": {
"description": "Cjk characters",
"type": [
"number",
"null"
]
},
"emoji": {
"description": "Emoji counted",
"type": [
"number",
"null"
]
},
"newlines": {
"description": "Newlines counted",
"type": [
"number",
"null"
]
},
"number_tokens": {
"description": "Number tokens",
"type": [
"number",
"null"
]
},
"symbol_tokens": {
"description": "Symbol tokens",
"type": [
"number",
"null"
]
},
"word_tokens": {
"description": "Word tokens",
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"characters": {
"description": "Characters in the text",
"type": "number"
},
"chars_per_token": {
"description": "Chars per token",
"type": "number"
},
"estimated_tokens": {
"description": "Estimated tokens",
"type": "number"
},
"fits_context": {
"description": "Fits context",
"type": [
"object",
"null"
]
},
"looks_like_code": {
"description": "Looks like code",
"type": "boolean"
},
"note": {
"description": "Caveat or context for reading the result",
"type": "string"
},
"range": {
"description": "Range covered by the data",
"type": "object"
},
"source": {
"description": "Data source the values come from",
"type": "string"
},
"words": {
"description": "Words",
"type": "number"
}
},
"required": [
"estimated_tokens",
"range"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}