jishie

Phi 4

openrouter/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
#876 of 7,710
Cheapest rank
Provider
OpenRouter (openrouter)
Kind
text (outputs text)
Context
16,384 tokens
Max output
14,745 tokens
Capabilities
text

Call it

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

Most providers are OpenAI-compatible — point base_url at OpenRouter 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 OpenRouter models · model index · JSON