Skip to content

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.

  1. 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.
  2. 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.
  3. 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 sizeTypical strengthsTypical trade-offsGood fit for
SmallFast, inexpensive per requestWeaker on complex reasoning and long contextClassification, routing, simple extraction
MediumBalanced quality and speedMay need clearer instructions on hard casesChat answers from documents, summaries
LargeStrongest reasoning and writingSlower, highest cost per requestComplex 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

  1. Write a one-paragraph description of the task, inputs, outputs, languages and acceptable response time.
  2. Classify the data involved: public, internal, confidential, personal. Decide what may leave your infrastructure.
  3. Shortlist two or three models across closed and open-weight families that meet your hosting and data requirements.
  4. Collect real examples with expected outputs and test every candidate on them.
  5. Compare quality, latency and estimated monthly cost, then choose and document why.
  6. 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.

FAQ

Questions people ask

There is no single best model. The right choice depends on the task, the languages, the data you will send and your budget for speed and cost. Test two or three candidates on real examples from your own work and decide on the results rather than on general rankings.

It can be, if the provider’s business terms fit your needs. Check whether your data is used for training, how long it is stored, where it is processed and whether there is a data processing agreement. For personal or confidential data, involve your DPO before going live.

Self-hosting makes sense when you need strict control over where data is processed, have steady volumes or need custom configuration. It also means running GPUs, updates, monitoring and security yourself. Many companies start with an EU-hosted API and revisit self-hosting once the use case is proven.

Yes, and it is often sensible. A small model can handle high-volume, simple steps while a larger one handles complex cases, and a second provider can act as a fallback. A thin integration layer and a shared test set make this manageable.

How we can help

Services related to this article

  • AI Agents

    Agents that use your tools to finish tasks, with guardrails and human sign-off.

Read next

Want to apply this to your company?

Tell us which process slows you down. We reply within one business day with questions or a first idea of how we'd approach it.