Sony Pixel Power calrec Sony

Explaining Tokens - the Language and Currency of AI

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 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
LINK: https://blogs.nvidia.com/blog/ai-tokens-explained/...
See more stories from nvidia

More from Nvidia

27/10/2026

How AI Is Changing the Pace of Discovery for Millions Living With Dementia

There are 57 million people worldwide living with dementia today. For the researchers working to help them, the obstacle isn't a lack of effort - it's t...

22/10/2026

Kazakhstan Expands Compute for Its AI Future

Kazakhstan's AI ecosystem is moving from infrastructure plans to deployment. The shift is visible across the full AI stack - from infrastructure to models...

22/10/2026

NVIDIA Unveils Minerva to Bring End-to-End Observability for AI Factories

Launched today, NVIDIA Minerva is an AIOps platform built to help teams find problems earlier and keep AI factories productive. It brings together telemetry fro...

22/10/2026

Cloud Deployment Incoming: Call of Duty: Modern Warfare 4' Arrives on GeForce NOW

Lock in and load out this GFN Thursday. Call of Duty: Modern Warfare 4 arrives o...

21/10/2026

NVIDIA Open Models Power a New Wave of European Public Sector Projects

Governments need modern solutions to serve the public while keeping sensitive information under their control. Open models provide a path forward, letting gove...

21/10/2026

Pioneers Across Europe Deploy NVIDIA Earth-2 Open Models to Power Real-World Weather and Climate Prediction

Weather forecasts shape more than daily plans; timely weather information is cru...

21/10/2026

NVIDIA Transforms European Retail, From Digital Discovery to Physical Operations

European retailers are using open models and physical intelligence across use cases - from a commerce platform cutting inference costs by 90% to to a fulfillmen...

21/10/2026

How Companies Are Using NVIDIA DSX to Break the Power Bottleneck

Companies around the world are building on the NVIDIA DSX AI Factory Platform to plan, simulate and run the grid and the AI factory as one system, from the subs...

21/10/2026

NVIDIA Cosmos Opens New Tools to Train, Evaluate and Deploy World Models

To help developers rapidly build world models, which help physical AI systems understand and simulate the real world, NVIDIA has expanded the Cosmos platform wi...

21/10/2026

Leading European Financial Services Organizations Embrace Open Models to Build Proprietary Intelligence

At GTC Berlin, banks, payment companies and financial data providers are showing...

21/10/2026

NVIDIA Confidential Computing Expands, Enabling Frontier Model Builders to Securely Scale Across Global Infrastructure

NVIDIA builds tools to enable safe agents across the stack. The NVIDIA OpenShell...

21/10/2026

NVIDIA cuDSS Now Generally Available to Accelerate Engineering and Scientific Simulations

NVIDIA cuDSS, launched today in general availability, is an NVIDIA CUDA-X librar...

21/10/2026

Europe's Industrial Leaders Reinvent Engineering and Manufacturing With NVIDIA

To increase productivity, accelerate innovation and create new opportunities for...

21/10/2026

NVIDIA Cloud Partners Scale Across Europe - Sovereign, Open and Built for Safe AI Agents

Demand from AI-natives is pulling the European AI cloud ecosystem forward faster...

21/10/2026

Google Cloud and NVIDIA Announce General Availability of NVIDIA Vera Rubin Infrastructure

General availability of the instances is coming next month, with planned expansi...

21/10/2026

Bringing the Spark to Europe: Local Intelligence Powers Next Wave of Agents

At GTC Berlin, NVIDIA is showcasing its full lineup of local AI hardware. RTX Spark, which launched last week, powers personal agents on Windows PCs; DGX Spark ...

19/10/2026

Germany Wants to Lead the World in Industrial AI: How NVIDIA Will Help

In the cavernous hall of Kraftwerk, a former power station in Berlin, German Chancellor Friedrich Merz and NVIDIA founder and CEO Jensen Huang sat down to discu...

19/10/2026

Spain-Based Startups Advance Regional Innovation With Barcelona Supercomputing Center

The Barcelona Supercomputing Center (BSC)'s AI Factory Accelerator Programme...

19/10/2026

NVIDIA Advances Agentic Security for Media, From European Public Service Broadcasting to Global Content Production

At a creative industry event that took place today in Berlin - hosted in collabo...

17/10/2026

RTX Spark Ignites Global Celebration as New Windows PCs Arrive

NVIDIA RTX Spark laptops are now available, bringing NVIDIA Blackwell RTX graphics, up to 128GB of unified memory and the full NVIDIA AI platform to slim, premi...

15/10/2026

Be There for the Beginning: Celebrate the Launch of NVIDIA RTX Spark

A new beginning for Windows PCs starts tomorrow with the launch of NVIDIA RTX Spark - one PC built for creators, gamers and AI agents. All are invited to celebr...

15/10/2026

Open From Data Center to Desktop: NVIDIA Expands Nemotron Family With Highest Efficiency Super VL and Bolt Models

NVIDIA today released Nemotron 3.5 Super VL, an open 120-billion-parameter model...

15/10/2026

Dial Up the Cloud: NVIDIA DLSS 4.5 Controls Arrive on GeForce NOW

Dial in the next gaming session this GFN Thursday. New NVIDIA DLSS 4.5 controls give GeForce NOW members more choice over how supported games look and perform i...

14/10/2026

The Nordics and NVIDIA Show What's Possible When a Region Commits to Advanced Computing

The Nordic countries have become the European leader in unicorn startup density,...

13/10/2026

European Cities Deploy NVIDIA-Powered AI Agents to Run Smarter Urban Operations

