How to choose a language model for business tasks: criteria, testing and cost
A language model for business is chosen not by rankings or a famous name but by testing it on your tasks. The main criteria are answer quality on real examples, speed, the cost of a single request, handling of the languages you need, the amount of text the model can take into account at once, and where the data is processed. A combination is often better value than one model for everything: a strong one for difficult cases and a fast, inexpensive one for simple ones. The system is built so that the model can be replaced without reworking the whole product.
Open the software development page
Why choosing the model is not the main project decision
A language model is the part of the system that understands text, reasons and writes the answer. But the quality of an AI product does not depend on it alone. If the knowledge base holds outdated documents, the search finds the wrong passage and the instructions contradict each other, no model will help. Conversely, when the data is prepared and the search is precise, even a small model often answers correctly.
So the order is: first understand the task and the data, then pick the model that handles this task better than the others in terms of quality, speed and price. How the model fits into an agent together with tools and memory is described in the guide how an AI agent works.
Criteria for choosing a language model
It is convenient to compare models against the same list of questions.
- Quality on your tasks. Not in general, but on your emails, documents and client questions.
- Languages. How confidently the model writes and understands the languages of your clients and employees, including right-to-left scripts.
- Context length. How much text the model can take into account in one request: a long contract, an email thread, several documents at once.
- Speed. A fast response matters for a chat with a client, but not for overnight document processing.
- Cost. The price of a request depends on the volume of input and output text and on the model's pricing.
- Working with tools and structure. Whether the model reliably calls functions and returns the answer in a given format, for example as fields for a CRM.
- Where data is processed. At a provider in the cloud, in a specific country or on your own servers.
- Terms of use. For open models, the licence: whether commercial use is allowed and on what terms.
Cloud and open models
Models can be roughly divided into two groups. Cloud models from large providers are available through an API: you do not have to run them yourself, and they are usually stronger at complex reasoning, long documents and work in many languages. You pay for usage, and the data goes to the provider under its rules.
Open models can be run on your own servers or with a hosting provider of your choice. They have improved noticeably and handle narrow tasks well: parsing an email into fields, classifying a request, answering from a retrieved passage of a document. In return you need hardware, setup and maintenance, as well as careful reading of the licence.
The choice between them is often decided not by quality but by data requirements. The pros and cons of each setup and the hybrid option are covered in detail in the guide local or cloud AI agent.
Large model or small: a model for each task
Using the strongest model for everything is a common mistake. It is slower and more expensive, and on simple tasks the difference in quality may be invisible.
It is more sensible to split the work by level of difficulty:
- Simple operations — detecting the topic of a request, extracting an order number, translating a short phrase — go to a fast, inexpensive model.
- Answers to clients from the knowledge base go to a mid-level model that follows instructions well and writes carefully.
- Difficult cases — analysing a long contract, multi-step reasoning, disputed questions — go to a strong model, sometimes with human review.
This routing is built into the system in advance: a request is first classified and then sent to the right model. It lowers cost and delays without losing quality where it matters.
Tokens and the cost of running a model
Language models count text not in words but in tokens, which are pieces of words. Providers usually charge separately for input tokens (what you sent: instructions, documents, conversation history) and output tokens (what the model wrote). The same meaning can take a different number of tokens in different languages.
Several practical conclusions follow:
- Long instructions and whole documents in every request quickly increase the bill. It is better to send only the relevant passages found by search.
- Conversation history costs money too: it is shortened or summarised when it gets long.
- Cost is calculated on the real flow: how many requests per day, what average volume, what share of difficult cases.
- Model costs are a separate budget line that continues after launch.
Specific prices change, so they are checked on the providers' pages on the date of the estimate. The general factors behind development cost are covered in the guide how much software development costs.
How to test a model on your own examples
The most reliable way to choose a model is a small comparison on your data.
- Collect a few dozen real tasks: client questions, emails, documents. For each one, write down what the correct answer or result should be.
- Prepare the same instructions and the same sources for all candidates.
- Run the set through several models and compare the answers: correctness in substance, completeness, following the format, absence of invented facts, tone.
- Measure response time and calculate the cost for the expected flow.
- Show disputed answers to the employees who do this work today — they will spot a mistake faster than anyone.
This set is not thrown away after the choice is made. It is run again after every change to the instructions, a switch of model or an update of the knowledge base: that shows whether things got better or something broke. How answer quality is checked against documents is described in the guide AI assistant for a knowledge base.
Data, availability and company requirements
Besides quality, a model has practical limits that are best clarified before the project starts.
- Which data will go into the model: personal data, commercial information, client documents. This decides whether a cloud provider is acceptable and which one.
- Whether the provider uses the data you send for training and whether this can be switched off in the contract or plan terms.
- Whether the service is available in the countries where your users are and how it is paid for.
- What happens if the provider changes its pricing, restricts access or retires the model.
The last point is the main argument for an architecture in which the model is replaceable. If the product is rigidly tied to one model, any change at the provider turns into an urgent project.
Common mistakes when choosing a model
Most unsuccessful decisions repeat from project to project.
- Choosing by ranking or news. General benchmarks do not measure your tasks, and this month's leading model may fall behind another in six months.
- Testing on three convenient questions. A model has to be checked on dozens of typical and awkward examples, including those where the correct answer is 'I do not know, passing this to a person'.
- One model for everything. A strong model on simple operations spends money and time without noticeable benefit.
- Forgetting the cost after launch. The bill for requests grows with the number of users, and it is worth estimating in advance.
- A rigid tie to one provider. Without the ability to switch, any change in pricing or access becomes a problem.
All these mistakes are cheaper to prevent at the pilot stage than to fix in a working product.
How we approach model choice at JEEKSSHIRE 24
In AI agent development projects we choose the language model for the task: answer quality, speed, running cost and requirements on where the data is processed. We confirm the choice on the client's real examples and hand over the set of test examples together with the agent, so answer quality can be seen after every change.
We build the agent so that the model can be replaced without reworking the whole system: data connections, tools, rights and the log do not depend on a particular provider. We name the expected running cost of the agent separately, because requests to the model are a separate line. If you want to discuss a task, describe it in your own words on the custom software development page.
Frequently asked questions
Which language model is best for business?
There is no universal answer. The best model is the one that handles your tasks on your examples more accurately and cheaply than others, with an acceptable place of data processing. This is found out by comparing on a set of real questions.
Do we need to pay for the most powerful model?
Not always. Fast, inexpensive models handle simple operations well, and a strong model is used only for difficult cases. This combination lowers cost and delays.
Can an open model be used in a commercial product?
Often yes, but the terms depend on the licence of the particular model. It has to be read before the project starts: some licences restrict the field of use or the scale of use.
What is a model's context window?
It is the amount of text the model takes into account in one request: instructions, documents and conversation history together. If the text does not fit, it is sent in parts or only the relevant passages are sent.
What if the model provider changes its terms?
If the system is built so that the model is replaceable, one link changes: another model is connected and the test examples are run again. If the model is hard-wired, much more has to be reworked.