Enter opens the highlighted result. Esc closes.

Grok 4.7 vs Llama 3 8B Lunaris

Llama 3 8B Lunaris costs 120.0x less per output token than Grok 4.7 ($0.05 vs $6.00 per million). Updated October 23, 2026; no benchmark has tested both models yet.

Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
S Llama 3 8B LunarisSao10K
Coding
No data
Overall
No data
Output $/M
$0.05
vs $6.00 vs $0.05 per 1M output tokens. Llama 3 8B Lunaris is 120.0x cheaper.

Grok 4.7 or Llama 3 8B Lunaris: which to pick

Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Llama 3 8B Lunaris has none, so the two cannot be ranked on coding.

Pick Llama 3 8B Lunaris for output tokens 120.0x cheaper ($0.05 vs $6.00 per million).

No benchmark has tested both yet. Grok 4.7 has results on LiveBench coding, LMArena WebDev and Terminal-Bench 4 (Vals AI); Llama 3 8B Lunaris has none yet. Compare them on price and context instead.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Grok 4.7 66.7 from 5 benchmarks, Llama 3 8B Lunaris not benchmarked.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
Grok 4.7 $6.00 against Llama 3 8B Lunaris $0.05 per million output tokens, 120.0x apart.
Context window
Grok 4.7 takes 500K tokens, Llama 3 8B Lunaris 8K.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index18 boards measured
Coding benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
LiveBench coding84.5%Not measuredOnly Grok 4.7 measured
LMArena WebDev1637Not measuredOnly Grok 4.7 measured
Terminal-Bench 4 (Vals AI)28.8%Not measuredOnly Grok 4.7 measured
Vibe Code Bench (Vals AI)86.2%Not measuredOnly Grok 4.7 measured
Code migration (Vals AI)44.8%Not measuredOnly Grok 4.7 measured
ProgramBench (Vals AI)0.5%Not measuredOnly Grok 4.7 measured
IOI (Vals AI)57.7%Not measuredOnly Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)73.4%Not measuredOnly Grok 4.7 measured
SWE-bench Multimodal (Vals AI)42.9%Not measuredOnly Grok 4.7 measured
CyberBench (Vals AI)69.5%Not measuredOnly Grok 4.7 measured
SciCode57.8%Not measuredOnly Grok 4.7 measured
FrontierCode47.6%Not measuredOnly Grok 4.7 measured
FrontierSWE29.5%Not measuredOnly Grok 4.7 measured
LMArena Text: coding1427Not measuredOnly Grok 4.7 measured
LMArena Text: software and IT1419Not measuredOnly Grok 4.7 measured
LMArena WebDev: React1664Not measuredOnly Grok 4.7 measured
LMArena WebDev: HTML1626Not measuredOnly Grok 4.7 measured
LMArena WebDev: from an image1586Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 25 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Intelligence benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
AA Intelligence Index46.4Not measuredOnly Grok 4.7 measured
Epoch Capabilities Index154.4Not measuredOnly Grok 4.7 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index15 boards measured
Agentic work benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
LiveBench research86.4%Not measuredOnly Grok 4.7 measured
LiveBench browser60.0%Not measuredOnly Grok 4.7 measured
LiveBench long agentic50.1%Not measuredOnly Grok 4.7 measured
SREBench (Vals AI)3.8%Not measuredOnly Grok 4.7 measured
Finance Agent (Vals AI)52.3%Not measuredOnly Grok 4.7 measured
Tax Agent Bench (Vals AI)34.2%Not measuredOnly Grok 4.7 measured
Legal Research Bench (Vals AI)47.1%Not measuredOnly Grok 4.7 measured
Harvey's Legal Agent Benchmark (Vals AI)18.3%Not measuredOnly Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)67.0%Not measuredOnly Grok 4.7 measured
BioMysteryBench (Vals AI)69.3%Not measuredOnly Grok 4.7 measured
Terminal-Bench-Science (Vals AI)10.0%Not measuredOnly Grok 4.7 measured
Vals Science Index34.8%Not measuredOnly Grok 4.7 measured
Robo-bench (Vals AI)0.2%Not measuredOnly Grok 4.7 measured
APEX-Agents54.6%Not measuredOnly Grok 4.7 measured
Vending-Bench 2$10,537Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 27 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index14 boards measured
Reasoning benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
LiveBench reasoning82.7%Not measuredOnly Grok 4.7 measured
MysteryMechanism (Vals AI)25.2%Not measuredOnly Grok 4.7 measured
Humanity's Last Exam (Artificial Analysis run)43.1%Not measuredOnly Grok 4.7 measured
GPQA Diamond (Epoch AI run)92.7%Not measuredOnly Grok 4.7 measured
ARC-AGI90.2%Not measuredOnly Grok 4.7 measured
ARC-AGI-261.4%Not measuredOnly Grok 4.7 measured
Chess puzzles41.0%Not measuredOnly Grok 4.7 measured
Mystery game puzzles29.0%Not measuredOnly Grok 4.7 measured
LMArena Text: hard prompts1414Not measuredOnly Grok 4.7 measured
LMArena Text: expert1439Not measuredOnly Grok 4.7 measured
LMArena Text: hard prompts in English1426Not measuredOnly Grok 4.7 measured
LMArena Vision: diagrams1254Not measuredOnly Grok 4.7 measured
LMArena Vision: homework1309Not measuredOnly Grok 4.7 measured
Humanity's Last Exam (Scale run)23.4%Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 9 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Math benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
OTIS Mock AIME98.1%Not measuredOnly Grok 4.7 measured
FrontierMath, tiers 1 to 353.0%Not measuredOnly Grok 4.7 measured
FrontierMath, tier 417.1%Not measuredOnly Grok 4.7 measured
ProofBench26.0%Not measuredOnly Grok 4.7 measured
LMArena Text: math1413Not measuredOnly Grok 4.7 measured
LMArena Text: mathematical work1435Not measuredOnly Grok 4.7 measured
MathArena41.1%Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index8 boards measured
Knowledge benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
LegalBench (Vals AI)84.4%Not measuredOnly Grok 4.7 measured
MedCode (Vals AI)49.5%Not measuredOnly Grok 4.7 measured
SimpleQA Verified56.0%Not measuredOnly Grok 4.7 measured
LMArena Text: science1419Not measuredOnly Grok 4.7 measured
LMArena Text: medicine and healthcare1393Not measuredOnly Grok 4.7 measured
LMArena Text: legal and government1419Not measuredOnly Grok 4.7 measured
LMArena Text: business and finance1388Not measuredOnly Grok 4.7 measured
PRBench Legal47.6%Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 12 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards measured
Web design benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
Design Arena: websites1255Not measuredOnly Grok 4.7 measured
Design Arena: UI components1275Not measuredOnly Grok 4.7 measured
Design Arena: game dev1314Not measuredOnly Grok 4.7 measured
Design Arena: data viz1238Not measuredOnly Grok 4.7 measured
Design Arena: 3D1275Not measuredOnly Grok 4.7 measured
Design Arena: all code categories1272Not measuredOnly Grok 4.7 measured
LiveBench design78.0%Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 2 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index31 boards measured
General benchmarks for Grok 4.7 and Llama 3 8B Lunaris
BenchmarkGrok 4.7Llama 3 8B LunarisLeader
Vals Index58.6%Not measuredOnly Grok 4.7 measured
LiveBench data analysis76.9%Not measuredOnly Grok 4.7 measured
Public Benefits Bench (Vals AI)65.6%Not measuredOnly Grok 4.7 measured
SAGE (Vals AI)40.8%Not measuredOnly Grok 4.7 measured
MedScribe (Vals AI)89.4%Not measuredOnly Grok 4.7 measured
Long context reasoning (AA-LCR)80.0%Not measuredOnly Grok 4.7 measured
DTBench96.0%Not measuredOnly Grok 4.7 measured
LMCA49.4%Not measuredOnly Grok 4.7 measured
Furniture assembly20.8%Not measuredOnly Grok 4.7 measured
LMArena Text1398Not measuredOnly Grok 4.7 measured
LMArena Text: instruction following1408Not measuredOnly Grok 4.7 measured
LMArena Text: creative writing1381Not measuredOnly Grok 4.7 measured
LMArena Vision1231Not measuredOnly Grok 4.7 measured
LMArena Text: English1411Not measuredOnly Grok 4.7 measured
LMArena Text: non-English1385Not measuredOnly Grok 4.7 measured
LMArena Text: Chinese1445Not measuredOnly Grok 4.7 measured
LMArena Text: German1372Not measuredOnly Grok 4.7 measured
LMArena Text: Japanese1356Not measuredOnly Grok 4.7 measured
LMArena Text: Korean1378Not measuredOnly Grok 4.7 measured
LMArena Text: French1431Not measuredOnly Grok 4.7 measured
LMArena Text: Spanish1403Not measuredOnly Grok 4.7 measured
LMArena Text: Russian1399Not measuredOnly Grok 4.7 measured
LMArena Text: Polish1412Not measuredOnly Grok 4.7 measured
LMArena Text: multi-turn1394Not measuredOnly Grok 4.7 measured
LMArena Text: longer queries1416Not measuredOnly Grok 4.7 measured
LMArena Text: writing and language1394Not measuredOnly Grok 4.7 measured
LMArena Text: entertainment and media1375Not measuredOnly Grok 4.7 measured
LMArena Vision: English1229Not measuredOnly Grok 4.7 measured
LMArena Vision: Chinese1250Not measuredOnly Grok 4.7 measured
LMArena Vision: reading text1241Not measuredOnly Grok 4.7 measured
LMArena Vision: creative writing1217Not measuredOnly Grok 4.7 measured
Neither model has a result on the other 17 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Grok 4.7$0.0050Fits in one request
Llama 3 8B Lunaris$0.0001Fits in one request

