Private AI

Nano GPT logo
NanoGPT
Nano GPT logo
NanoGPT
Nano GPT logo
NanoGPT
Search
 
 
 
 
All conversations

Create

Chat
Studio

Explore

Models
Pricing
AI Apps
Blog

Library

Gallery
Workspace
Usage & billing
API
Suggestions and bugs
Use cases

|

Terms

|

Privacy

|

Refunds
Usage & billing
Teams
Referrals
Presets
Settings
FAQPress & mediaBrand assetsBenchmarksNano RPCEarn crypto
  1. Models
  2. Text

Phi 4 Mini

Phi 4 Mini by Microsoft. A small multilingual model.

Added Jul 26, 2025

Pricing

Auto routing · per 1M tokens
Input
$0.17
Output
$0.68
Cache read
$0.085
Compare provider prices

Specifications

Context window
8.2K
Max output
4.1K
Parameters
3.8B

Benchmarks

Sourced from Vectara.

Hallucination Rate

23.5%

Hallucination Rate: 23.5
Better than 1% of models compared

Factual Consistency

76.5%

Factual Consistency: 76.5
Better than 1% of models compared

Answer Rate

92.5%

Answer Rate: 92.5
Better than 8% of models compared

Avg Summary Length

Average generated summary length

420.2

Last updated 2026-10-22 · Matched as microsoft/Phi-4-mini-instruct

Vectara Leaderboard

Providers

Choose or restrict providers with the API. Provider-selection prices include the selection markup. Provider selection guide · Pricing API (JSON, USD per 1K tokens)

Auto
Auto
Recommended
$0.17$0.68$0.085N/AN/A
Kitani
Kitani
INT4
GLB
$0.161$0.693$0.0803N/AN/A
Privacy:ZDR, prompts not retained
Batch API
ProviderInputOutputCached input
Auto
Autophi-4-mini-instruct
$0.17/M$0.68/M$0.085/M

Batch rows for this model use normal routing and cost the same as standard API requests. Set provider in a row to choose a provider.

Related text models

Compare Phi 4 Mini with similar models from the same provider or model family.

Phi 4 Multimodal

phi-4-multimodal-instruct

Phi 4 by Microsoft. A small multimodal model that can handle images and text.

WizardLM-2 8x22B

microsoft/wizardlm-2-8x22b

Microsoft's advanced Wizard model. The most popular role-playing model.

Bielik 11B v3.0

speakleash/bielik-11b-v3.0-instruct

SpeakLeash’s Polish-focused multilingual model for conversation, writing and text analysis across European languages. Supports tool calling with a 32K context window.

AionLabs: Aion 3.5 Mini

aion-labs/aion-3.5-mini

A GLM-family collaborative generation model tuned for immersive roleplay and storytelling, with stronger narrative structure, tension, conflict, and nuanced mature themes.

Solar Mini 4

upstage/solar-mini4

Upstage's compact 35B-parameter mixture-of-experts model with 3B active parameters and a 524K context window. Built for fast, cost-efficient agentic tasks, with strong Korean and English support.

Solar Mini 4 Thinking

upstage/solar-mini4:thinking

Solar Mini 4 with reasoning enabled for agentic tasks and harder analysis across a 524K-token context window.