- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Tokens in AI — Why Removing Spaces Won’t Save You Money 💸 | Code Career & Cloud by Mayank 🚀
💡 CodeCareerandCloudbyMayank — your daily dose of Dev Tools, AI & Cloud
In this video we break down what a token is, how tokenizers (like Byte-Pair Encoding) work, and why the idea of removing spaces/punctuation to save tokens is actually a bad move. This is essential if you’re building with LLMs and want to estimate costs correctly.
What you’ll learn:
✅ What a token is (words, subwords, characters, punctuation)
✅ How tokenizers like BPE split input into tokens
✅ Why removing spaces can increase token count (real example)
✅ Practical tips to estimate token usage and control costs
Quick example from the video:
Input length: 66 characters → token size = 12
After removing spaces: 56 characters → token size = 15
Removing whitespace increased tokens — because the tokenizer must split into smaller subword/character tokens.
Why this matters:
Tokens determine cost and latency when using APIs (OpenAI, Google, etc.). Understanding tokenization helps you design prompts and apps that are efficient and cost-effective.
🧰 Explore More Playlists:
• Dev Tools in 60s → Husky, Commitlint, ESLint, Prettier
• JavaScript & React Insights → Memory Leaks, React 19, etc.
• Cloud & AI Explained → Vector DB, RAG, Hugging Face
• Productivity Hacks → Free PPTs, PDF Editing, Automation
👨💻 Subscribe for more:
https://www.youtube.com/@yourchannelhandle?sub_confirmation=1
#CodeCareerandCloudbyMayank #AI #Tokens #Tokenizer #BytePairEncoding #BPE #AICosts #PromptEngineering #LLM #OpenAI #AIForDevelopers #DevTools #TechExplained #Shorts #aitips
#CodeCareerAndCloud #CodingTips #DevTools #Cloud #AI #Shorts
📸 Follow on Instagram: https://www.instagram.com/CodeCareerandCloudbyMayank
Видео Tokens in AI — Why Removing Spaces Won’t Save You Money 💸 | Code Career & Cloud by Mayank 🚀 канала Code Career and Cloud by Mayank
In this video we break down what a token is, how tokenizers (like Byte-Pair Encoding) work, and why the idea of removing spaces/punctuation to save tokens is actually a bad move. This is essential if you’re building with LLMs and want to estimate costs correctly.
What you’ll learn:
✅ What a token is (words, subwords, characters, punctuation)
✅ How tokenizers like BPE split input into tokens
✅ Why removing spaces can increase token count (real example)
✅ Practical tips to estimate token usage and control costs
Quick example from the video:
Input length: 66 characters → token size = 12
After removing spaces: 56 characters → token size = 15
Removing whitespace increased tokens — because the tokenizer must split into smaller subword/character tokens.
Why this matters:
Tokens determine cost and latency when using APIs (OpenAI, Google, etc.). Understanding tokenization helps you design prompts and apps that are efficient and cost-effective.
🧰 Explore More Playlists:
• Dev Tools in 60s → Husky, Commitlint, ESLint, Prettier
• JavaScript & React Insights → Memory Leaks, React 19, etc.
• Cloud & AI Explained → Vector DB, RAG, Hugging Face
• Productivity Hacks → Free PPTs, PDF Editing, Automation
👨💻 Subscribe for more:
https://www.youtube.com/@yourchannelhandle?sub_confirmation=1
#CodeCareerandCloudbyMayank #AI #Tokens #Tokenizer #BytePairEncoding #BPE #AICosts #PromptEngineering #LLM #OpenAI #AIForDevelopers #DevTools #TechExplained #Shorts #aitips
#CodeCareerAndCloud #CodingTips #DevTools #Cloud #AI #Shorts
📸 Follow on Instagram: https://www.instagram.com/CodeCareerandCloudbyMayank
Видео Tokens in AI — Why Removing Spaces Won’t Save You Money 💸 | Code Career & Cloud by Mayank 🚀 канала Code Career and Cloud by Mayank
#CodeCareerAndCloud #DevTools #AI ai tokens explained tokenizer bpe byte pair encoding explained tokens vs words how tokens work openai how to save tokens ai cost optimization tokens and pricing tokenization example remove spaces save tokens why remove spaces increases tokens token size example codecareerandcloudbymayank ai prompt tokens estimate token usage token tutorial for developers llm tokenization openai token calculator ai development tips
Комментарии отсутствуют
Информация о видео
6 декабря 2025 г. 18:30:51
00:01:17
Другие видео канала




















