NOUMENOpen app

microsoft · Open weights

Phi 4 Mini

Added Jul 26, 2025Open weights

Compare models

Choose up to 3 models to compare.1 of 3 chosen

Loading models…

Use in the app

Phi 4 Mini by Microsoft. A small multilingual model.

Input
Text
Output
Text
Discovery tier
Open weights

Pricing

USD per 1M tokens
Input
$0.17
Output
$0.68

Reference prices as published by the model provider. API example

Specifications

Context window
128K
Max output
16.4K
Average output (7 days)
24 tokens
Longer than 0% of 468 models

Side by side

Phi 4 Mini compared

Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.

Compare models

Choose up to 3 models to compare.1 of 3 chosen

Loading models…

Phi 4 MinimicrosoftThis modelLlama 4 ScoutMetaRemove
ProvidermicrosoftMeta
Discovery tierOpen weightsOpen weights
AddedJul 26, 2025Sep 5, 2025
Limits
Context window128K328KBest
Max output16.38K65.54KBest
Average output24 tokens79 tokens
Pricing, USD per 1M tokens
Input$0.17$0.085Best
Output$0.68$0.46Best
Performance
Request success (24h)100.0%Best45.0%
Benchmark indexes
Intelligence Index6.36.5Best
Coding Index3.88.2Best
Math Index6.714.0Best
Capabilities
ToolsNoYes
VisionNoYes
Structured outputNoYes
Reasoning effort——

Public evaluations

Benchmarks

Independent evaluation results, with how each score ranks among the models in the Noumen catalog.

  • Phi 4 Mini
  • Llama 4 Scout

Intelligence Index

  • Phi 4 Mini6.3
  • Llama 4 Scout6.5

Phi 4 Mini: Better than 4% of 326 scored models

3.8Catalog models by score55.1

Indexes

  • Coding Index

    Composite of the coding evaluations

    • Phi 4 Mini: 3.8
    • Llama 4 Scout: 8.2Top
  • Math Index

    Composite of the math evaluations

    • Phi 4 Mini: 6.7
    • Llama 4 Scout: 14.0Top

Agentic work

  • AutomationBench-AA

    Workflow automation, penalized for guardrail violations

    • Phi 4 Mini: —
    • Llama 4 Scout: 0.2%
  • AutomationBench-AA tasks completed

    Workflows finished end to end without a guardrail violation

    • Phi 4 Mini: —
    • Llama 4 Scout: 0.0%

Document reasoning

  • GDP.pdf

    Professional reasoning over PDF documents, all-pass rate

    • Phi 4 Mini: —
    • Llama 4 Scout: 0.0%
  • AA-LCRv1.1

    Reasoning across long documents

    • Phi 4 Mini: 15.3%
    • Llama 4 Scout: 27.7%Top

Reasoning and knowledge

  • Humanity’s Last Exam

    Expert-level questions across academic fields

    • Phi 4 Mini: 4.4%Top
    • Llama 4 Scout: 3.8%
  • GPQA Diamond

    Graduate-level science questions

    • Phi 4 Mini: 33.1%
    • Llama 4 Scout: 58.7%Top
  • MMLU-Pro

    Multi-subject knowledge and reasoning

    • Phi 4 Mini: 46.5%
    • Llama 4 Scout: 75.2%Top
  • IFBench

    Following precise output instructions

    • Phi 4 Mini: 21.1%
    • Llama 4 Scout: 39.5%Top

Coding

  • Terminal-Benchv4.0

    Practical software engineering in a terminal

    • Phi 4 Mini: —
    • Llama 4 Scout: 0.0%
  • SciCode

    Scientific computing in Python

    • Phi 4 Mini: —
    • Llama 4 Scout: 21.3%
  • LiveCodeBench

    Recent competitive programming problems

    • Phi 4 Mini: 12.6%
    • Llama 4 Scout: 29.9%Top

Math

  • AIME 2025

    Competition mathematics, 2025 problems

    • Phi 4 Mini: 6.7%
    • Llama 4 Scout: 14.0%Top
  • AIME

    Competition mathematics

    • Phi 4 Mini: 3.0%
    • Llama 4 Scout: 28.3%Top
  • MATH-500

    Competition math problems

    • Phi 4 Mini: 69.6%
    • Llama 4 Scout: 84.4%Top

Legacy evaluations

  • Terminal-Bench Hard

    Earlier terminal task suite

    • Phi 4 Mini: 0.0%
    • Llama 4 Scout: 1.5%Top
  • τ²-Bench Telecom

    Tool use in a customer-support simulation

    • Phi 4 Mini: 8.2%
    • Llama 4 Scout: 15.5%Top
  • AA-LCR (unversioned)

    Long-context reasoning, earlier grading

    • Phi 4 Mini: 15.3%
    • Llama 4 Scout: 27.7%Top

Scores from Artificial Analysis, updated Oct 26, 2026. Artificial Analysis

Live routing data

Performance and reliability

Recent averages across requests routed for this model. Your own speed depends on prompt length, reasoning effort and load.

Prompt cache hits
0.0%
Request success (24h)
100.0%
Reliable

Cache hits are the share of input tokens recently served from a prompt cache across all requests. They are not a forecast of your own hit rate.

Hourly request success · last 72 hoursLowest hour 100.0%
  • Healthy (98% or more)
  • Degraded (90–98%)
  • Down (under 90%)
  • No requests

Developers

Use it through the API

Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.

Read the quickstart
curl https://www.noumen.xyz/api/v1/chat/completions \
  -H "Authorization: Bearer $NOUMEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "phi-4-mini-instruct",
    "messages": [{ "role": "user", "content": "Explain this stack trace." }]
  }'
import os
from openai import OpenAI

client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
    model="phi-4-mini-instruct",
    messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)

microsoft

Other microsoft models, starting with the same family.