Skip to content
03 Model garden Serve

Phi 3 medium 4k instruct

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

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

Call it now

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

Serve Model garden On request
microsoft/Phi-3-medium-4k-instruct

text->text · microsoft · sovereign EU

Runs on EU infrastructure operated by European companies, from your request to the GPU. See the full chain

Phi 3 medium 4k instruct is an open-source language model from Microsoft with 14B parameters and a 4K-token context window, hosted on EU GPUs via an OpenAI-compatible API.

Router
Router · on request
Dedicated
Dedicated · available
14BParameters
4KContext window
48GBMinimum VRAM
POST /api/v1/chat/completions On request

Specifications

Parameters14B
Context window4,096 tokens
Minimum VRAM48 GB
ArchitecturePhi3ForCausalLM (vLLM)
Licensemit
Modalitytext->text
ReleasedMay 2024
Publishermicrosoft ↗

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 €2,21 per hourYour own vLLM instance on European cloud (48 GB VRAM), billed per minute.

Shared EU router, you pay only per token. Dedicated GPU deployments are billed per minute, see pricing.

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.

33.5 / 100 · Via LiveBench

Translated from its LiveBench result onto the same scale.

Range 26.3 to 40.6

Sources: Epoch AI ↗ · LiveBench ↗ · LMArena ↗ · Refreshed daily, last on 19-11-2026

LiveBench · 29.3

Reasoning36.7
Coding20.5
Mathematics19.6
Data analysis31.6
Language13.9
Instruction following53.3
LiveBench · All tasks
Reasoning
web of lies v240.0
zebra puzzle30.0
spatial40.0
Coding
LCB generation26.9
coding completion14.0
Mathematics
AMPS Hard28.0
math comp15.6
olympiad15.2
Data analysis
cta54.0
tablejoin4.9
tablereformat36.0
Language
connections14.0
plot unscrambling15.7
typos12.0
Instruction following
paraphrase56.5
simplify55.8
story generation52.6
summarize48.4
Questions

Frequently asked questions

Can I run Phi 3 medium 4k instruct in the EU?

Yes. HostYourAI runs Phi 3 medium 4k instruct 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 3 medium 4k instruct 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 3 medium 4k instruct cost?

Phi 3 medium 4k instruct is available on request: through the shared EU router after a quick chat, or as your own dedicated GPU deployment billed per minute. 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

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

Try Phi 3 medium 4k instruct for free

Creating an account takes a minute. Test Phi 3 medium 4k instruct straight away in the playground.

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