Private AI

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

Create

Chat
Studio

Explore

Models
Benchmarks
Pricing
Apps

Library

Gallery
Workspace
Usage & billing
Teams
API
Suggestions and bugs
Settings
Terms

|

Privacy

|

Refunds
Referrals
Presets
Settings
FAQPress & mediaBrand assetsNano RPCBlogUse casesToolsEarn crypto
  1. All models overview
  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

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-11-30 · 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.

Manual provider picks

Separate from Auto

Observed speeds when callers selected a provider, grouped by the host that served the reply. These requests do not enter the Auto badge.

Bring your own key (BYOK)

Separate from Auto

Observed speeds using callers’ own provider keys. Account limits and service levels may differ from NanoGPT’s keys.

Recorded and unreported service-tier signals stay separate. Flex, Priority and Speed describe recorded request or response signals; mixed or unsupported signals are excluded. Default-like means auto, default or standard was reported; it does not verify an account’s upstream priority. Each reply counts once for its serving host. Averages use successful replies with both speed and first-token timing, over the freshest qualifying window in the last six hours.

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.

Inkling 2 Mini Uncensored TEE

TEE/inkling-2-mini-uncensored

Inkling 2 Mini Uncensored by OpenUncensored, a lower-refusal finetune of Thinking Machines Lab's open-weight Inkling 2 Mini mixture-of-experts model (26.4B total, 3.4B active parameters), with image input, tool calling, structured output, optional reasoning and a 262,144-token context. Runs inside a TEE (Trusted Execution Environment): each request is encrypted to an enclave instance whose attestation and measurements are verified first, and the model is unavailable while no measurement review covers its instances.

Inkling 2 Mini

thinkingmachines/inkling-2-mini

Inkling 2 Mini is Thinking Machines' open-weights Mixture-of-Experts model, with 26.4B total and 3.4B active parameters, released under Apache 2.0. It is built for agentic and tool-use work, with image input, tool calling, structured output and adjustable reasoning effort. Served in FP4, with a 1,048,576-token context window and up to 65,536 output tokens.

Solar Mini 4.5 Preview

upstage/solar-mini-4-5

Preview of Upstage's next compact model: a 35B-parameter mixture-of-experts with 3B active parameters, a 524K context window and an August 2026 training cutoff. A step up from Solar Mini 4 for agentic work, tool use and structured output, in English, Korean and Japanese. Behaviour may change before the final release.

Solar Mini 4.5 Preview Thinking

upstage/solar-mini-4-5:thinking

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