onema
AI solutions
MVP
Web development
Mobile apps
UX/UI design
Branding
Find out your project cost
office@onema.ru
Questions and suggestions
Get a cost estimate

GPT, Gemini or a self-hosted model: which LLM should your business choose

For most companies, choosing an LLM means choosing between three classes, not ‘GPT or Gemini’. Frontier APIs (GPT, Gemini, Claude) are the strongest on complex tasks, but your data is processed by a US provider, so you need a DPA and a lawful transfer route. Cloud models with data residency — Mistral or models on Amazon Bedrock and Google Vertex AI in EU regions — keep processing where you choose. A self-hosted open-weight model lives on your own server: data never leaves your environment, and instead of paying for tokens you pay for hardware. In a well-designed architecture the choice is reversible, and often the right answer is a hybrid.
Nikolay S.
CTO at onema
GPT, Gemini or a self-hosted model: which LLM should your business choose — illustration for an onema article

Three classes models


Examples and list prices as of November 2026, from the providers' pricing pages.
CriterionFrontier APICloud with data residencySelf-hosted open-weight
ExamplesGPT (OpenAI), Gemini (Google), Claude (Anthropic)Mistral on its EU endpoint, Claude and open models on Amazon Bedrock in EU regions, Gemini on Google Vertex AI in EU regionsQwen, DeepSeek, gpt-oss, Mistral Large 4 (open weights)
Access and contractingSelf-serve: an API key, card payment and the provider's standard DPAThrough your existing cloud account (AWS, Google Cloud) or a direct contract with Mistral, billed with the rest of your cloudNo licence to buy: you pay for your own server or GPU rental (AWS, Google Cloud, Azure or GPU hosts such as Hetzner)
Data and GDPRProcessed by a US provider: a DPA plus a Chapter V transfer route (EU-US Data Privacy Framework or SCCs). OpenAI offers an EU data residency option, Anthropic's own API does notProcessed in the EU region you choose, under your cloud provider's DPANever leaves your environment
PricePer token, in dollars. Examples: gpt-5-nano — $0.05 per 1M input and $0.40 per 1M output tokens, gpt-6.2-astra — $8 and $40, gemini-4-carbon — $2 and $10 ($4 and $20 from 1 December 2026)Per token, with an uplift for EU regions. Mistral Large 4 on the EU endpoint — $0.70 per 1M input and $2.10 per 1M output tokens, Qwen3 VL 235B on Amazon Bedrock in the EU — $0.62 and $3.13. Claude in EU regions via Bedrock or Google Cloud — +10%For hardware. Hetzner, an EU hosting provider, lists dedicated GPU servers from $249 a month (GEX45) to $989 a month (GEX131, NVIDIA Blackwell), excluding VAT. A small model may run fine on an ordinary server without a GPU
ContextLarge in flagships, depends on the modelDepends on the model: check the limits on your cloud provider's model pageDepends on the model and GPU memory
QualityFlagship level: long reasoning, code, complex analyticsFrom typical product tasks to flagship level, depending on the model. Check quality in your languages on your own examples, not by leaderboardsThe best open models trail closed flagships by 4 months on average (Epoch AI, May 2026). Smaller models — for narrow tasks
How the bill growsWith every requestWith every request, on the same bill as the rest of your cloudIn steps: hardware is added as peak load grows
Getting startedAn API key in minutes, but a DPA and a transfer assessment before personal data goes inEnable the model in your cloud account and pick a regionSetting up the server and inference: the slowest start of the three
DependencyProvider, pricing and model retirementsThe cloud vendor and its model catalogueMinimal: the model is yours, so you can fine-tune or replace it
A middle ground is open models hosted by a cloud provider. Amazon Bedrock, for example, runs Qwen3 models in its Ireland and Milan regions: you get open weights without running GPUs yourself, the data stays in the EU, and the provider maintains the hardware. If the volume grows, the same model can later move to your own server.

Open models aren't exotic, even for large businesses: Qwen, DeepSeek, gpt-oss and Mistral Large 4 are published with open weights, so you can fine-tune them on your own data and run them wherever that data has to stay.

What it costs: sample calculation


