Gemma 4 26B A4B vs Sonar
At a Glance
| Compare | Gemma 4 26B A4BGoogle DeepMind | SonarPerplexity |
|---|---|---|
| Pricing and Limits | ||
| Input priceFrom · USD / 1M tokens | $0.070Deepinfra ↗ · Sep 22, 2026 | $1.00Openrouter ↗ · Sep 22, 2026 |
| Output priceFrom · USD / 1M tokens | $0.30Openrouter ↗ · Sep 22, 2026 | $1.00Openrouter ↗ · Sep 22, 2026 |
| Context windowMaximum documented tokens | 262K | 128K |
| Model facts checked | Sep 3, 2026View model evidence → | Aug 29, 2026View model evidence → |
Token prices are the lowest available sourced USD rates; input and output may use different providers. Cost ranking estimates output spend on LiveBench, not a full request bill. Ranking methodology →
Available Benchmarks
Side-by-Side Facts
| Field | Gemma 4 26B-A4B | Sonar |
|---|---|---|
| Developer | Google DeepMind | Perplexity |
| Family | Gemma 4 | Sonar |
| Model | Gemma 4 26B-A4B | Sonar |
| Version | Gemma 4 26B-A4B | Sonar |
| Lifecycle | active | active |
| Released | 2026-03-11 | Unknown |
| Knowledge cutoff | Unknown | Unknown |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
| Context window | 262K | 128K |
| Total parameters | 26B | Unknown |
| Active parameters | 4B | Unknown |
| License | apache-2.0 | Unknown |
| Open weights | Yes | No |
| API available | Yes | Yes |
| Self-hostable | Yes | No |
| Provider access | Deepinfra (Standard), Google Gemini (Standard), Openrouter (Standard), Together Ai (Standard) | Openrouter (Standard), Perplexity (Standard) |
| Capabilities | chat, generation, reasoning, structured_outputs, tools | chat, citations, search |
Gemma 4 26B A4B Capabilities
Sonar Capabilities
Primary Evidence
Sources and Freshness
Questions
Gemma 4 26B A4B vs Sonar FAQs
Is Gemma 4 26B A4B or Sonar better for coding?+
This comparison does not currently contain a protocol-matched coding benchmark for both Gemma 4 26B A4B and Sonar, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.
Which is cheaper, Gemma 4 26B A4B or Sonar?+
Gemma 4 26B A4B is $0.070 and Sonar is $1.00 per million tokens, so Gemma 4 26B A4B is cheaper on this metric. Gemma 4 26B A4B is $0.30 and Sonar is $1.00 per million tokens, so Gemma 4 26B A4B is cheaper on this metric.
Which has a larger context window, Gemma 4 26B A4B or Sonar?+
Gemma 4 26B A4B has the larger sourced context window. Gemma 4 26B A4B supports 262K and Sonar supports 128K.
Which performs better in benchmarks, Gemma 4 26B A4B or Sonar?+
There is no overall benchmark winner: At least two independently verified, protocol-matched benchmarks are required for an overall winner.
Can Gemma 4 26B A4B or Sonar be self-hosted?+
Gemma 4 26B A4B is the only model in this pair currently marked as self-hostable. Gemma 4 26B A4B is open weight; Sonar is not marked open weight.
Can Gemma 4 26B A4B and Sonar understand images?+
Gemma 4 26B A4B is documented with image input; Sonar is not documented with image input. This reflects supported input modalities, not vision quality.
Which can generate longer answers, Gemma 4 26B A4B or Sonar?+
Neither has a larger sourced maximum output. Gemma 4 26B A4B is — and Sonar is —.
Do Gemma 4 26B A4B and Sonar support reasoning and tool use?+
Gemma 4 26B A4B: reasoning, tool calling, and image input. Sonar: none of these features are definitively sourced. Feature support does not establish relative quality.
Which is available from more inference providers, Gemma 4 26B A4B or Sonar?+
Gemma 4 26B A4B has 4 sourced provider routes; Sonar has 2, so Gemma 4 26B A4B has broader tracked availability.
Which offers better value, Gemma 4 26B A4B or Sonar?+
There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.