Glossary

What is a token in an AI model

A token is a "unit of measurement" of text for an AI model, roughly a syllable or a short word. It's what providers charge for, and it's what the model's memory size is counted in.

Monolith Studio editorial team2 min read

In plain English

A language model doesn't read whole words; it splits text into tokens — pieces of a few letters. In English one token is roughly four characters, while in Russian and Kazakh it is shorter, so text in these languages costs more and takes up more space in the context.

Tokens count the question, the answer and the instructions sent along with them. If the assistant gets a long knowledge base and the dialogue history every time, thousands of tokens go into a single answer.

How it works

Provider pricing lists a price per million tokens, with input and output priced differently: generating an answer usually costs more. More powerful models cost noticeably more than lightweight ones. The final cost of a dialogue is the sum of message length, the number of steps and the chosen model.

Usage can be reduced. You pick a cheaper model for simple questions, shorten the instructions, pass only the relevant fragments of the knowledge base into the request, cache repeated parts and limit the length of the dialogue history.

Why a business owner needs this

You need to know about tokens to calculate your monthly AI budget in advance. If you get a thousand dialogues a month, the cost is easy to estimate, but with a sudden traffic spike or a bot attack, expenses can jump. That's why limits are set.

The context size is also capped in tokens. Long contracts or correspondence have to be split into parts or compressed first, otherwise the model will "forget" the beginning.

Real-world example

An online store in Shymkent connected an assistant and was surprised by the bill in the very first month: the entire catalog was being sent with every request. After switching to selecting a few relevant product cards and using a lighter model for simple questions, costs fell several-fold with no loss in quality.

Common mistakes

  • Sending the entire document with every request
  • Using the most powerful model for simple tasks
  • Not setting limits and not getting spending alerts
  • Not accounting for the fact that Cyrillic takes more tokens
  • Keeping an endless dialogue history

Want the same for your business?

We'll show you how it would work for your business and name the price before we start.

Discuss your project

FAQ

How many tokens are in a page of text?

On average, in Russian around a thousand tokens, depending on words and punctuation. For an accurate estimate, use the providers' token calculators.

Can I know the assistant's cost in advance?

Yes, from the average number of dialogues and their length. We do the calculation at the estimation stage.

Didn't find your question? Message us and we'll reply within one business day.

Ask a question

Related reading

Need help with this topic?

Tell us about the task in a few words — we'll suggest where to start and tell you honestly what you don't need.

Call+7 708 758 18 60Message usWhatsApp
CityAktobe · we work across all of Kazakhstan

Get a quote

We'll reply within 15 minutes with an approximate price.