Enter opens the highlighted result. Esc closes.

Nano Banana 2 (Gemini 3.1 Flash Image) vs GLM 5.1

Nano Banana 2 (Gemini 3.1 Flash Image) costs 1.5x less per output token than GLM 5.1 ($3.00 vs $4.40 per million). Updated October 21, 2026; no benchmark has tested both models yet.

Nano Banana 2 (Gemini 3.1 Flash Image)Google
Coding
No data
Overall
No data
Output $/M
$3.00
GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
vs $3.00 vs $4.40 per 1M output tokens. Nano Banana 2 (Gemini 3.1 Flash Image) is 1.5x cheaper.

Nano Banana 2 (Gemini 3.1 Flash Image) or GLM 5.1: which to pick

Only GLM 5.1 has a coding score, 49.2 on the Vibe Coding Index; Nano Banana 2 (Gemini 3.1 Flash Image) has none, so the two cannot be ranked on coding.

Pick Nano Banana 2 (Gemini 3.1 Flash Image) for output tokens 1.5x cheaper ($3.00 vs $4.40 per million).

No benchmark has tested both yet. Nano Banana 2 (Gemini 3.1 Flash Image) has results on LMArena Image Edit; GLM 5.1 on LMArena WebDev, AA Coding Index and LiveCodeBench (Vals AI). 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
Nano Banana 2 (Gemini 3.1 Flash Image) not benchmarked, GLM 5.1 49.2 from 3 benchmarks.
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
Nano Banana 2 (Gemini 3.1 Flash Image) $3.00 against GLM 5.1 $4.40 per million output tokens, 1.5x apart.
Context window
Nano Banana 2 (Gemini 3.1 Flash Image) takes 131K tokens, GLM 5.1 205K.

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 Index16 boards measured
Coding benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
LMArena WebDevNot measured1508Only GLM 5.1 measured
AA Coding IndexNot measured55.8Only GLM 5.1 measured
LiveCodeBench (Vals AI)Not measured81.4%Only GLM 5.1 measured
SWE-bench Verified (Vals AI)Not measured76.4%Only GLM 5.1 measured
Vibe Code Bench (Vals AI)Not measured31.5%Only GLM 5.1 measured
Code migration (Vals AI)Not measured25.8%Only GLM 5.1 measured
ProgramBench (Vals AI)Not measured0.0%Only GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)Not measured56.9%Only GLM 5.1 measured
SciCodeNot measured44.8%Only GLM 5.1 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured43.2%Only GLM 5.1 measured
WeirdMLNot measured57.1%Only GLM 5.1 measured
ALE-BenchNot measured887.1Only GLM 5.1 measured
LMArena Text: codingNot measured1485Only GLM 5.1 measured
LMArena Text: software and ITNot measured1484Only GLM 5.1 measured
LMArena WebDev: ReactNot measured1505Only GLM 5.1 measured
LMArena WebDev: HTMLNot measured1508Only GLM 5.1 measured
Neither model has a result on the other 23 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Intelligence benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
AA Intelligence IndexNot measured26.1Only GLM 5.1 measured
Epoch Capabilities IndexNot measured149.8Only GLM 5.1 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index15 boards measured
Agentic work benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
Design Arena: agents building web appsNot measured1175Only GLM 5.1 measured
Design Arena: agents building full-stack appsNot measured1167Only GLM 5.1 measured
Design Arena: agents building mobile appsNot measured1162Only GLM 5.1 measured
Design Arena: agents building Android appsNot measured1180Only GLM 5.1 measured
Design Arena: agents building Godot gamesNot measured1053Only GLM 5.1 measured
Design Arena: agents building gamesNot measured1164Only GLM 5.1 measured
Design Arena: HTML slidesNot measured1170Only GLM 5.1 measured
Design Arena: PowerPoint slidesNot measured1188Only GLM 5.1 measured
Design Arena: spreadsheetsNot measured1315Only GLM 5.1 measured
Finance Agent (Vals AI)Not measured44.8%Only GLM 5.1 measured
Legal Research Bench (Vals AI)Not measured27.9%Only GLM 5.1 measured
τ²-Bench TelecomNot measured97.7%Only GLM 5.1 measured
APEX-AgentsNot measured40.9%Only GLM 5.1 measured
Vending-Bench 2Not measured$5,634Only GLM 5.1 measured
Neither model has a result on the other 26 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index9 boards measured
Reasoning benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
GPQA DiamondNot measured84.5%Only GLM 5.1 measured
GPQA Diamond (Artificial Analysis run)Not measured86.8%Only GLM 5.1 measured
Humanity's Last Exam (Artificial Analysis run)Not measured30.1%Only GLM 5.1 measured
GPQA Diamond (Epoch AI run)Not measured89.9%Only GLM 5.1 measured
SimpleBenchNot measured55.1%Only GLM 5.1 measured
Chess puzzlesNot measured20.0%Only GLM 5.1 measured
LMArena Text: hard promptsNot measured1473Only GLM 5.1 measured
LMArena Text: expertNot measured1478Only GLM 5.1 measured
LMArena Text: hard prompts in EnglishNot measured1482Only GLM 5.1 measured
Neither model has a result on the other 13 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Math benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
AIMENot measured91.9%Only GLM 5.1 measured
OTIS Mock AIMENot measured93.3%Only GLM 5.1 measured
FrontierMath, tiers 1 to 3Not measured36.8%Only GLM 5.1 measured
ProofBenchNot measured22.2%Only GLM 5.1 measured
LMArena Text: mathNot measured1473Only GLM 5.1 measured
LMArena Text: mathematical workNot measured1470Only GLM 5.1 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards measured
Knowledge benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
MMLU ProNot measured86.9%Only GLM 5.1 measured
LegalBench (Vals AI)Not measured84.4%Only GLM 5.1 measured
CaseLaw (Vals AI)Not measured51.5%Only GLM 5.1 measured
CorpFin (Vals AI)Not measured64.5%Only GLM 5.1 measured
TaxEval (Vals AI)Not measured71.2%Only GLM 5.1 measured
MedCode (Vals AI)Not measured41.6%Only GLM 5.1 measured
SimpleQA VerifiedNot measured34.0%Only GLM 5.1 measured
LMArena Text: scienceNot measured1478Only GLM 5.1 measured
LMArena Text: medicine and healthcareNot measured1474Only GLM 5.1 measured
LMArena Text: legal and governmentNot measured1465Only GLM 5.1 measured
LMArena Text: business and financeNot measured1452Only GLM 5.1 measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards measured
Web design benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
Design Arena: websitesNot measured1290Only GLM 5.1 measured
Design Arena: UI componentsNot measured1292Only GLM 5.1 measured
Design Arena: game devNot measured1265Only GLM 5.1 measured
Design Arena: data vizNot measured1366Only GLM 5.1 measured
Design Arena: 3DNot measured1336Only GLM 5.1 measured
Design Arena: all code categoriesNot measured1268Only GLM 5.1 measured
Design Arena: SVGNot measured1218Only GLM 5.1 measured
Design Arena: ASCII artNot measured1142Only GLM 5.1 measured
Neither model has a result on the other 1 board here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index22 boards measured
General benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
MedScribe (Vals AI)Not measured72.3%Only GLM 5.1 measured
IFBenchNot measured76.3%Only GLM 5.1 measured
Long context reasoning (AA-LCR)Not measured73.7%Only GLM 5.1 measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena TextNot measured1463Only GLM 5.1 measured
LMArena Text: instruction followingNot measured1453Only GLM 5.1 measured
LMArena Text: creative writingNot measured1453Only GLM 5.1 measured
LMArena Text: EnglishNot measured1476Only GLM 5.1 measured
LMArena Text: non-EnglishNot measured1448Only GLM 5.1 measured
LMArena Text: ChineseNot measured1515Only GLM 5.1 measured
LMArena Text: GermanNot measured1467Only GLM 5.1 measured
LMArena Text: JapaneseNot measured1435Only GLM 5.1 measured
LMArena Text: KoreanNot measured1424Only GLM 5.1 measured
LMArena Text: FrenchNot measured1470Only GLM 5.1 measured
LMArena Text: SpanishNot measured1468Only GLM 5.1 measured
LMArena Text: RussianNot measured1454Only GLM 5.1 measured
LMArena Text: PolishNot measured1449Only GLM 5.1 measured
LMArena Text: multi-turnNot measured1473Only GLM 5.1 measured
LMArena Text: longer queriesNot measured1467Only GLM 5.1 measured
LMArena Text: writing and languageNot measured1454Only GLM 5.1 measured
LMArena Text: entertainment and mediaNot measured1442Only GLM 5.1 measured
Neither model has a result on the other 24 boards here
Image generationDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Image generation benchmarks for Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
BenchmarkNano Banana 2 (Gemini 3.1 Flash Image)GLM 5.1Leader
LMArena Image Edit1387Not measuredOnly Nano Banana 2 (Gemini 3.1 Flash Image) measured
Neither model has a result on the other 4 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

