Skip to main content

Model guide

Phi-4 Reasoning

Phi-4 Reasoning is a reasoning-trained derivative of the 14B Phi-4 model for mathematical, scientific and coding problems. Compare it with the original Phi-4 on a task with an independently checkable result. The longer reasoning output and different context limit are part of the trade-off, not evidence of correctness.

14BReasoning32,768 token contextView the model card →

At a glance

Parameters
14B
Accepts
Text
Returns
Text
Published context limit
32,768 tokens
Model format
safetensors · GGUF
Software and download hosts
Ollama. Follow the exact setup below; this list does not establish support for every format, input type or software version.
Suggested compression
Q4_K_M
Model-weight download
Q4_K_M weights · 9.05 GBbartowski (community conversion)microsoft_Phi-4-reasoning-Q4_K_M.gguf
Languages
Unknown
License
MIT

Will it fit?

Phi-4 Reasoning · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.

Check on your computer

Best for

  • Test a 14B math model on a problem where a smaller reasoning model overlooks a condition. Check the final result independently.

Choose something else when

  • For interactive rewrites, choose a model that can answer directly without spending your reply budget on reasoning.

First setup

After loading this reasoning model with the setup below, ask: Solve 2*x + 3 = 11. Give the final value and verify it by substitution. Use the publisher’s sampling settings for this checkpoint, a 4,096-token context and an initial 1,024-token output cap. A checkable final answer is x = 4, because 2*4 + 3 = 11. If the output cap stops reasoning before a final answer, treat that as an interrupted answer; increase the output allowance only within the available context and memory. A correct answer to this small example does not establish general reasoning accuracy. Ask whether the same proof works for negative integers and require a counterexample when it fails: For integer x, does x²>x imply x>0? Give a counterexample if false. The counterexample x = −1 suffices. See the publisher guidance.

Other models for this task