EU Router

EU Inference Router

One base URL for every open model, running on European GPUs that we manage for you.

On this page

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.

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.

Je app
OpenAI · Anthropic
EU Router
één base URL
Qwen3-8B
warm
Loes (NL)
soeverein
Llama-3.3
warm

Why route through it?

  • 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

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 RouterDedicated instance
BillingPer tokenPer hour
Startup timeInstant, popular models are warmA few minutes on deploy
IsolationShared capacityA GPU that is yours alone
ModelsCurated catalogAny open model or your own HuggingFace ID
ManagementNoneStart, stop and scale yourself
Best forGetting started and variable trafficSteady 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?

Slide your monthly token volume to where your workload sits and pick a model class. The calculator uses the rates listed above on this page, so the prices we actually bill.

1.0 billion tokens per month
Shared Router cheapest
€ 243 per month
€ 0.17 input and € 0.40 output per million tokens
Dedicated GPU cheapest
€ 2,613 per month
1x A100 / H100 (80 GB), € 3.58 per hour, 730 hours per month
From roughly 10.8 billion tokens per month, a dedicated GPU is cheaper than the shared Router for Mistral Small 3.2 24B.
At 1.0 billion tokens per month you pay least through the shared Router: € 243 against € 2,613 for your own GPU. That saves € 2,370 per month.
Calculated with 70 percent input tokens and 30 percent output tokens, a common ratio for chat and agent traffic. If your workload sits differently, the break-even point moves with it.
Dedicated is always on. You pay for the machine per minute for as long as it runs, at the weekend and overnight too. The shared Router only bills what you actually send and scales back to zero in between.
This compares prices, not capacity. Whether one machine actually handles your volume depends on your traffic: concurrency, prompt length and peaks. At larger volumes we work that through with you, so you know how many machines you need. /contact
Dedicated gives you the whole machine. No queue behind other customers, predictable latency and all of the GPU memory for your model. Even at an equal amount that can be the deciding factor.
Hourly rates come from the same tier table as above, refreshed daily from our EU providers. Token prices come from the catalog your usage is billed from. A month counts as 730 hours here, the yearly average. Amounts exclude VAT.

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.

100%
EU-hosted

Your data and your models stay on European GPUs. GDPR-friendly by design.

200+
Verified models, ready to serve

Llama, Qwen, DeepSeek, Mistral, FLUX and plenty more. Pick one and it is warm in minutes, with no DevOps on your end.

2 SDK
OpenAI & Anthropic compatible

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.

1

Pick a model

Choose from the Model Garden or paste any HuggingFace ID. Set the VRAM and pick an EU GPU.

2

Get your endpoint

We deploy vLLM, run readiness probes, and hand you a warm OpenAI- and Anthropic-compatible URL plus an API key.

3

Route and ship

Point your client at the Router. It auto-routes to a warm instance, idles GPUs when nobody is online, 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.

Public sector & government

Citizen data that legally has to stay in the EU, with full auditability.

Regulated enterprise

Finance, healthcare and legal teams under GDPR, DORA and the AI Act.

EU SaaS & scale-ups

Ship AI features your customers trust, without a US sub-processor.

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-hostedGDPR-friendlyOpenAI-compatiblevLLM-poweredNo lock-in
EU
Full data sovereignty

GPUs and data residency inside Europe. Your prompts never leave the EU.

Open
Models you can audit

Run open-weight models with no black boxes or hidden telemetry.

€0
Scale to zero

GPUs idle when nobody is online, so you only pay for what you run.

Yours
No vendor lock-in

Your infra, your keys, your models. Leave whenever you want.

Model garden

Works with 390+ open models

Text and image models on dedicated EU GPUs. Every model tested on our own hardware.

Related pages

Explore more about EU-hosted AI on HostYourAI.

Host. Route. Ship.

No credit card required. Pay as you go, cancel anytime.

Start Hosting Free Today