Back to Models

Microsoft: Phi 4 Reasoning Plus

microsoft/phi-4-reasoning-plus

Description

Phi-4-reasoning-plus is an enhanced 14B parameter model from Microsoft, fine-tuned from Phi-4 with additional reinforcement learning to boost accuracy on math, science, and code reasoning tasks. It uses the same dense decoder-only transformer architecture as Phi-4, but generates longer, more comprehensive outputs structured into a step-by-step reasoning trace and final answer. While it offers improved benchmark scores over Phi-4-reasoning across tasks like AIME, OmniMath, and HumanEvalPlus, its responses are typically ~50% longer, resulting in higher latency. Designed for English-only applications, it is well-suited for structured reasoning workflows where output quality takes priority over response speed.

API Usage Examples

OpenAI Compatible Endpoint

Use this endpoint with any OpenAI-compatible library. Model: Microsoft: Phi 4 Reasoning Plus (microsoft/phi-4-reasoning-plus)

curl https://api.ridvay.com/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "microsoft/phi-4-reasoning-plus",
    "messages": [
      {
        "role": "user",
        "content": "Explain the capabilities of the Microsoft: Phi 4 Reasoning Plus model"
      }
    ],
    "temperature": 0.7,
    "max_tokens": 1024
  }'

Supported Modalities

  • Text

API Pricing

  • Input: 0.07$ / 1M tokens
  • Output: 0.35$ / 1M tokens

Token Limits

  • Max Output: 32,768 tokens
  • Max Context: 32,768 tokens

Subscription Tiers

  • free
  • pro
  • ultimate