Large Language Model (LLM)

An AI model trained on large amounts of text that can understand and generate language. LLMs power chatbots, AI agents, summarisation and document processing.

Also known as: LLM

Related terms in this glossary

LLMs are general-purpose: the same model can answer questions, draft text or extract data, depending on the instructions and context it receives. Grounding answers in your own data is usually done with retrieval-augmented generation.

How it works

A large language model is trained on a very large amount of text to predict the next word. That simple task teaches it grammar, facts and patterns of reasoning, which lets it answer questions, write, summarize and follow instructions. Businesses usually call an LLM through an API and give it their own context, such as documents or records, at the moment of the request.

What to watch

LLMs can state wrong things confidently, so answers about a business should be grounded in its own data, with sources shown. Costs and response times grow with the amount of text sent, and sensitive data needs clear rules about what may leave your systems.

Large Language Model (LLM) in depth

How a request to an LLM is put together

From the application's side, an LLM call is a structured package rather than a single question. A typical request carries a system prompt with the rules, a short history of the conversation, retrieved passages from your own data, definitions of any tools the model may call, and the user's latest message. All of it is counted in tokens and must fit in the model's context window. The response comes back as text, as a tool call, or as JSON when structured output is turned on.

Settings such as temperature, maximum output length and, on reasoning models, a thinking budget shape how the model responds. Few business problems are solved by the model alone: the value usually comes from what surrounds it, such as retrieval, validation and the systems it writes to.

Example: an LLM inside an order-support flow

Example: a distributor wants customers to ask about orders on WhatsApp in English, Hindi or Hinglish. The flow works like this:

  1. The message arrives and a small model classifies the intent, such as order status, invoice copy or complaint.
  2. For order status, the application calls the order system with the customer's verified phone number, never with an ID the model invented.
  3. The LLM receives the order record and writes a short reply in the customer's language.
  4. Complaints are summarized and handed to a person, with the draft reply attached for approval.

The LLM does the language work; the facts come from the system of record, and the decisions that matter stay with people. This is the pattern behind our WhatsApp AI agents.

Choosing a model

Model choice is a trade-off between quality on your task, speed, running cost, data handling and how much control you need. Hosted frontier models are strongest on hard reasoning and broad knowledge. Open-weight models can run in your own environment for privacy and version stability. Small language models handle narrow, high-volume steps quickly. Many production systems use more than one, with model routing sending each request to the right one. Our model comparison tool lays out the factors side by side, and technology and vendor evaluation runs the comparison on your own data.

How to evaluate an LLM for your use

Public benchmarks are a starting point, not a decision. Build a test set of real inputs from your business, with expected outputs or grading rules, and score each candidate model on it. Track:

  • Task accuracy, judged by people or by an LLM judge checked against people.
  • Rate of unsupported claims, the hallucination rate.
  • Latency to first token and to full answer.
  • Tokens used per request, which drives running cost.
  • Behavior on the hard cases: mixed languages, missing data, hostile inputs.

Common mistakes

The usual errors are treating the model as a database of facts about your business, sending personal data to an external API without a policy, skipping evaluation because the demo looked good, and letting the model take actions without checks. Each has a known fix: retrieval for facts, data rules aligned with the DPDP Act 2023 for personal data, an eval suite under LLMOps, and human approval for actions that move money or send messages.

Questions about Large Language Model (LLM)

Something else? Send us your question and an engineer replies with next steps.

Do LLMs learn from the data my business sends them?

A model does not change its weights from your requests during normal use. Whether a provider may use your data for training depends on its terms: most business API agreements exclude customer data from training by default, while some consumer apps do not. Check the data usage, retention and region terms for the exact product you use. If data must never leave your environment, an open-weight model hosted on your own infrastructure removes the question.

How do LLMs handle Hindi and other Indian languages?

Most frontier models read and write Hindi and several other Indian languages, but quality varies by language, script and task. Romanized Hindi and Hinglish are common in real messages and should be tested separately from Devanagari text. Indian-language text often uses more tokens than the same meaning in English, which affects speed and running cost. Test candidate models on real customer messages, and consider models or fine-tunes built specifically for Indian languages when quality falls short.

What is the difference between an LLM and an AI agent?

An LLM is the model: it takes text in and produces text, or a tool call, out. An AI agent is a system built around one or more LLMs that can plan steps, call tools, read results and continue until a goal is met. The agent adds memory, tool access, permissions, error handling and usually human approval points. The same LLM can sit inside a simple chatbot or a complex agent; the surrounding software decides what it is allowed to do.

Articles that mention Large Language Model (LLM)

All articles

Jump to

↑↓ to move↵ to open