Gemma 3 27B is available from 5 provider(s). Cheapest: DeepInfra at $0.080 per 1M input tokens and $0.160 per 1M output tokens. Context window: up to 131 072 tokens. Developer: Google.
| Provider | Input $/1M | Output $/1M | Context | |
|---|---|---|---|---|
| DeepInfra google/gemma-3-27b-it | $0.080 | $0.160 | 131K | Go to provider ↗ Set up |
| OpenRouter google/gemma-3-27b-it | $0.080 | $0.160 | 131K | Go to provider ↗ Set up |
| Novita AI google/gemma-3-27b-it | $0.119 +49 % | $0.200 | 98K | Go to provider ↗ Set up |
| NanoGPT unsloth/gemma-3-27b-it | $0.299 +274 % | $0.299 | 128K | Go to provider ↗ Set up |
| UplinkSwitch gemma-3-27b-it | $1.20 +1400 % | $1.20 | 131K | Go to provider ↗ Set up |
Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.
Reference price: $0.139 per 1M tokens (blended 3:1), median of all providers · How we compare → · Wrong price? Report it
Price history is recorded daily – the chart appears after the first price change.
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
r = client.chat.completions.create(
model="google/gemma-3-27b-it",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Currently at DeepInfra ($0.080 / 1M). Prices are updated daily; the provider’s website is authoritative.
All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.