SandBase is live — $1 in free credits on signupStart free ›

Microsoft modelsChat Completions model

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 where quick responses are needed. At 14 billion parameters,...

Input⌘ / Ctrl + Enter

Try a prompt

16.4K max output
Input $0.07/M · Output $0.14/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

API details and access

Model Details

ProviderMicrosoft
TypeLlm
Model IDmicrosoft/phi-4

Capabilities

InputText
OutputText
Context-
Max Output16,384
VisionNot supported
Function CallingNot supported

Access details

Chat Completions
Base URLhttps://api.sandbase.ai
API Endpoint/v1/chat/completions
{
  "model": "microsoft/phi-4",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 512
}

Pricing

Input$0.07 / 1M tokens
Output$0.14 / 1M tokens

Related Models