Most devs dont understand how LLM tokens work @mattpocockuk
Most devs dont understand how LLM tokens work  @mattpocockuk
Uploaded September 2025 | Updated September 2026, 1 week ago
Most devs are using LLMs daily but don't have a clue about some of the fundamentals. Understanding tokens is crucial because you need to know how you're being billed, and why billing is different per provider.

Join my newsletter on AI Hero:

https://www.aihero.dev/s/y-newsletter

Code: github.com/mattpocock/ai-sdk-tips/tree/main/exercises/03-tokens

00:00 Intro
00:33 Input & Output Tokens
01:11 Monitoring Token Usage
02:16 What are tokens?
02:50 Tiktoken
03:47 Full LLM Process
04:49 Building Token Vocabularies
05:25 Character-Level Tokenizer
06:37 Vocabulary Size
07:20 Subword-Level Tokenizer
08:33 Building Longer Subwords
08:58 Unusual Words
09:45 Summary
Most devs dont understand how LLM tokens workClaude Codes system tools are SO BLOATEDI just merged my 8th PR to React! #react #typescriptFrontend is HARDER for AI than backend (heres how to fix it)Return Types vs Inference #typescriptOmit in TypeScript #typescriptTypeScript LOVES errorsSO many TypeScript devs make this mistakeMost TS devs dont understand satisfiesBranded types have saved my ass so many timesTypeScript is 10X FASTER on a 1.5M LOC CodebaseNew Free Total TypeScript Tutorial! #typescript
Matt Pocock |

Most devs don't understand how LLM tokens work

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER