Skip to content
AI2 min read

What is a large language model (LLM)?

Short answer

A large language model (LLM) is a very large neural network trained on vast amounts of text until it predicts the next word extremely well. That ability lets it answer questions, write, translate, summarize and write code; examples include GPT, Claude, Gemini and Llama.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. How a large language model works
  2. Terms you’ll meet
  3. Example: how your site uses an LLM
  4. Common misconceptions
  5. On ArabyHost

What looks like “understanding” in a language model is, at its core, a very advanced statistical ability to predict text. With enough data and extra training on following instructions, that ability is enough to draft an article, explain a bug or analyse a long document.

How a large language model works

  1. Pre-training: the model reads vast amounts of text and learns to predict the next piece of a sentence.
  2. Instruction tuning: it is then trained on example questions, answers and human ratings so it follows instructions and responds helpfully and safely.
  3. Inference: when you send a prompt, it is split into tokens and the model generates the answer one token at a time.

Terms you’ll meet

Term Meaning
Token A piece of a word or a whole word; limits and costs are counted in tokens
Context window The most text the model can take in one request, including its answer
Parameters The numbers the model learned during training, counted in billions
Temperature Randomness: low for consistent answers, higher for variety
Hallucination A false statement the model makes confidently
System prompt Standing instructions that set the model’s role and style

A practical note: in some models, Arabic text uses more tokens than English text with the same meaning, which affects cost and how much fits in the context window.

Example: how your site uses an LLM

Your app on the server sends a request to the model provider’s API with a secret API key and the question, then receives the answer and shows it to the user. The key stays on the server and never reaches the browser. If the model must answer from your company’s data, use RAG; if you want it to carry out tasks itself, that’s an AI agent.

Common misconceptions

  • “The model always searches the web”: no, its knowledge stops at its training cutoff unless a search tool is added.
  • “It learns from my chat instantly”: the model doesn’t change during a conversation; whether your data is used for training depends on the provider and your account settings.
  • “Bigger is always better”: smaller models are faster and cheaper and are often enough for classification or summarizing.

On ArabyHost

There are no GPUs on ArabyHost, so you don’t run large models locally; you build an app that calls them through an API. AI/Developer plans support Node.js 20 and 24 and Python 3.9 to 3.12, run apps through Phusion Passenger, and include SSH and Git. You can also run Claude Code or Codex over SSH on these plans. See the AI plans and the AI app deployment guide.

FAQ

Can I run a large language model on regular web hosting?

Large models need GPUs and a lot of memory, so they don't run on shared hosting. The practical approach is for your app to call the model through the provider's API while the app itself runs on your hosting.

Why does the model sometimes make things up?

That's called hallucination: the model generates text that is linguistically likely, not necessarily true. It happens less when you give it trusted sources inside the request, as in RAG, and when you review important output.

How well do LLMs handle Arabic?

Major modern models usually handle Modern Standard Arabic well; quality varies more with dialects and local terms. Some models, such as Jais and ALLaM, were built with a focus on Arabic. Test any model on real examples from your work before relying on it.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.