- Drop-in OpenAI- and Anthropic-compatible: only the base URL changes
- Open models on European GPUs, managed by us: you run nothing yourself
- Your prompts and data never leave the EU
- Pay-as-you-go per token on one prepaid credit balance
- Per-request insight into usage, latency and cost
EU Router 03 Serve
EU Inference Router
One base URL for every open model, running on European GPUs that we manage for you.
GLM
DeepSeek
Qwen
Kimi
Mistral
Llama
gpt-oss
Gemma
Loes
Nemotron
Claude Code
Codex
OpenCode
Cursor
Cline
Loes
OpenAI SDK
Anthropic SDK
What it does EU Router
What is the EU Inference Router?
In short: we host open AI models on European GPUs and serve them behind one API. Your existing code keeps working, you pay per token, and your data stays in the EU.
The Router is a shared, OpenAI-compatible inference gateway. You point your existing client at a single base URL and the Router sends each request to an open model running on European GPUs. You change only the base URL and the API key; your code stays the same.
Because the Router speaks both the OpenAI and Anthropic APIs, it works directly with the SDKs and tools your team already uses. No rewrite, no vendor lock-in.
Read more
How does it work?
A request hits the Router, is authenticated with your API key and forwarded to a model that is already warm. Responses stream back just like OpenAI. Popular models are kept warm through a warm pool so a first request does not wait on a cold start.
Every request records usage, latency and cost in your activity log, so you see exactly what happens.
03 EU Router
Why route through it?
Router or dedicated instance?
The Router is the fastest route to production: shared capacity, pay per token and nothing to manage. When you want isolation or predictable performance, you add a dedicated GPU instance next to it. Both work through the same base URL and the same credit balance.
| Shared Router | Dedicated instance | |
|---|---|---|
| Billing | Per token | Per hour |
| Startup time | Instant, popular models are warm | A few minutes on deploy |
| Isolation | Shared capacity | A GPU that is yours alone |
| Models | Curated catalog | Any open model or your own HuggingFace ID |
| Management | None | Start, stop and scale yourself |
| Best for | Getting started and variable traffic | Steady load or strict compliance requirements |
How to start
Create an API key, set the base URL in your existing client and pick a model from the Model Garden. Streaming works the way you expect:
from openai import OpenAI
client = OpenAI(
base_url="https://hostyourai.com/api/v1",
api_key="hyai-...",
)
resp = client.chat.completions.create(
model="llama-3.3-70b",
messages=[{"role": "user", "content": "Hello"}],
stream=True,
)
for chunk in resp:
print(chunk.choices[0].delta.content or "", end="")Need the full step-by-step? Follow the guide Migrate your OpenAI client to the EU Router.
Autopilot: one model id that picks for you
If you would rather not track the catalog every week, put hyai/auto in the model field of your request and the choice is made. Autopilot reads the task instead of the model name you would otherwise have to know: how long the prompt is, what language it is in, whether tools are attached, how much context it needs and what kind of work is being asked. It then looks for the model that fits.
Preference goes to a model that is already warm, because that saves the wait of a cold start. Which model actually answered is in the model field of the response, exactly as with an explicit choice. Want to steer yourself? Fill in a model name and nothing changes.
curl https://hostyourai.com/api/v1/chat/completions \
-H "Authorization: Bearer hyai-..." \
-H "Content-Type: application/json" \
-d '{
"model": "hyai/auto",
"messages": [{"role": "user", "content": "Summarise this report"}]
}'What Autopilot costs
You pay the token rate of the model that answered, with no surcharge for the choice. If Autopilot picks a large model, you pay that large model; if it picks a lighter one, you pay the lighter one. Never more than if you had filled in that same model yourself.
Whether it works out cheaper on average than choosing yourself is something we measure per request: alongside every request we record which model Autopilot would have picked. We publish that number once there are enough requests behind it for it to mean something.
The choosing stays in Europe too
Whoever chooses, reads your prompt. A selector processes your data just as much as the model that answers, and that is exactly where an auto option can quietly leave the EU. With us the choice happens inside the same European chain as the answer itself: your prompt does not leave the EU, not even for the choice.
The choice log keeps only characteristics of the request, such as language, length and whether tools were attached, never the text itself. If you work with a sovereignty key, Autopilot picks exclusively from models that meet that requirement; models that do not qualify never reach the shortlist.
When does your own GPU get cheaper?
The shared Router bills per token and drops back to zero between your requests: send nothing and you pay nothing. A dedicated GPU works the other way around. It bills per minute and stays on around the clock, at night and at the weekend too, but then the machine is entirely yours: no queue behind anyone else's requests, predictable latency and all of the GPU memory for your model.
Where the crossover point sits depends on your monthly volume. In the calculator below you slide that volume along the scale and see, per model class, which of the two is cheaper at that point.
Calculator: when does dedicated become cheaper?
Pick a model class and your team, or slide your monthly token volume yourself. The calculator uses the rates listed above on this page, so the prices we actually bill.
How this is calculated
Questions about the EU Router
Is it really drop-in with my OpenAI code?
Yes. You change only the base URL and the API key. Request and response format, streaming and parameters behave like OpenAI. The Anthropic SDK works too, through the Anthropic-compatible API.
Which models can I call?
Open models such as Llama, Qwen, Mistral, DeepSeek and Gemma. The live list with pricing per million tokens is in the model catalog.
Do I wait on a cold start?
Popular models are kept warm through a warm pool. If a model is not warm, you see its warming state live in the Model Garden.
What does it cost?
Pay-as-you-go per token from one prepaid credit balance, no subscription, no minimum. Per-class rates are on the pricing page.
Where does my data run?
On GPUs in European datacenters. Your prompts and outputs never leave the EU, a Data Processing Agreement is available and there is no training on your data.
Am I locked in to HostYourAI?
No. Because the API is OpenAI-compatible, you change the base URL and you are gone. No vendor lock-in.
Everything you need for AI
From model hosting to a customer-facing API, it is built for developers and businesses who want their AI running on infrastructure they actually control, inside the EU.
EU-hosted
100%
Your data and your models stay on European GPUs. GDPR-friendly by design.
Verified models, ready to serve
700+
Llama, Qwen, DeepSeek, Mistral, FLUX and plenty more. Pick one and it is warm in minutes, with no DevOps on your end.
OpenAI & Anthropic compatible
2 SDK
Point your existing client at the Router and keep your tools. No rewrite, no lock-in.
From zero to a warm endpoint in minutes
No infra to manage. Pick a model, get an OpenAI-compatible URL, ship.
01
Pick a model
Choose from the Model Garden or paste any HuggingFace ID. Set the VRAM and pick an EU GPU.
02
Get your endpoint
We deploy vLLM, run readiness probes, and hand you a warm OpenAI- and Anthropic-compatible URL plus an API key.
03
Route and ship
Point your client at the Router. It auto-routes to a warm instance and logs every request.
Built for teams that can't send data away
If a US cloud is off the table, HostYourAI gives you the same developer experience on European infrastructure.
01
Public sector & government
Citizen data that legally has to stay in the EU, with full auditability.
02
Regulated enterprise
Finance, healthcare and legal teams under GDPR, DORA and the AI Act.
03
EU SaaS & scale-ups
Ship AI features your customers trust, without a US sub-processor.
04
Agencies & integrators
Deliver private AI for clients on infrastructure you can stand behind.
Private by Default
HostYourAI keeps your models, prompts and data on European GPUs. It is built for teams that care about compliance, reliability and real control.
- EU-hosted
- GDPR-friendly
- OpenAI-compatible
- vLLM-powered
- No lock-in
Full data sovereignty
EU
GPUs and data stay inside Europe, and so do your prompts.
Models you can audit
Open
Run open-weight models and see exactly what runs.
No monthly fee
€0
Prepaid credit per token or per minute, so you pay only for what you run.
Your keys, your models
Yours
Your keys, your models and your data. Move whenever you want.
Works with 700+ open models
Text and image models on dedicated EU GPUs. Every model tested on our own hardware.
One platform, four layers
Start with one layer and add the others when the work asks for it. They share one key, one balance and one Activity view.
Related pages
Explore more about EU-hosted AI on HostYourAI.
Fine-Tuning LLM
Fine-tune LLMs for your specific use case. LoRA, QLoRA, full fine-tuning on dedicated GPUs.
Read moreRAG Pipelines Hosting
Host RAG pipelines for AI with your own knowledge base. Vector databases, embeddings, and LLMs in one platform.
Read moreAnthropic-compatible API
Point your Anthropic client at our Router through a /v1/messages shim and run open models on European GPUs. Drop-in, EU-hosted, no rewrite.
Read moreEurope's AI infrastructure.
Come build with us.
Start with one key today. Add dedicated GPUs when your workload needs them.







