MiscSubjects

Microsoft: Phi 4

[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or…

MicrosoftPhi 4
microsoft/phi-4
2025-01-10text->textknows up to 2024-06-30
Input
$0.07
per 1M tokens
Output
$0.14
per 1M tokens
Context
16K
tokens it reads
Max output
15K
tokens it writes
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...
inspect — the catalog entry
{
  "id": "microsoft/phi-4",
  "canonical_slug": "microsoft/phi-4",
  "hugging_face_id": "microsoft/phi-4",
  "name": "Microsoft: Phi 4",
  "created": 1736489872,
  "description": "[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...",
  "context_length": 16384,
  "architecture": {
    "modality": "text->text",
    "input_modalities": [
      "text"
    ],
    "output_modalities": [
      "text"
    ],
    "tokenizer": "Other",
    "instruct_type": null
  },
  "pricing": {
    "prompt": "0.00000007",
    "completion": "0.00000014"
  },
  "top_provider": {
    "context_length": 16384,
    "max_completion_tokens": 14745,
    "is_moderated": false
  },
  "per_request_limits": null,
  "supported_parameters": [
    "frequency_penalty",
    "logit_bias",
    "max_tokens",
    "min_p",
    "presence_penalty",
    "repetition_penalty",
    "response_format",
    "seed",
    "stop",
    "structured_outputs",
    "temperature",
    "top_k",
    "top_p"
  ],
  "default_parameters": {},
  "supported_voices": null,
  "knowledge_cutoff": "2024-06-30",
  "expiration_date": null,
  "links": {
    "details": "/api/v1/models/microsoft/phi-4/endpoints"
  },
  "endpoints": [
    "/api/v1/chat/completions",
    "/api/v1/completions",
    "/api/v1/messages",
    "/api/v1/responses"
  ],
  "benchmarks": null,
  "reasoning": null
}
References (1)
  1. Stored model catalog — Nov 5, 2026
Via
OpenRouter
Id
openrouter/microsoft/phi-4
Model id
microsoft/phi-4
Name
Microsoft: Phi 4
Description
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or…
Family
microsoft
Canonical slug
microsoft/phi-4
Price in
0.07
Price out
0.14
Price cache read
null
Price cache write
null
Price cache write 1h
null
Price web search
null
Price overrides
[]
Context
16384
Max completion tokens
14745
Modality
text->text
Input modalities
["text"]
Output modalities
["text"]
Tokenizer
Other
Knowledge cutoff
2024-06-30
Created
1736489872
Moderated
false
Params
["frequency_penalty","logit_bias","max_tokens","min_p","presence_penalty","repetition_penalty","response_format","seed","stop","structured_outputs","temperature","top_k","top_p"]
Default parameters
{}
Tools
false
Reasoning
false
Reasoning efforts
null
Reasoning default effort
null
Reasoning mandatory
false
Reasoning default enabled
null
Vision
false
Expiration date
null
Page dataOpen JSON
page.json
{
  "schema": "page/1",
  "id": "model:openrouter/microsoft/phi-4",
  "kind": "AIModel",
  "title": "Microsoft: Phi 4",
  "layout": "item",
  "status": "published",
  "summary": "[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or…",
  "body": [
    {
      "type": "model",
      "id": "microsoft/phi-4"
    }
  ],
  "hero": "",
  "facts": {
    "via": "OpenRouter",
    "id": "openrouter/microsoft/phi-4",
    "model_id": "microsoft/phi-4",
    "name": "Microsoft: Phi 4",
    "description": "[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or…",
    "family": "microsoft",
    "canonical_slug": "microsoft/phi-4",
    "price_in": 0.07,
    "price_out": 0.14,
    "price_cache_read": null,
    "price_cache_write": null,
    "price_cache_write_1h": null,
    "price_web_search": null,
    "price_overrides": [],
    "context": 16384,
    "max_completion_tokens": 14745,
    "modality": "text->text",
    "input_modalities": [
      "text"
    ],
    "output_modalities": [
      "text"
    ],
    "tokenizer": "Other",
    "knowledge_cutoff": "2024-06-30",
    "created": 1736489872,
    "moderated": false,
    "params": [
      "frequency_penalty",
      "logit_bias",
      "max_tokens",
      "min_p",
      "presence_penalty",
      "repetition_penalty",
      "response_format",
      "seed",
      "stop",
      "structured_outputs",
      "temperature",
      "top_k",
      "top_p"
    ],
    "default_parameters": {},
    "tools": false,
    "reasoning": false,
    "reasoning_efforts": null,
    "reasoning_default_effort": null,
    "reasoning_mandatory": false,
    "reasoning_default_enabled": null,
    "vision": false,
    "expiration_date": null
  },
  "sources": [
    {
      "title": "Stored model catalog",
      "url": "https://openrouter.ai/api/v1/models",
      "date": "2026-11-05T04:17:14.088Z"
    }
  ],
  "widgets": [],
  "members": [],
  "relations": [
    {
      "ref": "provider:microsoft.com",
      "rel": "published by"
    }
  ],
  "media": [],
  "tags": [],
  "query": {},
  "created": "2026-11-05T04:17:14.088Z",
  "updated": "2026-11-05T04:17:14.088Z",
  "provenance": {
    "store": "model-catalog",
    "id": "openrouter/microsoft/phi-4",
    "key": "state/models/catalogue.json",
    "original_id": "openrouter/microsoft/phi-4",
    "source_kind": "AIModel",
    "source_provider": "OpenRouter",
    "hash": "fdcd5ba9cb717f33a8cda7b47becdbdf6df6719e4019ed262a666e7fcabbde41"
  },
  "version": "10d47e5780dfdf820260a1f809dcd823bd2f611ebbd97bc6f860f79bb63bdbd8"
}