Keeping a city running means making decisions that affect residents every day - from when to repair a road to how to use energy more efficiently. Across the EM...

13/10/2026

From Enterprise to Earthshot: UK's Ecosystem Moves From Ambition to Application With NVIDIA

Across industries, the U.K. is putting the full stack to work. The scale of de...

13/10/2026

All Systems Go: Global PC App Ecosystem Ready for NVIDIA RTX Spark

NVIDIA RTX Spark is a new beginning for the PC - a reinvention combining the capabilities of a gaming PC, a creative studio and a personal AI supercomputer into...

12/10/2026

From Earth to Orbit, France's Ecosystem Delivers Agentic Computing at Scale With NVIDIA

Companies in France are deploying agentic computing across industries spanning s...

12/10/2026

OCP Global Summit: Amid Ecosystem Adoption, NVIDIA Opens Vera Rubin Architecture to Help Scale AI Factories Worldwide

As AI factories grow from megawatts to gigawatts, building them takes more than ...

08/10/2026

Into the Omniverse: How Developers Turn Ideas Into Simulations With Frontier AI Agents

Turning a simulation idea into a working application means assembling assets, co...

08/10/2026

Rally Up: Gears of War: E-Day' Launches on GeForce NOW

Gears of War: E-Day leads the charge on GeForce NOW this week, bringing Marcus Fenix and Dom Santiago's first fight against the Locust Horde to the cloud wi...

07/10/2026

NVIDIA, Microsoft Kick Off a New Beginning for Windows PCs with RTX Spark and AI Agents

At a Microsoft event in San Francisco on Wednesday, NVIDIA founder and CEO Jense...

06/10/2026

Why Telecom Operators Are Building Their AI Strategy on Open Models

Telecom operators are increasingly building their AI strategies on open models - and the reasons go beyond mere cost. Open models give telcos the ability to t...

05/10/2026

From Scan to Treatment Plan, AI Helps Close Breast Cancer's Deadliest Gaps

Breast cancer is the most commonly diagnosed cancer among American women - yet the gaps in care are wide. A majority of women over age 40 skip the recommended a...

02/10/2026

NVIDIA DGX Spark 64GB Gives Developers More Ways to Build and Scale Local AI

Local AI is becoming more useful by the token. As AI agents move from experiments into everyday development, increasingly capable open models are shrinking to ...

01/10/2026

How NVIDIA GPUs Help Accelerate OpenAI's GPT-6 Astra Ultrafast

GPT-6 Astra Ultrafast, running on NVIDIA Blackwell GPUs, is available now in the OpenAI API and to eligible ChatGPT Work and Codex users. Accelerated by infer...

01/10/2026

Productive, Durable, Fungible: How NVIDIA AI Factories Maximize Return on Investment

AI factories are built by the megawatt, even by the gigawatt. Each megawatt fact...

01/10/2026

Fall Into 25 New Games on GeForce NOW This October

Spooky season is streaming in. Alongside falling leaves, pumpkin spice and everything nice, 25 new games are joining GeForce NOW throughout October, including s...

30/09/2026

NVIDIA Opens Applications for 2027-2028 Graduate Fellowships With Awards Up to $60,000

Bringing together the world's brightest minds and the latest accelerated com...

30/09/2026

From Training to Production, NVIDIA and CoreWeave Close the Loop on Agentic AI

Building on nearly a decade of co-engineering, CoreWeave has built NVIDIA compute, networking and software into a cloud purpose-built for AI that's still re...

24/09/2026

How Open Science Can Help Researchers Prepare for the Next Pandemic

When COVID-19 emerged, scientists had a crucial advantage: Decades of prior research on coronaviruses meant they understood the virus' key proteins well eno...

24/09/2026

Contain the Chaos: CONTROL Resonant' Launches on GeForce NOW

A warped Manhattan is waiting in the cloud this week. Remedy Entertainment's CONTROL Resonant brings Dylan Faden's extraordinary abilities and a paranat...

23/09/2026

Sakeena Fiza Helps NVIDIA Hardware Succeed at Scale

When Sakeena Fiza describes her work as a validation engineer at NVIDIA, she does so in terms more befitting a detective story than a world-class engineering la...

22/09/2026

At AI Day Singapore, NVIDIA and Partners Showcase AI Advancements Across Southeast Asia

NVIDIA AI Day Singapore, which takes place Sept. 22-23 at the Raffles City Conve...

22/09/2026

NVIDIA Isaac ROS 5.0 Advances Agentic, Open Source Robotics Development

To build and deploy sophisticated robotics applications that can perceive, reason and act in dynamic environments, developers need new physical AI models and to...

21/09/2026

Why Deploying Physical AI at Scale Demands Safety at Every Layer

Physical AI is moving rapidly from research to large-scale deployment. By 2035, ABI Research projects an installed base of 49 million level 3-5 autonomous vehic...

21/09/2026

From Enablement to Execution, Egypt's AI Ecosystem Reaches Production Scale

Today, Egypt's AI builders gathered in the Grand Egyptian Museum for a reception that highlighted the nation's rapidly growing AI ecosystem - spanning A...

21/09/2026

NVIDIA Launches DSX Ready to Qualify Power and Cooling Products for AI Factories

Every AI factory needs power and cooling that fit its computing architecture. As AI infrastructure expands, power, cooling, water, site and grid constraints are...

21/09/2026

AI Security Is an Engineering Problem - How to Solve It at Every Layer of the Agent Stack

AI security is an engineering problem. That means defined security requirements,...