← All models

Anthropic

gemma-2-27b-it

google/gemma-2-27b-it

Price per million tokens

Input
$0.823
Output
$0.823
Cache write
not offered
Cache read
not offered

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
8,192 tokens
Max output
2,048 tokens
Images
text only

What it costs to run

WorkloadInputOutputCostPer 1,000 calls
Short chat turn1,000500$0.0012$1.23
Long document summary50,0002,000$0.0428$42.79
Agent step with tools20,0001,500$0.0177$17.69
1M in, 1M out1,000,0001,000,000$1.6458$1645.80

Calling it

const res = await client.chat.completions.create({
  model: "google/gemma-2-27b-it",
  messages: [{ role: "user", content: "Hello" }],
});