
Under the hood of every AI application are algorithms that churn through data in their own language, one based on a vocabulary of tokens.
Tokens are tiny units of data that come from breaking down bigger chunks of information. AI models process tokens to learn the relationships between them and unlock capabilities including prediction, generation and reasoning. The faster tokens can be processed, the faster models can learn and respond.
AI factories - a new class of data centers designed to accelerate AI workloads - efficiently crunch through tokens, converting them from the language of AI to the currency of AI, which is intelligence.
With AI factories, enterprises can take advantage of the latest full-stack computing solutions to process more tokens at lower computational cost, creating additional value for customers. In one case, integrating software optimizations and adopting the latest generation NVIDIA GPUs reduced cost per token by 20x compared to unoptimized processes on previous-generation GPUs - delivering 25x more revenue in just four weeks.
By efficiently processing tokens, AI factories are manufacturing intelligence - the most valuable asset in the new industrial revolution powered by AI.
What Is Tokenization? Whether a transformer AI model is processing text, images, audio clips, videos or another modality, it will translate the data into tokens. This process is known as tokenization.
Efficient tokenization helps reduce the amount of computing power required for training and inference. There are numerous tokenization methods - and tokenizers tailored for specific data types and use cases can require a smaller vocabulary, meaning there are fewer tokens to process.
For large language models (LLMs), short words may be represented with a single token, while longer words may be split into two or more tokens.
The word darkness, for example, would be split into two tokens, dark and ness, with each token bearing a numerical representation, such as 217 and 655. The opposite word, brightness, would similarly be split into bright and ness, with corresponding numerical representations of 491 and 655.
In this example, the shared numerical value associated with ness can help the AI model understand that the words may have something in common. In other situations, a tokenizer may assign different numerical representations for the same word depending on its meaning in context.
For example, the word lie could refer to a resting position or to saying something untruthful. During training, the model would learn the distinction between these two meanings and assign them different token numbers.
For visual AI models that process images, video or sensor data, a tokenizer can help map visual inputs like pixels or voxels into a series of discrete tokens.
Models that process audio may turn short clips into spectrograms - visual depictions of sound waves over time that can then be processed as images. Other audio applications may instead focus on capturing the meaning of a sound clip containing speech, and use another kind of tokenizer that captures semantic tokens, which represent language or context data instead of simply acoustic information.
How Are Tokens Used During AI Training? Training an AI model starts with the tokenization of the training dataset.
Based on the size of the training data, the number of tokens can number in the billions or trillions - and, per the pretraining scaling law, the more tokens used for training, the better the quality of the AI model.
As an AI model is pretrained, it's tested by being shown a sample set of tokens and asked to predict the next token. Based on whether or not its prediction is correct, the model updates itself to improve its next guess. This process is repeated until the model learns from its mistakes and reaches a target level of accuracy, known as model convergence.
After pretraining, models are further improved by post-training, where they continue to learn on a subset of tokens relevant to the use case where they'll be deployed. These could be tokens with domain-specific information for an application in law, medicine or business - or tokens that help tailor the model to a specific task, like reasoning, chat or translation. The goal is a model that generates the right tokens to deliver a correct response based on a user's query - a skill better known as inference.
How Are Tokens Used During AI Inference and Reasoning? During inference, an AI receives a prompt - which, depending on the model, may be text, image, audio clip, video, sensor data or even gene sequence - that it translates into a series of tokens. The model processes these input tokens, generates its response as tokens and then translates it to the user's expected format.
Input and output languages can be different, such as in a model that translates English to Japanese, or one that converts text prompts into images.
To understand a complete prompt, AI models must be able to process multiple tokens at once. Many models have a specified limit, referred to as a context window - and different use cases require different context window sizes.
A model that can process a few thousand tokens at once might be able to process a single high-resolution image or a few pages of text. With a context length of tens of thousands of tokens, another model might be able to summarize a whole novel or an hourlong podcast episode. Some models even provide context lengths of a million or more tokens, allowing users to input massive data sources for the AI to analyze.
Reasoning AI models, the latest advancement in LLMs, can tackle more complex queries by treating tokens differently than before. Here, in addition to input and output tokens, the model generates a host of reasoning tokens over minutes or hours as it thinks about how to solve a given problem.
These
More from Nvidia
27/03/2025
A new resident is moving into the cloud - KRAFTON's inZOI joins the 2,000+ games in the GeForce NOW cloud gaming library.
Plus, members can get ready for a...
26/03/2025
The reliability of the electric grid is critical.
From handling demand surges and evolving power needs to preventing infrastructure failures that can cause wil...
25/03/2025
Generative AI is unlocking new capabilities for PCs and workstations, including ...
20/03/2025
The power and utilities sector keeps the lights on for the world's populatio...
20/03/2025
Time to sharpen the blade. GeForce NOW brings a legendary addition to the cloud: Ubisoft's highly anticipated Assassin's Creed Shadows is now available ...
19/03/2025
The roots of many of NVIDIA's landmark innovations - the foundational techno...
19/03/2025
AI has been shaping the media and entertainment industry for decades, from early recommendation engines to AI-driven editing and visual effects automation. Real...
19/03/2025
NVIDIA this week recognized 14 partners leading the way across the Americas for their work advancing agentic and physical AI across industries.
The 2025 Americ...
18/03/2025
The quick-service restaurant industry is a marvel of modern logistics, where spe...
18/03/2025
Global telecommunications networks can support millions of user connections per day, generating more than 3,800 terabytes of data per minute on average.
That m...
18/03/2025
The telecom industry is increasingly embracing AI to deliver seamless connections - even in conditions of poor signal strength - while maximizing sustainability...
18/03/2025
AI agents are transforming work, delivering time and cost savings by helping peo...
18/03/2025
AI deployments thrive on speed, data and scale. That's why NVIDIA is expandi...
18/03/2025
As quantum computers continue to develop, they will integrate with AI supercomputers to form accelerated quantum supercomputers capable of solving some of the w...
18/03/2025
AI is fueling a new industrial revolution - one driven by AI factories.
Unlike traditional data centers, AI factories do more than store and process data - the...
18/03/2025
As generative AI capabilities expand, NVIDIA is equipping developers with the to...
17/03/2025
Under the hood of every AI application are algorithms that churn through data in their own language, one based on a vocabulary of tokens.
Tokens are tiny units...
13/03/2025
What's next in AI is at GTC 2025. Not only the technology, but the people and ideas that are pushing AI forward - creating new opportunities, novel solution...
13/03/2025
Bundle up - GeForce NOW is bringing a flurry of Blizzard titles to its ever-expanding library.
Prepare to weather epic gameplay in the cloud, tackling the genr...
13/03/2025
AI is leveling up the world's most beloved games, as the latest advancements...
13/03/2025
PC game modding is massive, with over 5 billion mods downloaded annually. Mods p...
10/03/2025
A new AI education initiative in the State of Utah, developed in collaboration with NVIDIA, is set to advance the state's commitment to workforce training a...
06/03/2025
For the past 16 years, NVIDIA technologies have been working behind the scenes o...
06/03/2025
Time for a roaring-good time with Capcom's hit Monster Hunter Wilds. GeForce NOW members can hunt even the largest, most daunting monsters with the sharpest...
05/03/2025
Ninety percent of information transmitted to the human brain is visual. The importance of sight in understanding the world makes computer vision essential for A...
03/03/2025
From Seattle, Washington, to Cape Town, South Africa - and everywhere around and between - AI is helping conserve the wild plants and animals that make up the i...
28/02/2025
Editor's note: This is the next topic in our new CUDA Accelerated news series, which showcases the latest software libraries, NVIDIA NIM microservices and t...
27/02/2025
Norway's first sustainable and secure AI cloud service demonstrates how coun...
27/02/2025
From improving customer experiences to boosting operational efficiency, agentic AI - advanced AI systems designed to autonomously reason, plan and execute compl...
27/02/2025
GeForce NOW is blooming further with an array of 14 new titles in March.
A garden of gaming delights will have members marching straight into action and advent...
26/02/2025
Generative AI is redefining computing, unlocking new ways to build, train and op...
24/02/2025
To better prepare communities for extreme weather, forecasters first need to see...
20/02/2025
American Sign Language is the third most prevalent language in the United States...
20/02/2025
The NVIDIA GeForce RTX 5070 Ti graphics cards - built on the NVIDIA Blackwell ar...
20/02/2025
Editor's note: This post is part of Into the Omniverse, a series focused on ...
20/02/2025
Wield magic and steel as GeForce NOW's fifth-anniversary celebration summons Obsidian Entertainment's highly anticipated Avowed to the cloud.
This firs...
19/02/2025
In financial services, AI has traditionally been used primarily for fraud detect...
19/02/2025
Scientists everywhere can now access Evo 2, a powerful new foundation model that...
19/02/2025
The telecom industry's efforts to drive efficiencies with AI are beginning to show fruit.
An increasing focus on deploying AI into radio access networks (R...
13/02/2025
Asteroids were responsible for extinction events hundreds of millions of years a...
13/02/2025
Asteroids were responsible for extinction events hundreds of millions of years a...
13/02/2025
It's a match made in heaven - GeForce NOW and Warner Bros. Games are collabo...
12/02/2025
Just as there are widely understood empirical laws of nature - for example, what goes up must come down, or every action has an equal and opposite reaction - th...
12/02/2025
The rapid evolution of generative AI has created countless opportunities for inn...
11/02/2025
NVIDIA's contributions to accelerating medical imaging, genomics, computatio...
11/02/2025
Tara Chklovski has spent much of her career inspiring young women to take on som...
07/02/2025
Every year, venomous snakes kill over 100,000 people and leave 300,000 more with devastating injuries - amputations, paralysis and permanent disabilities. The v...
06/02/2025
AI built for speech is now decoding the language of earthquakes.
A team of researchers from the Earth and environmental sciences division at Los Alamos Nationa...
06/02/2025
GeForce NOW celebrates its fifth anniversary this February with a lineup of five major releases. The month kicks off with Kingdom Come: Deliverance II. Prepare ...
05/02/2025
When non-technical users can create and deploy reliable AI workflows, organizations can do more to serve their clientele
Platforms for developing no- and low-c...