Token Count
Count tokens in a text with an offline tokenizer: OpenAI's o200k_base (the encoding of GPT-4o, GPT-4.1 and o-series models). Counts for other model families (Claude, Gemini, Llama) are estimates. Optionally checks whether it fits a limit. The text is not stored or logged.
GET https://lookups.mtfit-mcp.workers.dev/api/token_count
0.001 USDC on Base · payTo 0x2eDB61aE5aAAfDC59b715C2cBB5672cA0C402B80
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"text": "Hello, world! How many tokens is this sentence?"
}{
"characters": 47,
"other_models_rough_range": {
"high": 14,
"low": 10,
"note": "Rough estimate only: Claude, Gemini, Llama and other tokenizers count differently."
},
"tokenizer": "o200k_base (OpenAI GPT-4o / GPT-4.1 / o-series)",
"tokens": 11,
"tool": "token_count",
"version": "1.1.0"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
GET https://lookups.mtfit-mcp.workers.dev/api/token_count · input in query · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 8000
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"text"
]
}Output schema
{
"type": "object"
}curl -i -X GET 'https://lookups.mtfit-mcp.workers.dev/api/token_count?text=Hello%2C+world%21+How+many+tokens+is+this+sentence%3F'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs