Skip to content
Fourohtwo

Compare how 2 to 6 tokenizers split the same text

denk.halowerk.com/v1/tokenizer-diff

Compare how 2 to 6 tokenizers split the same text: token pieces with byte offsets, pairwise boundary agreement and the words that are split most differently. The text is NFC-normalized, tokenized by each selected tokenizer and every token is mapped back to its exact UTF-8 bytes (tiktoken byte table; GPT-2 byte mapping for byte-level BPE; Metaspace and byte-fallback for SentencePiece-style vocabula

BaseAnswering
POSThttps://denk.halowerk.com/v1/tokenizer-diff

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://denk.halowerk.com/v1/tokenizer-diff", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Lebensversicherungsgesellschaft antidisestablishmentarianism","tokenizers":["o200k_base","qwen2.5"]}),
});
console.log(await res.json());

Example input

{
  "text": "Lebensversicherungsgesellschaft antidisestablishmentarianism",
  "tokenizers": [
    "o200k_base",
    "qwen2.5"
  ]
}