InferIndex

Model comparisons

InferIndex · https://inferindex.dev/compare/google/gemma-2-27b-it/vs/microsoft/phi-4

Gemma 2 27B vs Phi 4

Verdict

At these prices, Gemma 2 27B costs 7.4× as much as Phi 4 per million tokens (at a 3:1 input:output mix).

Gemma 2 27B costs from $0.65 per million tokens and Phi 4 from $0.088 (at a 3:1 input:output mix): the cheapest price for each; prices checked on .

Each model's lowest blended price, per 1M tokens, across every provider we track.

Gemma 2 27B vs Phi 4: API prices
ModelQuality rank from public evaluations. 1 = best.Coding quality rank from public evaluations. 1 = best.Lowest blended price, $ per 1M tokens. Green background: the most favourable value of each column.Input price of the cheapest offer, per 1M tokensOutput price of the cheapest offer, per 1M tokensThe provider's published policy says the text you send is not used to train models. We only show what is published; we can't check it ourselves.For 2,000 input tokens and 500 output tokens per request, 1,000 requests a day, at the cheapest offer for that workload.OffersProvidersThe maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut.
Phi 4, Microsoftat DeepInfra Rank 84 of 86 · score 29.8/100 · Nov 29, 2026, most favourable value of the columnNot ranked in this quality board $0.088, most favourable value of the column $0.07, most favourable value of the column$0.14, most favourable value of the columnAn offer with no training on prompts at the lowest price.–No data74, most favourable value of the column16k
Gemma 2 27B, Googleat Nextbit via Hugging Facevia Hugging Face Rank 85 of 86 · score 27.6/100 · Nov 29, 2026Not ranked in this quality board $0.65 $0.65$0.65No offer confirmed without training on prompts.$48.75at Nextbit via Hugging Face328k

Cheaper, similar quality

vs Gemma 2 27BScore within 3 points out of 100 in the same quality board, blended price at least 10% lower.

OverallRank 85 of 86 · score 27.6/100 · Nov 29, 2026

Cheaper, similar quality · Overall
ModelQualityrankGapptsBlended$/MSaving%Compare
Phi 4 Rank 84 of 86 · score 29.8/100 · Nov 29, 2026 +2.2 0.088 87

Prices as of Nov 29, 2026, 2:57 PM UTCSame rules as the API's /cheapest route. The monthly estimate uses the cheapest offer for that workload.

Share

Other comparisons