Key Specifications

SpecificationClaude 3.5 SonnetGemini 1.5 Pro
Vendoranthropicgoogle
Version3.5-sonnet1.5-pro
Release Date2024-06-202024-02-15
Context Window200000 tokens2e+06 tokens
Input Modalitiestext, imagetext, image, audio, video
Output Modalitiestexttext
LicenseProprietaryProprietary
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

BenchmarkClaude 3.5 SonnetGemini 1.5 ProWinner
BBH84.584Claude 3.5 Sonnet
GSM8K96.491.7Claude 3.5 Sonnet
HUMANEVAL9271.9Claude 3.5 Sonnet
MATH71.158.5Claude 3.5 Sonnet
MMLU88.785.9Claude 3.5 Sonnet

Pricing Comparison

Tier (per Mtok)Claude 3.5 SonnetGemini 1.5 Pro
Input$3$1.25
Output$15$5
Cache Read$0.3$0.3125
Cache Write$3.75$1.25

Claude 3.5 Sonnet vs Gemini 1.5 Pro

Model Overview

Claude 3.5 Sonnet and Gemini 1.5 Pro are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Key Specifications

VendorRelease DateContext WindowLicense
Anthropic / Google2024-06-20 / 2024-02-15200K / 2000KProprietary / Proprietary

Benchmark Performance

BenchmarkClaude 3.5 SonnetGemini 1.5 ProWinner
BBH (BIG-Bench Hard)84.584.0A
GSM8K (Grade School Math 8K)96.491.7A
HumanEval92.071.9A
MATH71.158.5A
MMLU (Massive Multitask Language Understanding)88.785.9A

Pricing Comparison

InputOutputCache ReadCache Write
— / —— / —— / —— / —

per million tokens — A / B

Strengths & Weaknesses

Claude 3.5 Sonnet

  • ✅ MMLU score 88.7, strong knowledge reasoning.
  • ✅ HumanEval 92.0, excellent code generation.
  • ✅ GSM8K 96.4, robust math reasoning.
  • ✅ Context window 200K.
  • ⚠️ Proprietary, not self-hostable.

Gemini 1.5 Pro

  • ✅ MMLU score 85.9, strong knowledge reasoning.
  • ✅ GSM8K 91.7, robust math reasoning.
  • ✅ Input Modalities: text, image, audio.
  • ✅ Context window 2000K.
  • ⚠️ Proprietary, not self-hostable.

Editor’s Take

Claude 3.5 Sonnet and Gemini 1.5 Pro each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

FAQ

Which model is better for coding tasks?

Refer to the HumanEval benchmark table; the model with a higher score is better suited for coding tasks.

Which model is cheaper?

Refer to the pricing comparison table above; the model with lower input/output prices is more cost-effective.

Which has a longer context window?

Refer to the key specifications table; the model with a larger context window is better for long documents.

References

Editor's Take

See Editor's Take section.