Take an assistant handling 100,000 queries a month. Each has about 2,000 input tokens (the question, instructions, retrieved documents) and 500 output tokens. Over a month that is 200 million input and 50 million output tokens. Prices are list prices as of November 2026, from the providers' pricing pages.
OptionMonthly bill
gpt-5-nano ($0.05 input / $0.40 output per 1M tokens)≈ $30
Claude Haiku 5.5 ($0.10 / $0.50)≈ $45
Mistral Large 4, EU endpoint ($0.70 / $2.10)≈ $245
gemini-4-carbon ($2 / $10, from 1 December 2026 — $4 / $20)≈ $900, from December ≈ $1,800
gpt-6.2-astra or Claude Fable 5.2 ($8 / $40)≈ $3,600
Dedicated GPU server running 24/7from $249 (Hetzner GEX45) to $989 (Hetzner GEX131) a month, excluding VAT
What this means:
  • At low traffic, the cloud is cheaper. Lightweight models cost tens of dollars a month, and you pay for a server even when it sits idle.
  • As you grow, the picture changes. At 1 million requests a month, the bill for gpt-6.2-astra or Claude Fable 5.2, using the same arithmetic, comes to about $36,000 a month, while a self-hosted model on one or two GPU servers stays within a few thousand dollars. For inexpensive models such as gpt-5-nano or Claude Haiku 5.5, the bill at that volume is $300–450, below the rent of a GPU server: at that level, self-hosting is about control over data, not savings. Whether a server can handle that volume is calculated from peak load.
  • Architecture matters more than pricing. If scenarios and a cache handle typical queries without the model, as in Sigma.AI, only part of the traffic reaches the model — and the bill drops for every class.

This is an illustration, not a quote: prompt length, cache share and choice of model can change the result many times over. We calculate the break-even point for your product at the design stage.

How to choose— three questions


What about data? If your queries contain customers' personal data — names, phone numbers, addresses, order history — the provider becomes your processor under GDPR: you need a DPA (Article 28) and, for a US provider, a transfer route under Chapter V — the EU-US Data Privacy Framework (currently valid, under appeal) or Standard Contractual Clauses. Prefer zero-retention or enterprise terms where offered, or keep processing in an EU region. For health and other special-category data, a regional cloud or a self-hosted model is the safer default. UK GDPR follows the same logic. This is a general overview, not legal advice — check the specifics with your counsel.

What is your query volume? Low traffic: go with the cloud, at a fraction of a cent per request and nothing when idle. High traffic: token fees overtake server rental (see the calculation above). We work out the break-even point for your product at the design stage.

How complex are the tasks? Flagship models win on long reasoning, code and complex analytics. Typical product tasks, such as recommendations, summarisation and answering from a knowledge base, are handled by mid-tier hosted models and mid-sized open models.

Why it isn't ‘either-or’


Sigma.AI, an assistant for a grocery marketplace, runs a hybrid. Deterministic scenarios (up to 6 seconds) and a cache of popular recipes (about 4 seconds) never reach the model at all. New, non-standard queries are generated by a local model with its own embedding in 15–20 seconds, while Gemini and OpenAI are connected only for specific scenarios via orchestration in n8n. After optimisation, the entire AI stack fits on a 4 CPU / 8 GB server. The result: the main flow of queries stays within its own environment, token fees apply only to specific scenarios, and flagship quality is available where it is needed. More details inSigma.AI case study.

And most importantly: in a properly designed setup, the model is a replaceable part. A better or cheaper model comes out, a provider retires a model, the law changes — you switch, and the product doesn't notice. That's why ‘which LLM to choose’ is the last question in a project, not the first (for where to start, see the article about LLMs).

What changes AI law


In the EU, the AI Act (Regulation 2024/1689) applies in stages: prohibitions since 2 February 2025, obligations for providers of general-purpose models since 2 August 2025, general application since 2 August 2026. Two points matter for choosing a model:
  • Provider and deployer. Obligations for general-purpose models fall on the model provider — OpenAI, Google, Anthropic, Mistral. A company building a product on top of a model is usually a deployer: its duties depend on the use case, not on which model it picks. Users must know they are talking to an AI (Article 50).
  • High-risk use cases. AI used in hiring, credit scoring, education and similar areas (Annex III) is high-risk. After the Digital Omnibus (Regulation 2026/1744), these obligations apply from 2 December 2027, and for AI built into regulated products from 2 August 2028.

What this means in practice: for most businesses, the model choice affects documentation and transparency, not legality. In banking, insurance and the public sector, the model vendor is also an outsourcing and third-party risk question — in EU finance, under DORA. The UK and the US have no single AI law: sector regulators apply existing rules. Check applicability to your project with a lawyer.

A real-world example

FAQs

Cost calculation
Tell us where your product has hit a wall, in the estimate form
After the audit, we'll tell you what to migrate, what to keep and how much it costs
More articles