CompareLLM
CompareLLM.ai
Live
LeaderboardModelsCompareStacksBest ofGuidesNewsMethod
…
CompareLLM
CompareLLM.ai
Precision Benchmarks

Programmatic, dated AI model benchmarks, head-to-head comparisons, and Stack Engine presets.

Daily ingest · 06:00 UTC

Analytics & Benchmarks

  • AI Model Leaderboard
  • Head-to-Head Compare Hub
  • Models Directory
  • Stack Engine Presets
  • Frontier Models
  • Open Weights Catalog

Guides & Intent Lists

  • Best LLM Lists (2026)
  • Best Coding LLM
  • Best Cheap LLM
  • Fastest Low-Latency LLM
  • Claude vs GPT Benchmark
  • What is Elo?
  • Methodology Guides
  • News & Dispatches

Transparency & API

  • Evaluation Methodology
  • Benchmark Changelog
  • Public JSON API
  • llms.txt Specification
  • Privacy Policy
  • Sign In / Account

© 2026 CompareLLM. Public benchmark data aggregated from Arena Elo, LiveBench, SWE-bench & OpenRouter.

Every score has a dated snapshot.

  1. Home
  2. Comparisons
  3. Claude Sonnet 4 vs Yi-Lightning

Pairwise benchmark snapshot · Aug 16, 2026

Claude Sonnet 4 vs Yi-Lightning benchmark

This page compares Claude Sonnet 4 (Anthropic) and Yi-Lightning (01.AI) using the latest snapshots we have as of Aug 16, 2026. On preference Elo, Yi-Lightning is ahead by 20 points (1,475 vs 1,455; seed-bootstrap (Aug 1, 2026)). On SWE-bench coding, Yi-Lightning resolves 63.4% versus 62.8% (seed-bootstrap (Aug 1, 2026)). Yi-Lightning streams faster (130 tok/s) while Yi-Lightning is the cheaper output token ($0.14/1M). Claude Sonnet 4 has the larger context window (1M tokens). Every cell below is a dated snapshot from a named public source — we do not invent missing scores, and we do not run SWE-bench ourselves.

Quick answer

Claude Sonnet 4 vs Yi-Lightning is a dated snapshot, not a lab score. Yi-Lightning leads preference Elo (1,475 vs 1,455). Yi-Lightning leads SWE-bench coding. Yi-Lightning is the cheaper output token. Elo is crowd preference, not an exam. Pick the column that matches the job.
Share Analysis:
WhatsAppTelegramX / PostLinkedInReddit

Anthropic

Claude Sonnet 4

First Sonnet 4 generation. Bridge between 3.5/3.7 and Sonnet 5.

Elo 1,455$15/1M out

01.AI

Yi-Lightning

01.AI ultra-fast reasoning model delivering top LiveBench efficiency.

Elo 1,475$0.14/1M out

Swap or Add Any Model to this Matchup

Instant pairwise benchmark recalculation across 400+ LLMs

Model A
Model B
Quick vs:vs Claude Opus 4.5vs Claude Opus 4.6vs Claude Sonnet 4.5vs Claude 3.7 Sonnet

Interactive Comparison Diagram

Matchup Breakdown

Tug-of-War Matchup Matrix

Category wins across intelligence, speed, and pricing efficiency.

Claude Sonnet 4 (1)vsYi-Lightning (9)
Claude Sonnet 4: 1W (10%)Overall: Yi-LightningYi-Lightning: 9W (90%)
← Claude Sonnet 4Yi-Lightning →
Yi-Lightning (5/5)

Intelligence & Reasoning

Preference Elo, Coding proficiency, SWE-bench & LiveBench accuracy

Preference Elo
1,455vs1,475
Coding Elo
1,468vs1,480
SWE-bench
62.8%vs63.4%
LiveBench
63.2%vs65%
GPQA Diamond
76.4%vs78%
Claude Sonnet 4: 0WYi-Lightning: 5W
Yi-Lightning (2/2)

Speed & Latency

Generation throughput and time to first token responsiveness

Output speed
92 tok/svs130 tok/s
Time to first token
220 msvs150 ms
Claude Sonnet 4: 0WYi-Lightning: 2W
Yi-Lightning (2/3)

Pricing & Capacity

Cost per million tokens and max context window length

Output price
$15/1Mvs$0.14/1M
Input price
$3/1Mvs$0.14/1M
Context window
1Mvs16k
Claude Sonnet 4: 1WYi-Lightning: 2W
Capability Matchup Radar

Multi-Dimensional Capability Radar

Each spoke is a skill. Farther from the center is better (0–100th percentile). Tap any dot to inspect details.

Tap any node to inspect
Percentile 0–100
Dimensional AdvantageYi-Lightning 5/6
Preference Elo

Yi-Lightning

20 pts advantage

Throughput Speed

Yi-Lightning

38 tok/s faster

Price Efficiency

Yi-Lightning

$14.86/1M cheaper

Full Benchmark Score Matrix

