Home / Compare / Claude Sonnet 5 vs Phi 4

Claude Sonnet 5 vs Phi 4

For a typical chat reply (2,000 tokens in, 400 out), Claude Sonnet 5 costs 41× as much as Phi 4: $8.00 against $0.196 per 1,000 requests at list price on 2026-09-28.

Claude Sonnet 5Phi 4
Input, per 1M tokens$2.00$0.07
Output, per 1M tokens$10.00$0.14
Context window1M16K
Classification or routing (600 tokens in, 10 out), per 1,000$1.30$0.0434
Chat reply (2,000 in, 400 out), per 1,000$8.00$0.196
Retrieval-augmented answer (8,000 in, 500 out), per 1,000$21.00$0.63
Confidence signalnono
Tool callingyesno
BANKING77, correct of 400308not measured

Which one should carry your traffic?

If Phi 4 answers your requests as well as Claude Sonnet 5, moving that traffic saves 98% on chat-shaped requests. Averages cannot tell you whether it does for your requests. Phi 4 does not expose a confidence signal through OpenRouter, so Gimbix would test it as a full replacement rather than a first answer.

Claude Sonnet 5 profile · Phi 4 profile · Measure it on your traffic