## Microsoft Phi 4 Mini 3.8B inference overview

### Price per 1M tokens

$0.08 (input)

$0.35 (output)

### Parameters

3.8B

### Context Window

128K

### Release Date

Feb 2025

## Microsoft Phi 4 Mini 3.8B inference details

Phi 4 Mini is optimized for use in lightweight environments, excelling at quick interactions, and constrained-resource deployments. It supports strong mathematical and logical inference, suitable for embedded applications, mobile environments, or real-time AI assistants.

**Created by:**

Microsoft

**License:**

mit

**Model card:**

[Phi-4-mini-instruct](https://huggingface.co/microsoft/Phi-4-mini-instruct)

```python

```

## Microsoft Phi 4 Mini 3.8B resources

Course

AI engineering course: Agents

Guide

W&B Inference powered by CoreWeave

Whitepaper

A primer on building successful AI agents
