8 800 600 42 59 Discuss a projectContact
Technology

How neural networks like ChatGPT and GigaChat work: an explanation without formulas

What happens inside a language model, why it makes mistakes, what it costs to run and how to make its answers accurate. With figures from recent research.

Neural networks that write texts and answer questions are called large language models. Behind them are complex maths and huge amounts of computing, but the principle can be explained without a single formula. Let’s look at how a model “thinks”, where its limits are and why, for a business, what the model is connected to matters more than the model itself.

88% of companies worldwide regularly use AI in at least one function (78% a year earlier)
71% of large Russian companies use generative AI in at least one business function
280× cheaper: the cost of a query to a GPT-3.5-level model from November 2022 to October 2024

The model predicts the next word

At the core of a language model is a simple task: given the start of a text, guess what comes next. Text is split into small pieces called tokens: a word, part of a word or a punctuation mark. The model is trained on a huge body of text, and by solving this task billions of times it picks up grammar, facts, style and reasoning.

When you ask a question, the model picks the most fitting continuation again and again — token by token. That is why the answer appears on screen gradually, and why the wording of the question affects the result so much.

Where the model’s “knowledge” comes from

A model’s knowledge is the patterns it absorbed during training. It doesn’t store the internet inside and doesn’t look answers up in a database unless it has been connected to one. This has two important consequences.

Why a neural network makes mistakes

CauseHow it showsWhat helps
No exact data The model confidently makes up a plausible answer — a so-called hallucination Connect trusted sources and require a reference to a document
Outdated knowledge The answer was right at training time but not today Pass current data to the model with every request
A vague question A generic answer about everything and nothing Clear instructions, a role and an answer format
No company rules Promises things you don’t do or quotes the wrong prices Explicit rules and limits, hand-off to a person in unclear cases

How to make answers accurate: RAG

For business use, the model is connected to trusted sources: documents, a knowledge base, the CRM. Before answering, the system finds the relevant passages and passes them to the model along with the question, and the model phrases the answer based on them. This approach is called RAG, retrieval-augmented generation.

What it costs and why it became affordable

A model is paid for by the volume of text processed — by tokens. According to the Stanford AI Index 2025, the cost of a query to a GPT-3.5-level model fell from about $20 to $0.07 per million tokens in roughly a year and a half to two years. For a business, this means the model itself is no longer the main expense: the real work is preparing data, setting up rules and embedding AI into processes.

The key takeaway: a language model is a smart conversation partner with general knowledge. Your data, clear rules and quality checks are what turn it into a useful tool. That is how we build solutions: the model answers from the company’s knowledge, and the result goes straight into your systems.

Share

Want an agent for your own task?

We’ll show in a free pilot how an agent handles your specific process.

Discuss a free pilot →