Compare / Llama 3.1 70B Instruct vs Phi 4

Llama 3.1 70B Instruct vs Phi 4

Which is cheaper, which is more capable, and which does better at each kind of work, from 15 results on 3 sources that measured both models.

Llama 3.1 70B Instruct
Meta · profile
Phi 4
Microsoft · profile
Results compared
15
Shared sources
3

Llama 3.1 70B Instruct or Phi 4? The short answer

  • Phi 4 is cheaper: $0.088 against $0.40 per million tokens, 4.6 times less.
  • They score about the same on the Artificial Analysis Intelligence Index (6.6 and 5.9).
  • On our business benchmarks, Llama 3.1 70B Instruct ranks higher for writing.
  • On our business benchmarks, Phi 4 ranks higher for reasoning and knowledge.

At a glance

Llama 3.1 70B InstructPhi 4
Price per million tokens$0.40 in · $0.40 out$0.070 in · $0.14 out
Blended (3 in : 1 out)$0.40$0.088
Cheapest host, blended$0.40 (DeepInfra, FP8)–
Intelligence Index6.65.9
Spring Prompt overall––
Output speed, tokens a second–42
Context window131,072 tokens16,384 tokens
WeightsOpenOpen
Developer based inthe USthe US

Prices are the developer's list price where we have read it, otherwise the typical host on OpenRouter; see every model's price. Intelligence and speed from Artificial Analysis.

Which is better for what

Each model's rank among models available today, for each kind of work, from our own benchmarks and licensed sources. The better rank is in green.

Use caseLlama 3.1 70B InstructPhi 4
Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls not measured 122 of 161
Reasoning and knowledgeHard questions across science, maths and general knowledge 179 of 195 178 of 195
WritingWhat people prefer in blind comparisons, and judged writing quality 153 of 187 175 of 187
Sticking to the factsSummarising without inventing things, and factual answers not measured 3 of 153

Every shared result

BenchmarkMetricLlama 3.1 70B InstructPhi 4
Arena (formerly LMArena)reportedBusiness, management and financeArena rating 1,2871,256
Arena (formerly LMArena)reportedCreative writingArena rating 1,2571,210
Arena (formerly LMArena)reportedExpert promptsArena rating 1,2751,268
Arena (formerly LMArena)reportedInstruction followingArena rating 1,2731,245
Arena (formerly LMArena)reportedOverallArena rating 1,2931,256
Arena (formerly LMArena)reportedWriting, literature and languageArena rating 1,2641,229
Artificial AnalysisreportedArtificial Analysis Intelligence Indexindex score 6.605.90
Artificial AnalysisreportedGPQA Diamond% of questions 40.9%57.5%
Artificial AnalysisreportedHumanity's Last Exam% of questions 4.5%3.8%
Artificial AnalysisreportedIFBench% of instructions 34.4%23.5%
Artificial AnalysisreportedTerminal-Bench Hard% of tasks 3.0%3.8%
Artificial AnalysisreportedΤ²-bench telecom% of tasks 15.2%0.0%
UGI LeaderboardreportedRequested-length error% off the requested word count 15.0%19.0%
UGI LeaderboardreportedStyle adherencescore from 0 to 1 0.380.34
UGI LeaderboardreportedWriting scorescore out of 100 32.825.7

Bold green marks the better value on that metric. Where a source reports ranges that overlap, the difference may not be meaningful; see the benchmark page for ranges.

Quick answers

Is Llama 3.1 70B Instruct better than Phi 4?

It depends on the task. Among models available today, on our benchmarks and licensed sources, Llama 3.1 70B Instruct ranks higher for writing; Phi 4 ranks higher for reasoning and knowledge.

Which is cheaper, Llama 3.1 70B Instruct or Phi 4?

Phi 4 costs $0.088 per million tokens (three input to one output), against $0.40 for Llama 3.1 70B Instruct.

Run Llama 3.1 70B Instruct and Phi 4 on your own prompt

Benchmarks aren't your data. Try both side by side in the playground, with the cost of every answer.