Gemma 4 27B
Google's open-weight flagship under Apache 2.0: April 2026. Designed for self-host with strong instruction-following and tool calling.
128K
tokens
8K
tokens
Self-host
open weights
Self-host
infra cost only
142
tokens/sec
Apr 2026
2026-04-09
—
self-host
—
n/a self-host
Capabilities
Benchmarks
Price vs Quality
Context Window in Context
- Grok 3131K
- ▸ Gemma 4 27B128K
- GPT-4o128K
- GPT-4o Mini128K
- Mistral Large 2128K
- DeepSeek V3128K
- DeepSeek R1128K
- Command R+128K
Compare With
Open Source: Licensed under Apache 2.0
Not on our gateway yet
Gemma 4 27B is open-weight, so you can run it yourself. Swfte Connect turns your deployment into a managed endpoint that speaks the same API as every other model in this directory.
curl https://api.swfte.com/agents/v2/gateway/chat/completions \
-H "Authorization: Bearer $SWFTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google:gemma-4-27b",
"messages": [{"role": "user", "content": "Hello"}]
}'About Gemma 4 27B
Gemma 4 27B is a open-source AI model by Google, released on April 9, 2026. It supports a context window of 128K tokens and can generate up to 8K output tokens.
Gemma 4 27B is published as open weights (Apache 2.0) for self-hosting. There is no per-token API price. Cost depends on your inference infrastructure: GPU rental, throughput per GPU, and operating overhead. For commodity 24-48GB GPUs the effective cost typically lands in the $0.10-$0.50 per million output tokens range, well below the cheapest hosted alternatives.
Gemma 4 27B is available as an open-source model under the Apache 2.0 license, meaning you can self-host it for predictable costs or use it through API providers like Swfte Connect.
Using Gemma 4 27B with Swfte
Access Gemma 4 27B through Swfte Connect, our unified LLM gateway. Connect gives you a single API for 50+ models, with automatic routing, cost optimization, and fallback handling. You can also try Gemma 4 27B in our AI Playground before integrating.