Model garden Router · on request Dedicated · available

phi 4

Runs as your own dedicated GPU deployment, ready to launch from the wizard. Data stays in Europe.

Our training data is an extension of the data used for Phi-3 and includes a wide variety of sources from:

microsoft/phi-4 vLLM ready
text->text · microsoft · sovereign EU
Runs on EU infrastructure operated by European companies; US marketplace capacity is never part of this chain. Full chain
15B
Parameters
16K
Context window
48GB
Minimum VRAM
POST /api/v1/chat/completions On request

Specifications

Parameters 15B
Context window 16,384 tokens
Minimum VRAM 48 GB
Architecture Phi3ForCausalLM (vLLM)
License mit
Modality text->text
Released December 2024
Publisher microsoft ↗

Pricing

Shared router · per token
On request
Not available on the shared router. Pricing on request as a dedicated GPU deployment.
Dedicated GPU · per hour
from €1,08 per hour
Your own vLLM instance on European cloud (48 GB VRAM), billed hourly.

Shared EU router, pay-per-token, scale-to-zero. Dedicated GPU deployments are billed hourly, see pricing.

✓ Verified working on 26-07-2026, responded in 98 ms on our EU infrastructure.

Bench index

Bench is our quality index for every model, 0 to 100. It rests on public measurements (Epoch AI with about 40 benchmarks, LiveBench, LMArena and more) and is refreshed every morning. Where nobody measures, it shows an estimate with a range.

50.6 / 100 · Measured

Measured by Epoch AI across 6 benchmarks, with a range.

Range 43.3 to 52.5 · Rank 157 of 270 at Epoch AI

Sources: Epoch AI ↗ · LiveBench ↗ · LMArena ↗ · Refreshed daily, last on 24-10-2026

LiveBench · 40.7
Reasoning 39.1
Coding 29.1
Mathematics 43.0
Data analysis 45.2
Language 29.3
Instruction following 58.4
Every benchmark (6)
MMLU 79.7
MATH level 5 64.9
Lech Mazur Writing 62.6
GPQA diamond 43.1
OTIS Mock AIME 2024-2025 13.7
Balrog 11.6
LiveBench · All tasks
Reasoning
web of lies v3 37.7
zebra puzzle 35.5
spatial 44.0
Coding
LCB generation 25.3
coding completion 32.9
Mathematics
AMPS Hard 57.0
math comp 45.8
olympiad 26.3
Data analysis
cta 48.0
tablejoin 19.5
tablereformat 68.0
Language
connections 20.0
plot unscrambling 20.0
typos 48.0
Instruction following
paraphrase 54.8
simplify 65.3
story generation 60.1
summarize 53.4

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "microsoft/phi-4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Frequently asked questions

Can I run phi 4 in the EU?

Yes. HostYourAI runs phi 4 on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting phi 4 GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does phi 4 cost?

phi 4 is available on request: through the shared EU router after a quick chat, or as your own dedicated GPU deployment billed per hour. Tell us your use case and we will set it up for you.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

More models from Microsoft

UserRepGen 4B

UserRepGen-4B is a fine-tuned Qwen3.5-4B language model that generates a structured, natural-language user representation from a multi-turn user-assistant conversation. Each representation contains a task description and a behavior description for a user, and is intended to condition a separate LLM-based user simulator.

4.5B 262K context View model →
AesCode 32B

AesCode generates information-rich visual artifacts such as slides, posters, and dashboards as HTML/CSS. The output remains structured, editable, and verifiable, but the task poses a distinct challenge: code models cannot see how layout, hierarchy, and color come together on the canvas.

33B 262K context View model →
AesCode 8B

AesCode generates information-rich visual artifacts such as slides, posters, and dashboards as HTML/CSS. The output remains structured, editable, and verifiable, but the task poses a distinct challenge: code models cannot see how layout, hierarchy, and color come together on the canvas.

8.8B 262K context View model →
Fara1.5 27B

Fara1.5-27B is a multimodal computer use agent (CUA) for web browsers, from Microsoft Research AI Frontiers. It observes the browser through screenshots and acts on the user's behalf by emitting structured tool calls — click, type, scroll, visit URL, web search, and so on — to complete tasks end-to-end.

27B 262K context View model →
Fara1.5 4B

Fara1.5-4B is a multimodal computer use agent (CUA) for web browsers, from Microsoft Research AI Frontiers. It observes the browser through screenshots and acts on the user's behalf by emitting structured tool calls — click, type, scroll, visit URL, web search, and so on — to complete tasks end-to-end.

4.5B 262K context View model →
GELab Zero 4B preview Sico Evolution

GELab Zero 4B preview Sico Evolution is an multimodal language model from Microsoft with 4.4B parameters, hosted on EU GPUs via an OpenAI-compatible API.

4.4B View model →

Try phi 4 for free

Creating an account takes a minute. Test phi 4 straight away in the playground.

Start for free