Gemma 2 27B IT API Pricing
As of October 10, 2026, Gemma 2 27B IT costs $0.80 per 1M input tokens and $0.80 per 1M output tokens on Together AI. It has an 8,192-token context window.
together_ai/google/gemma-2-27b-it.- Input
- $0.80 / 1M tokens
- Output
- $0.80 / 1M tokens
- Context window
- 8,192 tokens
- Providers
- 1
- Added to LiteLLM
- July 2025
Gemma 2 27B IT pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Together AI | together_ai/google/gemma-2-27b-it | $0.80 | $0.80 | 8K |
What Gemma 2 27B IT costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Together AI | $2.00 |
Use Gemma 2 27B IT with LiteLLM
Call Gemma 2 27B IT through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="together_ai/google/gemma-2-27b-it",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: gemma-2-27b-it
litellm_params:
model: together_ai/google/gemma-2-27b-it
api_key: os.environ/TOGETHERAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "gemma-2-27b-it",
"messages": [{"role": "user", "content": "Hello!"}]
}'Gemma 2 27B IT FAQ
How much does Gemma 2 27B IT cost?
Gemma 2 27B IT costs $0.80 per 1M input tokens and $0.80 per 1M output tokens on Together AI.
What is the context window of Gemma 2 27B IT?
Gemma 2 27B IT has an 8,192-token context window.
Which providers offer Gemma 2 27B IT?
Gemma 2 27B IT is available from Together AI through LiteLLM, using the model name together_ai/google/gemma-2-27b-it.
How do I call Gemma 2 27B IT with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="together_ai/google/gemma-2-27b-it", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Gemma 2 27B IT?
Gemma 2 27B IT was added to LiteLLM's model price file in July 2025.
Is Gemma 2 27B IT being deprecated?
Together AI deprecated together_ai/google/gemma-2-27b-it on August 28, 2025.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Together AI.
Provider pages: Together AI.