Llama 3 8B Lunaris costs less

Repository review

50K input + 3K output tokens

Grok 4.7$0.118Fits in one request
Llama 3 8B Lunaris$0.0022Exceeds the context window

Llama 3 8B Lunaris costs less

Agent loop

200K input + 10K output tokens

Grok 4.7$0.460Fits in one request
Llama 3 8B Lunaris$0.0085Exceeds the context window

Llama 3 8B Lunaris costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Grok 4.7 and Llama 3 8B Lunaris
SpecificationSpaceXAI Grok 4.7Sao10K Llama 3 8B Lunaris
MakerxAISao10K
WeightsNo public weights listedOpen weights
ReleasedSeptember 21, 2026August 13, 2024
Context window500K8K
Input $/Mtok$2.00$0.04
Output $/Mtok$6.00$0.05
Coding index66.7Not benchmarked
Independent measurements behind it50
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Grok 4.7 better than Llama 3 8B Lunaris for coding?

Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Llama 3 8B Lunaris has none, so the two cannot be ranked on coding. Pick Llama 3 8B Lunaris for output tokens 120.0x cheaper ($0.05 vs $6.00 per million).

Which is cheaper, Grok 4.7 or Llama 3 8B Lunaris?

Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens; Llama 3 8B Lunaris costs $0.04 and $0.05. Cost per solved task is known for neither of them.

Which has the bigger context window, Grok 4.7 or Llama 3 8B Lunaris?

Grok 4.7, with 500K tokens against 8K.

Has any benchmark tested both Grok 4.7 and Llama 3 8B Lunaris?

No benchmark has tested both yet. Grok 4.7 has results on LiveBench coding, LMArena WebDev and Terminal-Bench 4 (Vals AI); Llama 3 8B Lunaris has none yet. Compare them on price and context instead. Data as of October 23, 2026.

Compare next