PriceIndex

LLM token cost calculator

Gemma 2 27B Cost Calculator

Estimate what Gemma 2 27B by Google will cost each month. It is priced at $0.65 per 1M input tokens and $0.65 per 1M output tokens, with a 8K-token context window. Pick a workload, then tune requests and tokens to match your app.

100,000

API calls your app makes — one chat turn, document or task each.

1,500

System prompt + user message + history + retrieved context.

400

Length of the generated answer (≈ 750 words per 1,000 tokens).

Estimated monthly bill

$124/mo

Per 1K requests

$1.23

Per year

$1,482

Input cost

$98

Output cost

$26

79% input · 21% output · 150M in + 40M out tokens

Full Gemma 2 27B pricing →

Gemma 2 27B cost as traffic grows

Token pricing is linear: doubling requests doubles the bill. The chart compares Gemma 2 27B with similarly priced models at the same prompt and answer size.

  • Gemma 2 27B
  • GPT-5.1-Codex-Mini
  • WizardLM-2 8x22B
  • Llama 3.3 70B Instruct

At 1,000,000 requests a month, Gemma 2 27B would cost about $1,235/month with the same token sizes.

Same workload on other models

Gemma 2 27B ranks #153 on price among similar models for this workload. Mistral Nemo would cost $5.55/month.

How Gemma 2 27B pricing works

Gemma 2 27B bills per token, the small chunks of text the model reads and writes. Everything you send — system prompt, conversation history, retrieved documents and the user's message — is input at $0.65 per million tokens. Everything the model writes back is output at $0.65 per million.

monthly cost = requests × (input tokens × $0.65 + output tokens × $0.65) ÷ 1,000,000

For long-context apps such as RAG and agents, input tokens usually dominate because the same context is resent on each call. Chat and writing apps lean on output. Use the split bar above to see which side drives your bill, then shorten that side first.

Estimates exclude taxes, cached-input and batch discounts, image or audio tokens, and tool fees. Check the Gemma 2 27B pricing page for every meter and the official price list.

Gemma 2 27B cost calculator FAQ

How much does Gemma 2 27B cost per month?+

It depends on traffic and prompt size. Gemma 2 27B costs $0.65 per 1M input tokens and $0.65 per 1M output tokens. A support chatbot with 100,000 requests of 1,500 input and 400 output tokens costs about $124/month.

How is Gemma 2 27B API cost calculated?+

Monthly cost = (requests × input tokens ÷ 1,000,000 × input price) + (requests × output tokens ÷ 1,000,000 × output price). Taxes, cached-input discounts, batch discounts and tool-call fees are not included.

What is a token for Gemma 2 27B?+

A token is a chunk of text, roughly 4 characters or ¾ of an English word. 1,000 tokens is about 750 words. Prompts, system instructions, retrieved documents and chat history all count as input tokens.

Why are Gemma 2 27B output tokens priced differently?+

Generating text is more compute-intensive than reading it, so Google charges $0.65 per 1M output tokens versus $0.65 for input. Keeping answers short is usually the fastest way to cut the bill.

How big can a Gemma 2 27B prompt be?+

Gemma 2 27B has a context window of 8K tokens, which covers the prompt plus the generated answer.

How can I lower my Gemma 2 27B bill?+

Trim system prompts and chat history, cap output length, cache repeated context where the provider supports it, use batch processing for non-urgent jobs, and route simple requests to a cheaper model. The comparison on this page shows the same workload on alternatives.