jishie

Phi-4

huggingface/microsoft/phi-4 · family phi · in: text → out: text · price provider-declared (via models.dev). Capabilities: text.

$0.09
Blended $/1M (3:1)
$0.07
Input $/1M
$0.14
Output $/1M
$0.21
1M in + 1M out
—
Cache read $/1M
#838 of 9,594
Cheapest rank
Provider
Hugging Face (huggingface)
Kind
text (outputs text)
Context
16,384 tokens
Max output
16,384 tokens
Capabilities
text

Same model, other providers

“Phi-4” is offered by 4 providers — cheapest-effective first. This one (Hugging Face) is the cheapest.

ProviderInputOutputBlendedContext
Hugging Face (this)$0.07$0.14$0.0916k
Eden AI$0.07$0.14$0.0916k
Azure Cognitive Services$0.125$0.5$0.2216k
Azure$0.125$0.5$0.2216k

Call it

jishie indexes & prices models; it does not proxy inference.

Most providers are OpenAI-compatible — point base_url at Hugging Face and pass this model id:

curl $BASE_URL/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"microsoft/phi-4","messages":[{"role":"user","content":"hello"}]}'

Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):

← all Hugging Face models · model index · JSON