Chat
Phi-4 is a model built upon a blend of synthetic datasets, data from filtered public domain websites, and acquired academic books and Q&A datasets. The goal of this approach was to ensure that small capable models were trained with data focused on high quality and advanced reasoning.
What it's best for
Best for the hardest general work: long, nuanced documents, difficult reasoning and tasks where output quality matters more than price per token.
Pricing
Prices updated daily — last generated 2026-07-08.
Billing is metered per request in GBP on the same monthly invoice as your apps — no subscription, no minimum. We list every model once, at the cheapest route we can serve it on; if we have to fail over to a more expensive route, we absorb the difference and your price does not change.
Where your data is processed
Requests to Phi 4 are routed to a vetted partner provider and processed on that provider's infrastructure — they leave our infrastructure, and the UK-residency guarantee that applies to our UK-hosted models does not apply here. We hold the provider credentials server-side and route on cost and availability. If you need prompts that never leave our own infrastructure, use one of our UK-hosted models.
Call it in two minutes
The gateway is OpenAI-compatible: point your SDK or HTTP client at
api.node.uk and use the model id phi-4.
Credentials come from your portal, with £15
of free credit on signup.
curl https://api.node.uk/api/v1/models/phi-4/v1/chat/completions \
-H "Authorization: Bearer $NODE_GATEWAY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model": "phi-4", "messages": [{"role": "user", "content": "Hello"}]}'
from openai import OpenAI
client = OpenAI(
base_url="https://api.node.uk/api/v1/models/phi-4/v1",
api_key=NODE_GATEWAY_TOKEN,
)
reply = client.chat.completions.create(
model="phi-4",
messages=[{"role": "user", "content": "Hello"}],
)
Related models
Browse the full model catalogue, read which model for which task, or see how the AI Gateway works.