—
Elo
High is better
1,455
EloHigh is better
1,475+1%
Code Elo
High is better
1,468
Code EloHigh is better
1,480+1%
LiveBench
High is better
63.2%
LiveBenchHigh is better
65%+3%
SWE-bench
High is better
62.8%
SWE-benchHigh is better
63.4%+1%
GPQA
High is better
76.4%
GPQAHigh is better
78%+2%
TTFT
Low is better
220 ms
TTFTLow is better
150 ms+47%
Speed
High is better
92 tok/s
SpeedHigh is better
130 tok/s+41%
In $
Low is better
$3/1M
In $Low is better
$0.14/1M+2043%
Out $
Low is better
$15/1M
Out $Low is better
$0.14/1M+10614%
Context
High is better
+6004%1M
ContextHigh is better
16k
Interactive Simulator

Workload Cost & Savings Calculator

Simulate monthly production API costs based on published $/1M tokens.

Save up to 98% with Yi-Lightning
Monthly Volume50M tokens/mo
Quick Presets:
Token Ratio (In vs Out)70% In / 30% Out
RAG / Search (10% out)Coding / Chat (50% out)
Claude Sonnet 4$330.00 / mo
In: $105.00Out: $225.00
Yi-Lightning$7.00 / mo
In: $4.90Out: $2.10
Estimated Cost Delta

Yi-Lightning is estimated to save $323.00/month ($3,876/year).

Based on 50M tokens (30% gen)

Key Selection Recommendations

  • 1
    Yi-Lightning:Pick Yi-Lightning when repo-level coding accuracy is the constraint.
  • 2
    Yi-Lightning:Pick Yi-Lightning when time-to-first-token matters more than peak Elo.
  • 3
    Claude Sonnet 4:Pick Claude Sonnet 4 for million-token RAG or long-document jobs.

Recommended Workload Routing

Repo / coding agentsYi-Lightning

Higher SWE-bench (63.4%).

High-volume chatYi-Lightning

Lower output list price ($0.14/1M).

Voice / low-latency UIYi-Lightning

Lower TTFT (150 ms).

Long-document RAGClaude Sonnet 4

Larger window (1M).

Screenshots / visionClaude Sonnet 4

Claude Sonnet 4 is the side marked multimodal in the catalog.

Target WorkloadRecommended PickEvaluation Rationale
Repo / coding agentsYi-LightningHigher SWE-bench (63.4%).
High-volume chatYi-LightningLower output list price ($0.14/1M).
Voice / low-latency UIYi-LightningLower TTFT (150 ms).
Long-document RAGClaude Sonnet 4Larger window (1M).
Screenshots / visionClaude Sonnet 4Claude Sonnet 4 is the side marked multimodal in the catalog.
Community Sentiment

Cast Your Matchup Vote

0 total votes

Community Discussions (0)

Sign in to cast your verified vote, bookmark models, and participate in benchmark discussions.Sign In to Post

No comments posted on this matchup yet. Be the first to share an evaluation note!

Share card

The real PNG is generated at /compare/claude-sonnet-4-vs-yi-lightning/opengraph-image for crawlers.

PNG

CompareLLM Matrix

Verified head-to-head card

LIVE
VS
Anthropic

Claude Sonnet 4

Elo 1,455
LiveBench63.2%
SWE-bench62.8%
Speed92 tok/s
Output cost$15/1M
01.AI

Yi-Lightning

Elo 1,475
LiveBench65%
SWE-bench63.4%
Speed130 tok/s
Output cost$0.14/1M

Frequently Asked Questions

Which is better overall, Claude Sonnet 4 or Yi-Lightning?
Yi-Lightning has the higher preference Elo in our latest snapshot (1,475). “Better” still depends on coding, price, and latency — see the table.
Which is better at coding, Claude Sonnet 4 or Yi-Lightning?
Yi-Lightning leads SWE-bench at 63.4% vs 62.8%. SWE-bench is one harness, not your repo.
Which is cheaper to run in production?
Yi-Lightning output tokens are $0.14/1M versus $15/1M. Input prices and retry rates still move the real bill.
Which is faster, Claude Sonnet 4 or Yi-Lightning?
Yi-Lightning has the lower time-to-first-token (150 ms vs 220 ms). Tokens/sec is a separate column if you care about long completions.
Which has the larger context window?
Claude Sonnet 4 accepts 1M tokens versus 16k.
Can I self-host either model?
Neither model is marked open-weights here. You are comparing hosted APIs.
Are these scores from CompareLLM’s own evals?
No. V1 aggregates public leaderboards (and optional first-party latency pings). Each cell names its source and date. Read /methodology.
What does preference Elo mean on this page?
Preference Elo is a crowd vote from LMArena / Arena. People see two hidden answers and pick the one they like more. The model that wins more often gets a higher Elo. That means people preferred it — not that it passed a school test. It is not SWE-bench, not accuracy, and not a number we invent. Claude Sonnet 4 and Yi-Lightning Elo cells are dated snapshots from the named source — we do not compute Arena ourselves.

Similar Head-to-Head Comparisons

All Claude Sonnet 4 matchups →|All Yi-Lightning matchups →
Claude Sonnet 4 vs Claude 3.7 Sonnet (previous sonnet)Claude Sonnet 4 vs Claude Sonnet 4.5 (next sonnet)Yi-Lightning vs Yi-Large (previous other)Yi-Lightning vs Ernie 4.5 Turbo (next other)Claude Sonnet 4.5 vs Yi-LightningClaude Sonnet 5 vs Yi-Lightning