Google: Gemma 3 27B API pricing
$0.08 per 1M input tokens and $0.35 per 1M output tokens on OpenRouter. Context window: 131,072 tokens.
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $2.60 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $0.850 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $0.435 |
Cross-check against the provider's list price
LiteLLM's price map lists gemini/gemma-3-27b-it (gemini) at free in / free out per 1M tokens. Differs from OpenRouter OpenRouter routes to several hosts and may list a different provider's price than the model maker's own API.
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Run it yourself instead
The open weights are on Hugging Face. See the VRAM gemma 3 27b it needs and which GPUs fit it →
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Z.ai: GLM 4.7 Flash | $0.0605 | $0.40 | 195K |
| OpenAI: GPT-5 Nano | $0.05 | $0.40 | 391K |
| OpenAI: gpt-oss-safeguard-20b | $0.075 | $0.30 | 128K |
| OpenAI: GPT-4o-mini (batch) | $0.075 | $0.30 | 125K |
| Qwen: Qwen3 32B | $0.08 | $0.28 | 128K |
| Meta: Muse Spark 1.3 Contributor | $0.10 | $0.20 | 1M |
| Meta: Muse Spark 1.2 Contributor | $0.10 | $0.20 | 1M |
| ByteDance: UI-TARS 7B | $0.10 | $0.20 | 125K |
Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID google/gemma-3-27b-it, listed Mar 12, 2025. Report an error.