Nano Banana 2 (Gemini 3.1 Flash Image)$0.0020Fits in one request
GLM 5.1$0.0036Fits in one request

Nano Banana 2 (Gemini 3.1 Flash Image) costs less

Repository review

50K input + 3K output tokens

Nano Banana 2 (Gemini 3.1 Flash Image)$0.034Fits in one request
GLM 5.1$0.083Fits in one request

Nano Banana 2 (Gemini 3.1 Flash Image) costs less

Agent loop

200K input + 10K output tokens

Nano Banana 2 (Gemini 3.1 Flash Image)$0.130Exceeds the context window
GLM 5.1$0.324Exceeds the context window

Nano Banana 2 (Gemini 3.1 Flash Image) 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 Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1
SpecificationGoogle Nano Banana 2 (Gemini 3.1 Flash Image)Z.ai GLM 5.1
MakerGoogleZ.ai
WeightsNo public weights listedOpen weights
ReleasedJune 18, 2026April 7, 2026
Context window131K205K
Input $/Mtok$0.50$1.40
Output $/Mtok$3.00$4.40
Coding indexNot benchmarked49.2
Independent measurements behind it03
Cost per solved taskNot computable$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is Nano Banana 2 (Gemini 3.1 Flash Image) better than GLM 5.1 for coding?

Only GLM 5.1 has a coding score, 49.2 on the Vibe Coding Index; Nano Banana 2 (Gemini 3.1 Flash Image) has none, so the two cannot be ranked on coding. Pick Nano Banana 2 (Gemini 3.1 Flash Image) for output tokens 1.5x cheaper ($3.00 vs $4.40 per million).

Which is cheaper, Nano Banana 2 (Gemini 3.1 Flash Image) or GLM 5.1?

Nano Banana 2 (Gemini 3.1 Flash Image) costs $0.50 per million input tokens and $3.00 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Cost per solved task is known for GLM 5.1 only.

Which has the bigger context window, Nano Banana 2 (Gemini 3.1 Flash Image) or GLM 5.1?

GLM 5.1, with 205K tokens against 131K.

Has any benchmark tested both Nano Banana 2 (Gemini 3.1 Flash Image) and GLM 5.1?

No benchmark has tested both yet. Nano Banana 2 (Gemini 3.1 Flash Image) has results on LMArena Image Edit; GLM 5.1 on LMArena WebDev, AA Coding Index and LiveCodeBench (Vals AI). Compare them on price and context instead. Data as of October 21, 2026.

Compare next