Spiral gives your agent every tool with one account. Browse the tools →

Gemma 2 27B vs Sonar (Comparative Analysis)

Loading comparison form...
Comparative Analysis: Gemma 2 27B vs. Sonar
Want to try out these models side by side?Sign up for Spiral

Overview

Gemma 2 27B was released 6 months before Sonar.
Gemma 2 27BGemma 2 27B
SonarSonar
Model Provider
The organization behind this AI's development
Google logoGoogle
Perplexity logoPerplexity
Input Context Window
Maximum input tokens this model can process at once
8.2K
tokens
127.1K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
2K
tokens
114.4K
tokens
Release Date
When this model first became publicly available
July 13th, 2024
January 27th, 2025
Knowledge Cutoff
Latest training-data date reported by the provider
June 30, 2024
Not reported

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Gemma 2 27B
Sonar
Input Types
Supported input formats
📝Text
📝Text🖼️Image
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
GeminiOther
Key Features
Advanced capabilities
Function Calling✓Structured OutputReasoning ModeContent Moderation
Function CallingStructured OutputReasoning ModeContent Moderation
Open Source
Model availability
Available on HuggingFace →Proprietary

Pricing

Gemma 2 27B is roughly 0.7x less expensive compared to Sonar for input tokens and roughly 0.7x less expensive for output tokens.
Gemma 2 27BGemma 2 27B
SonarSonar
Input Token Cost
Cost per million input tokens
$0.65
per million tokens
$1.00
per million tokens
Output Token Cost
Cost per million output tokens
$0.65
per million tokens
$1.00
per million tokens
Web Search Cost
Additional cost for each web search operation
Not specified
$0.005
per search

At a Glance

Quick overview of what makes Gemma 2 27B and Sonar unique.
Google logoGemma 2 27B by Google generates structured data. It can handle standard conversations with its 8.2K token context window. Reasonably priced at $0.65/M input and $0.65/M output tokens. Released July 13th, 2024.
Perplexity logoSonar by Perplexity understands both text and images. It can handle standard conversations with its 127.1K token context window. Reasonably priced at $1.00/M input and $1.00/M output tokens. Released January 27th, 2025.

Explore More Comparisons

Compare your models with top performers across different categories

Compare Sonar with:

🚀Programming

Best models for coding and development

🎨Creative & Roleplay

Models optimized for creative writing

📢Marketing

Content creation and marketing tasks