Google — Coding Model

Gemma 3 27B API — 128k tokens context.

Gemma 3 27B is Google's open-weight instruction model, served at 128k context and among the cheapest per-token options in the catalog. It is available from the Starter plan upward.

Model ID

google/gemma-3-27b-it

$0.10Input / 1M
$0.30Output / 1M

Gemma 3 27B specifications

Model IDgoogle/gemma-3-27b-it
VendorGoogle
Usage tierTier 1
Context window128k tokens
QuantizationFP8
Input$0.10 per 1M tokens
Output$0.30 per 1M tokens
Cache read$0.01 per 1M tokens
Approx. output speed~150 tokens/sec

Why run Gemma 3 27B on IN2PETA

  • Google open-weight model
  • 128k context window
  • Lowest tier-1 pricing tier
  • OpenAI-compatible endpoint — switch providers by changing one base URL, not by rewriting your client.

Calling the Gemma 3 27B API

Gemma 3 27B is served from an OpenAI-compatible gateway. Change your base URL and API key, and existing OpenAI clients work unchanged.

curl https://code.in2peta.com/v1/coding/chat/completions \
  -H "Authorization: Bearer $IN2PETA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemma-3-27b-it",
    "messages": [{"role": "user", "content": "Explain this function"}]
  }'

Set ANTHROPIC_BASE_URL to the same host to point Claude Code at the same gateway. See Getting Started for key setup, and Coding Endpoints for the full API reference.

Plans that include Gemma 3 27B

FreeFree

Not included

Starter$2/mo

Includes this model

Go$5/mo

Includes this model

Pro$15/mo

Not included

Frequently asked questions

How do I access the Gemma 3 27B API?

Point any OpenAI-compatible client at https://code.in2peta.com and send requests to /v1/coding/chat/completions with "model": "google/gemma-3-27b-it". The gateway is OpenAI-compatible, so existing SDKs work by changing the base URL and API key.

How much does the Gemma 3 27B API cost?

Gemma 3 27B is $0.1 per million input tokens and $0.3 per million output tokens, with cache reads at $0.013 per million. There is no per-request fee on top of token usage.

Which IN2PETA plans include Gemma 3 27B?

Gemma 3 27B is available on Starter ($2/mo), Go ($5/mo). Requests for a model outside your plan return HTTP 403 with the allowed model list in the error body.

What is the context window of Gemma 3 27B?

Gemma 3 27B serves a 128k tokens context window and runs FP8 quantised on IN2PETA.

Start with Gemma 3 27B today

Gemma 3 27B is available from the Starter plan at $2/month.