Since I lack domain expertise with fonts, this may be slop1

Token-space font compiler

font + tokenizer → token-space font, where each token is equal width

Try it!

The quick brown fox ate the load-bearing strawberry You have nothing to lose but your chains of thought I hope this helps the user gain empathy for the assistant

Type or paste your text above. Compiling a new font switches this preview to it.

Compile your own


TTF, OTF, WOFF or WOFF2



Lite mode produces a smaller font and sometimes compiles faster, but may make text slower to render.

Download font · CSS · Build report

Your files stay in this browser. Large tokenizers can take several minutes.

Use it in Discord with Vesktop

Theme font: DeepSeek V4.1 Flash × Inter


Leave blank to apply to all messages. We strongly recommend entering a specific em’s ID so only its messages use the token font.

Setup instructions
  1. To use gg sans, select gg sans (Discord) above, choose a tokenizer preset or upload, and click Compile font. The theme download always matches the font currently in the preview.
  2. Download the font and open the TTF in Font Book. Click Install. Install the compiled font, even if you already have ordinary gg sans.
  3. We strongly recommend entering a specific em’s Discord ID above; leaving it blank applies to all messages. Download the .theme.css file. To find an ID, enable Discord’s Settings → Advanced → Developer Mode, then right-click the user and choose Copy User ID.
  4. If you entered an ID, open Vesktop’s Settings → Vencord → Plugins and enable ThemeAttributes. Restart if prompted.
  5. Open Settings → Vencord → Themes → Local Themes → Open Themes Folder. Move the downloaded .theme.css file into that folder. Return to Themes, click Load Missing Themes if needed, and enable the theme.
  6. Fully quit Vesktop with ⌘Q and reopen it so it sees the installed font.

Keep Vencord Location at its current setting. This is a theme, so no custom Vencord build or UserFonts plugin is needed. Disable older font themes for the same user if they conflict.

If messages look unchanged, check that the compiled font is installed and this theme is enabled. If targeting an ID, also check that ThemeAttributes is enabled and the ID is correct. Code blocks keep Discord’s normal monospace font. Extra token spacing defaults to zero; line height and word spacing follow Discord.

Use it in Slack

Slack font: DeepSeek V4.1 Flash × Inter



Use the exact display name shown above each agent’s messages, or a Slack member ID such as U012345678. One per line. Only matching messages change.

Setup instructions
  1. Download the font above and install its TTF on the device where you read Slack.
  2. Enter the agents’ Slack display names or member IDs, then download the .user.js file.
  3. Import the file into a userscript manager in your browser, enable it, and reload web Slack.

The userscript reads sender labels in the page and styles matching message text, including new messages and threads. It makes no network requests and does not modify message text. Code blocks keep a monospace font. If you compile another font, download and install that font and its newly generated userscript together. Disable an older Token Mono Slack script if it targets the same agent.

This works in web Slack in a browser with a userscript manager. Browser shaping runs and formatting spans can change token boundaries.

What works?

Byte-level BPE with DeepSeek V4.1 Flash’s pre-tokenizer, or a ByteLevel pre-tokenizer with use_regex: false and add_prefix_space: false. Other uploaded pre-tokenizers, text normalizers, WordPiece and Unigram produce a clear error. The ctok preset uses a separate minimum-cost backend.

The output is a single TTF with the tokenizer built into its shaping rules. No tokenizer script is needed to display it. It uses your font’s default variation and character coverage. Missing characters use its missing-glyph outline; no other typeface is mixed in.

Each token is 3 em wide. Extra token spacing defaults to zero and is capped at 0.5 em. The CSS leaves word spacing and line height alone.

N.B. Browser shaping runs, line breaks, normalization and complex scripts can change the result. Supported horizontal pair kerning is retained, but contextual shaping is not universally preserved. This is a token font, not an exact whole-message token counter.

Known discrepancies and experimental features

See the detailed discrepancy tracker for test results, repaired issues and remaining limitations.

Compiled locally with Pyodide and fontTools. Inter license.

1 If you have more expertise in how fonts work, I encourage you to implement this project properly.