Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is a Language Model?
LLMs

What is a Language Model?

Updated September 26, 2026 Read 3 min

A language model is an AI model that estimates how likely a sequence of words is, usually by predicting the next word or token. Language models range from simple word-count statistics to today's large neural networks.

Contents 11
  1. 01Key takeaways
  2. 02A language model explained in simple terms
  3. 03How language models evolved
  4. 04A worked example: a tiny n-gram model
  5. 05Types of language models
  6. 06Measuring language models
  7. 07Language model vs LLM vs small language model
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

A language model is a model that estimates how likely a sequence of words or tokens is, most often by predicting what comes next. Given “The monsoon arrived in”, a good language model gives a high probability to “June” and a low probability to “refrigerator”. This simple ability underpins autocomplete, speech recognition, translation and today’s large language models.

Key takeaways

  • A language model assigns probabilities to text.
  • Most generate text by predicting the next token repeatedly.
  • They evolved from counting word sequences (n-grams) to neural networks and transformers.
  • An LLM is a language model that is very large and broadly capable.
  • Quality is often measured with perplexity: how surprised the model is by real text.

A language model explained in simple terms

Your phone’s keyboard suggests the next word as you type. After “Happy”, it suggests “birthday”. That suggestion comes from a language model: it has learned which words tend to follow others. A large language model does the same thing, but it considers much longer context and has learned far richer patterns, so it can continue a legal contract, a Python script or a poem.

How language models evolved

EraApproachStrengthWeakness
1940s–2000sN-gram models count how often word sequences occurSimple and fastOnly a few words of context; cannot generalise to unseen phrases
2003 onwardsNeural language models with word embeddingsGeneralise between similar wordsLimited context
2010sRecurrent models (RNN, LSTM)Longer contextSlow training; forgetting over long text
2017 onwardsTransformersLong context, parallel training, scales wellHigh compute cost
2020sLarge language modelsBroad, general abilitiesHallucinations, cost

Claude Shannon used simple statistical models of English in his 1948 work on information theory. Yoshua Bengio and colleagues introduced an influential neural language model in 2003.

A worked example: a tiny n-gram model

Suppose a small training text contains “I like tea” twice and “I like coffee” once. A bigram model counts which word follows “like”:

  • “tea” follows 2 of 3 times → probability 0.67
  • “coffee” follows 1 of 3 times → probability 0.33

Asked to continue “I like”, it will most often say “tea”. This is a real language model, just a very small one. It cannot handle “I really enjoy” because it has never seen that phrase, which is exactly the problem neural models solved by learning that “enjoy” and “like” are similar.

Types of language models

TypeDirectionExample use
Autoregressive (causal)Predicts the next token left to rightText generation, chat (GPT-style)
MaskedPredicts hidden words using both sides of contextUnderstanding, classification (BERT)
Sequence-to-sequenceEncodes input, generates new outputTranslation, summarisation

Measuring language models

Perplexity measures how well a model predicts real text; lower is better. For modern assistants, teams also measure task accuracy, factuality, safety and human preference, because low perplexity alone does not guarantee helpful answers.

Language model vs LLM vs small language model

  • Language model: any model of text probabilities, big or small.
  • LLM: a large neural language model, usually billions of parameters.
  • Small language model: a compact neural language model designed for efficiency.

Limitations

  • Language models predict plausible text, not verified truth.
  • They reflect patterns and biases in training data.
  • They have no direct knowledge of events after training.
  • Probability of text is not the same as understanding in the human sense.

Common Use Cases

01

Autocomplete and predictive text

Suggest the next word on keyboards, search bars and email.

02

Speech recognition

Choose the most likely word sequences from uncertain audio.

03

Machine translation

Generate fluent sentences in the target language.

04

Chat and writing assistants

Generate full responses with large language models.

05

Spelling and grammar correction

Detect unlikely word sequences and suggest fixes.

06

Text classification

Use language model representations to categorise text.

Frequently Asked Questions

A model that estimates how likely a sequence of words or tokens is, typically by predicting the next token.

An LLM is a large neural language model. "Language model" also includes small and older models, such as n-gram models.

A simple language model that predicts the next word from counts of short word sequences in training text.

A measure of how well a language model predicts real text. Lower perplexity means better prediction.

Yes. Keyboard and search autocomplete use language models to predict the next word.

Related Terms

  • Large Language Model
  • Small Language Model
  • Transformer
  • Token
  • Perplexity
  • N-Gram Model

Related AI Terms

What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is Positional Encoding?Positional encoding is the method transformers use to represent the order of tokens in a sequence, because the…What is an Attention Head?An attention head is a single attention unit inside a transformer layer, with its own query, key and…What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is RoPE (Rotary Positional Embedding)?RoPE (rotary positional embedding) encodes a token's position by rotating its query and key vectors by an angle…

Contents

  1. 01Key takeaways
  2. 02A language model explained in simple terms
  3. 03How language models evolved
  4. 04A worked example: a tiny n-gram model
  5. 05Types of language models
  6. 06Measuring language models
  7. 07Language model vs LLM vs small language model
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

  • What is Self-Attention?
  • What is Positional Encoding?
  • What is an Attention Head?
  • What is Multi-Head Attention?
  • What is Prefix Tuning?
  • What is RoPE (Rotary Positional Embedding)?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 26, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}