Skip to content

EU Router 03 Serve

Claude API alternative

Keep your Anthropic SDK and run open models on European GPUs instead of the Claude API.

  • 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

Anthropic-compatible, EU-hosted

Want to keep using the Anthropic API but keep your inference in Europe? HostYourAI speaks the Anthropic API through a /v1/messages shim. You point your existing client at our Router and run open models on European GPUs.

Read more

02 EU Router

What you get

  • The /v1/messages shape with x-api-key authentication
  • Open models on EU infrastructure you control
  • Also OpenAI-compatible through the same Router
  • No training on your data; subprocessor list public
03 EU Router

One platform for both APIs

If you run applications on both the OpenAI and the Anthropic API, you can do so through the same Router and the same EU GPUs. That keeps your stack simple and your data inside Europe.

04 EU Router

How to switch

Migrating does not take weeks. Your existing Anthropic SDK keeps working: set the base URL to our Router and use your HostYourAI key as x-api-key.

python
from anthropic import Anthropic

client = Anthropic(
    base_url="https://hostyourai.com",
    api_key="hyai-...",
)

msg = client.messages.create(
    model="llama-3.3-70b",
    max_tokens=512,
    messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)

Pick an open model from the Model Garden, test in the Playground and track usage and cost per request. Want more detail? Read the guide Migrate your OpenAI client to the EU Router.

05 EU Router

Claude API next to HostYourAI

Claude APIHostYourAI
ModelsClaude, closedOpen: Llama, Qwen, Mistral, DeepSeek
API shape/v1/messagesSame /v1/messages shape, plus the OpenAI route
ProcessingUnited StatesGPUs in the EU
StreamingToken by tokenBuffered via the Anthropic route; token by token via the OpenAI route
ImagesYesNot yet via the Anthropic route, text-only
AuditabilityBlack boxOpen weights
Questions

Questions about the Claude API alternative

Do I get the same quality as Claude?

Closed frontier models lead on some tasks. For many business workloads, such as summarising, RAG and structured output, open models perform strongly and are auditable. Test your own use case honestly in the Playground.

Does my existing Anthropic code work?

Yes. You change the base URL and use your hyai- key as x-api-key. The /v1/messages shape stays the same; details are on the Anthropic-compatible API page.

What are the shim limitations?

Streaming is answered buffered and messages are text-only. If you need token-by-token streaming or multimodal input, use the OpenAI route on the same Router.

Why would I move away from Claude?

Usually data location: Anthropic processes in the US. With HostYourAI, prompts and outputs stay in the EU, with a Data Processing Agreement and no training on your data.

Can I migrate gradually?

Yes. Run both side by side and route per workload; the API shape is the same, so switching is a configuration change.

What does it cost?

Per token, per model class, from one prepaid balance. See the pricing page and the model catalog.

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.

Works with the tools you already use

The Router speaks the OpenAI and Anthropic APIs, so it drops straight into the clients and SDKs your team already runs. Just change the base URL.

  • Docker
  • Anthropic
  • Hugging Face
  • LangChain
  • Python
  • Node.js
  • curl
  • Ollama
  • JetBrains
  • Jupyter
  • Vercel
  • Zapier
  • Postman
  • n8n

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.

The platform

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.

Code

Your coding agent on open models in Europe, set up with one command.

Open

Control

Keys, budgets and guardrails per team, and personal data stopped before any model sees it.

Open

Serve

Shared per token, or running for you alone, from European data centres.

Open

EU compute

Private GPUs in Europe, H100 to B300, sized for response time, generation speed and concurrent users.

Open

Related pages

Explore more about EU-hosted AI on HostYourAI.

Llama 3.1 70B Hosting Europe

Host Llama 3.1 70B on dedicated 1x RTX PRO 6000 (96 GB) in European data centers. GDPR compliant, from €1.91/hour, OpenAI-compatible API.

Read more

Mixtral 8x7B Hosting Europe

Host Mixtral 8x7B on dedicated 1x RTX PRO 6000 (96 GB) in European data centers. GDPR compliant, from €1.91/hour, OpenAI-compatible API.

Read more

OpenAI Alternative Europe

Looking for a European OpenAI alternative? HostYourAI offers compatible APIs with GDPR compliance, EU data centers, and no CLOUD Act.

Read more

Europe's AI infrastructure.
Come build with us.

Start with one key today. Add dedicated GPUs when your workload needs them.

  • Jantine
  • Hans
  • Sander
  • Jos
  • Daan
  • Kyra
  • Margriet
  • Stan
The team behind HostYourAI