Google: Gemini 3.1 Pro Preview vs Microsoft: Phi 4

Side-by-side comparison — pricing, context window, capabilities, and live leaderboard data.

Key differences

  • Google: Gemini 3.1 Pro Preview has a 1049K-token context window — 64.0× larger than Microsoft: Phi 4's 16K.
  • Microsoft: Phi 4 is 97% cheaper per 1K input tokens than Google: Gemini 3.1 Pro Preview ($0.0001 vs $0.0020).
  • Google: Gemini 3.1 Pro Preview is built by Google; Microsoft: Phi 4 is built by Microsoft.
  • Google: Gemini 3.1 Pro Preview supports vision (image inputs); the other does not.

Specifications

Google: Gemini 3.1 Pro PreviewMicrosoft: Phi 4
ProviderGoogleMicrosoft
Context window1049K16K
Max output tokens81928192
Input price / 1K tokens$0.0020$0.0001
Output price / 1K tokens$0.0120$0.0001
Vision supportYesNo
Function callingNoNo
LicenseProprietaryProprietary

About Google: Gemini 3.1 Pro Preview

US·Closed

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...

View Google: Gemini 3.1 Pro Preview reliability and benchmark history →

About Microsoft: Phi 4

US·Closed

[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...

View Microsoft: Phi 4 reliability and benchmark history →

Try them yourself

Run the same prompt against Google: Gemini 3.1 Pro Preview and Microsoft: Phi 4 side-by-side on PromptPit.

Start a comparison

Or browse the full AI model leaderboard.