Anthropic
gemma-3-27b-it
google/gemma-3-27b-it
Price per million tokens
- Input
- $0.101
- Output
- $0.570
- Cache write
- not offered
- Cache read
- $0.051
What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.
Limits
- Context window
- 262,144 tokens
- Max output
- 131,072 tokens
- Images
- supported
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0004 | $0.39 |
| Long document summary | 50,000 | 2,000 | $0.0062 | $6.20 |
| Agent step with tools | 20,000 | 1,500 | $0.0029 | $2.88 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $0.6710 | $670.98 |
Calling it
const res = await client.chat.completions.create({ model: "google/gemma-3-27b-it", messages: [{ role: "user", content: "Hello" }], });