Gemma 2 27B is 23.1× cheaper per million tokens (blended). Claude Opus 5 has the larger context window (1,000,000 vs 8,192 tokens, 122.1×). Gemma 2 27B is open-weights; the other is not.

Claude Opus 5 vs Gemma 2 27B

Live catalog fields. Best-in-row is highlighted.

Claude Opus 5

Anthropic · anthropic__claude-opus-5

Gemma 2 27Bopen

Google · google__gemma-2-27b-it

Identity

Fieldanthropic__claude-opus-5google__gemma-2-27b-it
ProviderAnthropicGoogle
Sluganthropic__claude-opus-5google__gemma-2-27b-it
Statuslivelive
Open weightsNoYes
License
HuggingFacegoogle/gemma-2-27b-it

Quality

Fieldanthropic__claude-opus-5google__gemma-2-27b-it
Quality index (0–100)91.5

Cost

Fieldanthropic__claude-opus-5google__gemma-2-27b-it
Input $ / 1M tokens$5.00$0.65
Cached input $ / 1M$0.50
Output $ / 1M tokens$25.00$0.65

Context

Fieldanthropic__claude-opus-5google__gemma-2-27b-it
Max context tokens1,000,0008,192
Max output tokens128,0002,048

Modalities

Fieldanthropic__claude-opus-5google__gemma-2-27b-it
Inputtext, image, filetext
Outputtexttext