Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Business
  • 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

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube

By subscribing you agree to receive the OpenRouter newsletter: model usage data, product updates, and research reports, about one email a week. Unsubscribe anytime via the link in every email. See our Privacy Policy.

  1. Home
  2. /
  3. Compare

Phi 4 vs Hy4 preview

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

Phi 4 vs Hy4 preview: side-by-side summary

Phi 4 and Hy4 preview 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.

Hy4 preview, from tencent, has a 1,048,576-token context window and is priced at $0.834/M tokens input, $2.501/M tokens output on OpenRouter.

Context window
  • Phi 4: 16,384 tokens
  • Hy4 preview: 1,048,576 tokens
Price
  • Phi 4: $0.07/M tokens input, $0.14/M tokens output
  • Hy4 preview: $0.834/M tokens input, $2.501/M tokens output
Provided by
  • Phi 4: Microsoft
  • Hy4 preview: tencent
Favicon for microsoft
Phi 4
Favicon for tencent
Hy4 preview
Favicon for microsoft
Phi 4
Favicon for tencent
Hy4 preview

Overview

Phi 4
Author
Microsoft
Hy4 preview
Author
tencent
Phi 4
Context length
16Ktokens
Hy4 preview
Context length
1.05Mtokens
Phi 4
Reasoning
Hy4 preview
Reasoning
Phi 4
Input modalities
Hy4 preview
Input modalities
Phi 4
Output modalities
Hy4 preview
Output modalities
model details, providers and pricing
model details, providers and pricing
Phi 4
Hy4 preview