Microsoft logo

Rent Phi-4 14B in a private loop

Maths and reasoning
By Microsoftphi4:14b14B parameters16K tokens of contextMIT

Trained mostly on synthetic data and therefore delivers quality you would not expect from 14B: on maths and reasoning it argues with models four times its size. MIT licensed and runs on a single consumer card.

GPU configurations for Phi-4 14B

1x RTX4090

Best value
~55 tok/sup to 3 streams
$0.54per hour

1x RTX5090

~72 tok/sup to 5 streams
$0.65per hour

1x A100

~52 tok/sup to 6 streams
$1.51per hour

1x H100

~84 tok/sup to 12 streams
$3.33per hour
Pick a GPU
VRAM
RAM
Storage
vCPU
CPU

Billing follows server uptime by the hour.

Phi-4 14B benchmarks

as published by the model vendor
Phi-4 14B scores in public benchmarks
MMLU84.8
GSM8K92.8
HumanEval82.6
FAQ

Frequently asked about renting Phi-4 14B

Which GPU does Phi-4 14B need?

The entry configuration is 1x RTX4090, which delivers around 55 tokens per second. For more parallel requests and headroom on speed, go with 1x H100.

How much does Phi-4 14B cost?

An hour of Phi-4 14B runs from $0.54 to $3.33 depending on the GPU configuration. Billing is hourly: you pay for server time, not for tokens.

How do I call Phi-4 14B from my code?

Once deployed you get an OpenAI-compatible endpoint: point any OpenAI client at the base_url you receive and pass phi4:14b as the model name. Code written against the OpenAI API needs no changes.

Does the data stay private?

Yes. Phi-4 14B runs on a dedicated GPU server inside a private loop: requests and responses never reach the model vendor and are not used for training.

What context window and license does Phi-4 14B have?

Phi-4 14B holds 16K tokens of context per request and ships under the MIT license, so you can use it commercially on your own hosting terms.