Exact BPE token counts for OpenAI-family encodings (o200k_base for GPT-4o/4.1/5,
Exact BPE token counts for OpenAI-family encodings (o200k_base for GPT-4o/4.1/5, cl100k_base for GPT-4/3.5/embeddings), single text or batches, with optional truncation to a token budget. Up to 512 KB per call.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
563 msmedian answer time
$0.001listed price per call
$0.001price 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
POST https://workbot1.oddsys.org/tokens
| Category | Market data |
|---|---|
| Provider host | workbot1.oddsys.org |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.001 | 563 ms |
Example input (from the provider)
{
"body": {
"encoding": "o200k_base",
"text": "The quick brown fox jumps over the lazy dog."
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"encoding": {
"description": "BPE encoding (default o200k_base).",
"enum": [
"o200k_base",
"cl100k_base"
],
"type": "string"
},
"text": {
"description": "Text to count.",
"type": "string"
},
"texts": {
"description": "Batch of texts.",
"items": {
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"truncate": {
"description": "Token budget \u2014 when exceeded the response includes the text cut to this many tokens.",
"type": "integer"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
}
}