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

Microsoft modelsChat Completions model

microsoft/phi-4-mini-instruct

Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data. The model belongs to the Phi-4 model family and sup...

Input⌘ / Ctrl + Enter

Try a prompt

128K context128K max output
Input $0.08/M · Output $0.35/M · Cache read $0.08/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-mini-instruct

Capabilities

InputText
OutputText
Context128,000
Max Output128,000
VisionNot supported
Function CallingNot supported

Access details

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

Pricing

Input$0.08 / 1M tokens
Output$0.35 / 1M tokens
Cache read$0.08 / 1M tokens

Related Models