AI basics7 min read
How to choose an AI model: closed vs open-weight, hosting, cost and data terms
There is no single best AI model, only the right one for a task, a budget and a set of data rules. A practical way to compare model families, hosting options and contract terms.
Ryze Labs engineering team
Key takeaways
- The right model depends on the task, so define the job and build a small test set of real examples before comparing any vendors.
- Where the model runs and what the data terms say matter as much as raw quality, especially when personal or confidential data is involved.
- A thin layer between your application and the model lets you switch or combine models later, which protects you from price changes, outages and lock-in.
Choosing an AI model looks like a technical decision, but it has commercial and legal consequences: what you pay per request, how fast users get answers, where your data goes and how hard it is to change course later. New models appear every few months and rankings change constantly, so picking the one at the top of a leaderboard is not a strategy. A better approach is to choose against your own task and your own constraints.
Start with the task, not the model
Different jobs need different capabilities. Classifying incoming emails into ten categories is a narrow task that small, fast models handle well. Drafting a nuanced reply to a complaint, reasoning across a long contract or acting as an AI agent that plans several tool calls benefits from a more capable model.
- What goes in? Short messages, long documents, images, scanned forms, audio.
- What comes out? A label, structured fields, a short answer, a long draft, a sequence of actions.
- Which languages? Quality in Romanian or German can differ noticeably from English, so test in the languages you actually use.
- How much is at stake? A wrong label in an internal queue costs little; a wrong figure in a customer quote costs more.
- How fast must it respond? A live chat needs an answer in seconds; an overnight batch job does not.
Closed models vs open-weight models
Closed models, such as the families offered by OpenAI, Anthropic and Google, are available only through the provider’s API or cloud partners. You do not get the model itself; you send requests and receive answers. Open-weight models, such as Llama, Mistral’s open models and others, publish their weights, so you can run them on infrastructure you choose, subject to their licence terms.
Neither option is better in general. Closed models are often the strongest at complex reasoning and require no infrastructure work. Open-weight models give you more control over where data is processed and how the model is configured, but you take on hosting, scaling, updates and security.
Where the model runs
There are three common options, and many companies end up using more than one.
- The provider’s own API. Simplest to start and usually first to get new models. Check in which regions data is processed and whether an EU processing option exists.
- A major cloud platform in an EU region. Several closed and open-weight models are offered through Azure, AWS and Google Cloud, which lets you keep processing within an EU region and under a contract you may already have.
- Self-hosted. An open-weight model on your own servers or a dedicated cloud machine. Maximum control, but you need GPU capacity, monitoring and someone responsible for operations.
These options also explain a common misunderstanding: a custom assistant can use the same model families as a licensed workplace assistant, but you decide where it runs. Whether a licensed assistant like ChatGPT or Copilot is enough is a separate question from the model itself.
Read the data terms before the benchmark
For business use, the contract matters as much as the model. Consumer chat apps and business APIs often come with different terms. Before sending any company data, check the points below and keep the answers on file.
- Does the provider use your inputs and outputs to train its models, and can you opt out?
- How long are requests and responses stored, and for what purpose, for example abuse monitoring?
- Is there a data processing agreement under GDPR Art. 28 that covers your use case?
- Where is data processed? For transfers outside the EU, does the provider rely on the EU–US Data Privacy Framework or on standard contractual clauses?
- What documentation does the provider publish about the model? Obligations for providers of general-purpose AI models under the EU AI Act have applied since 2 August 2025.
These are questions for your DPO or counsel as much as for your engineers. Our article on GDPR for AI projects explains lawful basis, DPAs and transfers at a practical level.
Cost, latency and quality: the real trade-off
Most providers charge per token, roughly per piece of text processed in and out. Larger models cost more per request and usually respond more slowly. The question is not which model is best, but which is good enough for each step at a sensible cost.
| Model size | Typical strengths | Typical trade-offs | Good fit for |
|---|---|---|---|
| Small | Fast, inexpensive per request | Weaker on complex reasoning and long context | Classification, routing, simple extraction |
| Medium | Balanced quality and speed | May need clearer instructions on hard cases | Chat answers from documents, summaries |
| Large | Strongest reasoning and writing | Slower, highest cost per request | Complex drafting, agents with many steps |
Example
Illustrative example: mixing models in one workflow
A fictional 60-person wholesaler processes supplier emails. A small model classifies every incoming message and extracts order numbers. Only messages flagged as complaints, a small share of the total, go to a larger model that drafts a reply for a person to approve. The expensive model is used where it adds value, and the cheap one handles the volume. Exact savings depend on volumes and prices at the time, so they should be measured, not assumed.
Model usage is only one cost line. Integration, data preparation, evaluation and maintenance often weigh more, as we explain in what drives AI project costs.
Test candidates on your own data
Public benchmarks measure general abilities, not your invoices, your customers’ questions or your language mix. Build a test set of real, anonymised examples with the expected output, and run two or three candidate models against it. Score accuracy, but also format compliance, refusal behaviour and response time.
Pay special attention to errors that matter in your context. A model that is slightly less fluent but never invents figures may be the better choice for financial documents. Our article on AI hallucinations describes the checks worth adding.
Keep the option to switch
Prices fall, new models appear, providers change terms and services have outages. Design your application so that the model is a replaceable part. In practice that means a small internal interface for model calls, prompts stored and versioned outside the code, and your evaluation set ready to rerun when you try a new model.
- Avoid relying on one provider’s proprietary features unless they bring clear value.
- Log which model and version produced each output, so you can compare and audit.
- Plan a fallback model for critical flows in case the primary one is unavailable.
Next steps: a model selection checklist
- Write a one-paragraph description of the task, inputs, outputs, languages and acceptable response time.
- Classify the data involved: public, internal, confidential, personal. Decide what may leave your infrastructure.
- Shortlist two or three models across closed and open-weight families that meet your hosting and data requirements.
- Collect real examples with expected outputs and test every candidate on them.
- Compare quality, latency and estimated monthly cost, then choose and document why.
- Build the integration so the model can be swapped, and schedule a review every few months.
If you would like a second opinion on model choice, hosting or data terms for a specific project, our custom AI solutions team works across closed and open-weight models without tying you to one provider.
General information, not legal, tax or investment advice.