ModelRefs / Claude 3.5 Sonnet vs Gemma 3 27B

Claude 3.5 Sonnet vs Gemma 3 27B

Claude 3.5 Sonnet vs Gemma 3 27B: side-by-side benchmarks, pricing, context windows, coding ability and deployment. Pick the right model for your stack.

Overview

Claude 3.5 Sonnet: Claude 3.5 Sonnet is Anthropic's mid-2024 balanced model, the release that introduced computer use and anchored Anthropic's agentic-coding positioning for its generation across a 200,000-token context window. It is now retired: Anthropic deprecated both the claude-3-5-sonnet-20240620 and claude-3-5-sonnet-20241022 snapshots on 13 August 2025 and retired them on 28 October 2025 on Anthropic-operated platforms, naming Claude Sonnet 5.5 as the replacement.

Gemma 3 27B: Gemma 3 27B is the largest model in Google's third-generation open Gemma family, accepting text and images across a 128,000-token input context, with output drawn from the same budget. Images are normalised to 896x896 and encoded as 256 tokens each. Google cites support for more than 140 languages and an August 2024 knowledge cutoff. The weights are published under Google's Gemma Terms of Use rather than a standard open-source licence.

Context window: Claude 3.5 Sonnet accepts up to 200,000 tokens, Gemma 3 27B up to 128,000. Confirm the limit for your specific deployment channel before relying on it.

Claude 3.5 Sonnet vs Gemma 3 27B at a glance

AttributeClaude 3.5 SonnetGemma 3 27B
ProviderAnthropicGoogle
Released2024-06-202025-02-01
Context window200,000 tokens128,000 tokens
Input price$3/M tokens$0.1/M tokens
Output price$15/M tokens$0.3/M tokens
LicenceProprietaryGemma-Terms
Self-hostableNo, hosted onlyYes, open weights
Modalitiestext, visiontext, vision

Where they differ most

  • Cost Efficiency: Claude 3.5 Sonnet 37%, Gemma 3 27B 95%. Gemma 3 27B leads on this dimension.

Capability scores are ModelRefs' own derived signals, not vendor claims or benchmark results. Validate against your own workload before relying on them.

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Claude 3.5 Sonnet vs Gemma 3 27B.

Frequently asked questions

Which is better, Claude 3.5 Sonnet or Gemma 3 27B?

Claude 3.5 Sonnet and Gemma 3 27B target different workloads — see the benchmark and pricing tables for a side-by-side answer.

Is Claude 3.5 Sonnet cheaper than Gemma 3 27B?

Compare $0.00300 vs $0.00010 on this page.