Denkwerk
language token tax
Give the same content in 2 to 12 languages. Each sample is language-identified with franc-min (ISO 639-3) unless declared, tokenized with the selected tokenizers and compared with the reference sample (default: the English sample, else the first): ratio, surcharge in percent, tokens per word and characters per token. With a monthly reference volume and price the projected tokens and cost per language are added. Samples whose length deviates strongly from the reference are flagged because.
POST https://denk.halowerk.com/v1/language-token-taxInputs
| Field | Type | Required | Description |
|---|---|---|---|
| samples | array | Yes | |
| reference | See schema | No | Index or language code of the reference sample. |
| tokenizers | array | No | Tokenizers to use. |
| monthly_reference_tokens | number | No | |
| price_per_mtok_usd | number | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"samples"
],
"properties": {
"samples": {
"type": "array",
"minItems": 2,
"maxItems": 12,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 50000,
"description": "UTF-8 text."
},
"language": {
"type": "string",
"pattern": "^[a-z]{2,3}$",
"description": "Declared language code (optional)."
},
"label": {
"type": "string",
"maxLength": 60
}
}
}
},
"reference": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 11
},
{
"type": "string",
"pattern": "^[a-z]{2,3}$"
}
],
"description": "Index or language code of the reference sample."
},
"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": "Tokenizers to use.",
"default": [
"o200k_base",
"cl100k_base",
"qwen2.5",
"mistral-tekken",
"deepseek-v3"
]
},
"monthly_reference_tokens": {
"type": "number",
"minimum": 0,
"maximum": 10000000000000
},
"price_per_mtok_usd": {
"type": "number",
"minimum": 0,
"maximum": 1000
}
}
}Published input example
{
"samples": [
{
"text": "The invoice is payable within 14 days without deduction.",
"label": "EN"
},
{
"text": "Die Rechnung ist innerhalb von 14 Tagen ohne Abzug zu bezahlen.",
"label": "DE"
}
],
"tokenizers": [
"o200k_base",
"qwen2.5"
]
}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