Skip to content
Alpha
  • Models
  • Rankings
  • Ori

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • EU routing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

Phi 4 vs Mistral Small 4

Compare Phi 4 from Microsoft and Mistral Small 4 from Mistral AI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for microsoft
Phi 4
Favicon for mistralai
Mistral Small 4
Favicon for microsoft
Phi 4
Favicon for mistralai
Mistral Small 4

Overview

Phi 4
Author
Microsoft
Mistral Small 4
Author
Mistral AI
Phi 4
Context length
16Ktokens
Mistral Small 4
Context length
262Ktokens
Phi 4
Reasoning
Mistral Small 4
Reasoning
Phi 4
Input modalities
Mistral Small 4
Input modalities
Phi 4
Output modalities
Mistral Small 4
Output modalities

Phi 4 vs Mistral Small 4: side-by-side summary

Phi 4 and Mistral Small 4 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Phi 4, from Microsoft, has a 16,384-token context window and is priced at $0.07/M tokens input, $0.14/M tokens output on OpenRouter.

Mistral Small 4, from Mistral AI, has a 262,144-token context window and is priced at $0.15/M tokens input, $0.60/M tokens output on OpenRouter.

Context window
  • Phi 4: 16,384 tokens
  • Mistral Small 4: 262,144 tokens
Price
  • Phi 4: $0.07/M tokens input, $0.14/M tokens output
  • Mistral Small 4: $0.15/M tokens input, $0.60/M tokens output
Provided by
  • Phi 4: Microsoft
  • Mistral Small 4: Mistral AI
  • Phi 4 model details, providers and pricing
  • Mistral Small 4 model details, providers and pricing

Phi 4 vs Mistral Small 4 at a glance

Phi 4 vs Mistral Small 4 comparison
AttributePhi 4Mistral Small 4
Input price$0.07/M tokens$0.15/M tokens
Output price$0.14/M tokens$0.60/M tokens
Context window16,384 tokens262,144 tokens
Intelligence Index5.99.0
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)Not available0.58 s
Throughput (p50)Not available110.0 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is Phi 4 cheaper than Mistral Small 4?

Phi 4 is cheaper than Mistral Small 4 on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Mistral Small 4 costs $0.15/M tokens input and $0.60/M tokens output.

Which has the longer context window, Phi 4 or Mistral Small 4?

Mistral Small 4 has the longer context window at 262,144 tokens, compared with 16,384 tokens for Phi 4.