GET

/v1/models/openrouter/openrouter-microsoft-phi-4

provider openrouterstatus activefirst seen Jan 10, 2025last seen 2m ago
rawIdmicrosoft/phi-4
displayNameMicrosoft: Phi 4
idopenrouter-microsoft-phi-4
activitychat
schemaEndpointIdchat/completions
releasedAt1736489872 — Jan 10, 2025
firstSeenAt1736489872 — Jan 10, 2025
lastSeenAt1795360533 — 2m ago
pricing
contextWindow16384
maxOutput14745
modalities{"input":["text"],"output":["text"]}
capabilities{"frequency_penalty":true,"logit_bias":true,"max_tokens":true,"min_p":true,"presence_penalty":true,"repetition_penalty":true,"response_format":true,"seed":true,"stop":true,"structured_outputs":true,"temperature":true,"top_k":true,"top_p":true,"reasoning_effort":true,"tool_choice":true,"tools":true}
knowledgeCutoff · openWeights · weightsUrl · requestMap · providerMetadatanot published by this provider’s list endpoint
endpointactivity
chat/completionschat

endpoints matching this model — the provider has more, see /v1/schemas/openrouter

Use it

shell
$ curl https://modelschemas.com/v1/schemas/openrouter/chat/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"openrouter","endpointId":"chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"openrouter","model":"microsoft/phi-4","usage":{"input_tokens":1200,"output_tokens":400}}'