Denkwerk
token count multi
Exact counts, not estimates: OpenAI encodings via js-tiktoken, other families via their published tokenizer.json (Hugging Face, pinned revisions, SHA-256 checked, open licenses only: Apache-2.0 or MIT) run with transformers.js. Every Hugging Face tokenizer was checked token by token against the Rust reference implementation on a 29-text corpus. Llama and Gemma tokenizers are excluded for licensing reasons. Special-token strings in the text are counted as each tokenizer treats them by default.
POST https://denk.halowerk.com/v1/token-count-multiInputs
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | UTF-8 text. |
| tokenizers | array | No | Subset of tokenizers; default all. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200000,
"description": "UTF-8 text."
},
"tokenizers": {
"type": "array",
"minItems": 1,
"maxItems": 12,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"o200k_base",
"cl100k_base",
"p50k_base",
"r50k_base",
"qwen2.5",
"deepseek-v3",
"mistral-tekken",
"falcon",
"gpt-neox",
"yi-1.5",
"granite-3.3",
"glm-4.5"
],
"description": "Tokenizer id; see supported_tokenizers in the token-count-multi result."
},
"description": "Subset of tokenizers; default all."
}
}
}Published input example
{
"text": "Die Rechnung ist innerhalb von 14 Tagen ohne Abzug zu bezahlen.",
"tokenizers": [
"o200k_base",
"qwen2.5",
"mistral-tekken"
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Denkwerk0.003 USDC
agent card generate
POSThttps://denk.halowerk.com/v1/agent-card-generateBuilds an Agent2Agent protocol Agent Card with protocolVersion, name, description, url, version, capabilities, default input/output modes and skills. Skills come from the supplied list or are derived from OpenAPI operations (operationId, su
- Denkwerk0.003 USDC
agent permission diff
POSThttps://denk.halowerk.com/v1/agent-permission-diffTakes the tool names (with optional descriptions) and permission scopes of an agent before and after a change and reports added and removed tools and scopes, classifies new capabilities by risk (payments, sending messages, deleting or writi
- Denkwerk0.003 USDC
annotation guide draft
POSThttps://denk.halowerk.com/v1/annotation-guide-draftTakes example texts per label and derives, without a language model, the most distinguishing terms per label (TF-IDF contrast against the other labels), representative examples, cross-label example pairs with high similarity that need a wri