Gemma 4 API India
Small models that fit, billed in rupees
Google DeepMind's Gemma 4 is the family you deploy rather than merely call — Apache 2.0 weights from 2B up to 31B, sized so a capable model fits on hardware you already own. Access it through Ogma on an Indian contract, or let us deploy it inside your network.
Gemma 4 — Available Models
Share your monthly token volume and we’ll quote in INR within 2 business hours.
| Model | Shape | Best For |
|---|---|---|
| Gemma 4 E2B / E4B | Compact · 128K context | The small end. Built to run on modest hardware — edge deployments, on-device work, and high-volume classification where latency and unit cost dominate. |
| Gemma 4 12B / 26B-A4B / 31B | 256K context | The capable end, still small enough to self-host on a single machine in most cases. The 26B is a mixture-of-experts variant activating roughly 4B per token. |
Google DeepMind Gemma 4 — Why It Matters
Apache 2.0, genuinely
Unlike most model licences worth reading carefully, Apache 2.0 needs no interpretation. No user thresholds, no naming conditions, no review before you ship.
Small enough to own
The point of Gemma is that you can run it yourself. For an Indian enterprise with data-residency obligations, a model that fits on your own GPU is a different compliance conversation entirely.
Cost at volume
For classification, extraction and routing at scale, a well-fitted small model beats a frontier model on cost by orders of magnitude, and often matches it on the task.
OpenAI-compatible access
Reached through Ogma’s AI Gateway, which speaks the OpenAI API. Change a base URL, a key and a model id — existing Python, Node or LangChain code runs unchanged.
An Indian contract
Ogma Consulting is an Indian registered company. Rupee invoice with GST against a purchase order, on standard terms — usually the part that blocks an AI project here, rather than the model.
Spend controls that hold
Per-team monthly caps, per-minute rate limits and per-user cost attribution. A runaway loop hits a ceiling in seconds rather than appearing on an invoice a month later.
Where your data goes — plainly
Calls you make through Ogma are proxied by our gateway and served by the model provider’s infrastructure. We provide the Indian contracting, billing, spend controls and usage attribution; we do not host these model weights, and we will not claim to. Because Gemma 4 is published as open weights, self-hosting inside your own network is a genuine option where residency demands it — ask us to scope it rather than assuming a hosted API is your only route.
Pricing — in rupees
Per million tokens, inclusive of our margin. Billed in INR on a GST invoice — never in dollars.
| Model | Input / 1M | Output / 1M | Cached input / 1M |
|---|---|---|---|
Gemma 4 26B-A4Bgoogle/gemma-4-26b-a4b-it | ₹7.05 | ₹34.25 | ₹0.71 |
Gemma 4 31Bgoogle/gemma-4-31b-it | ₹10.07 | ₹34.25 | ₹1.01 |
Rates convert at the mid-market USD/INR rate refreshed every six hours, and the rate applied is recorded against every call. Cached input applies automatically to repeated prompt prefixes. GST is charged on top and is recoverable as input tax credit where your business is registered.
Frequently Asked Questions
Try Gemma 4 on an Indian invoice
One key, INR billing, GST invoice, purchase orders. Tell us your token volume and we’ll come back with live rupee pricing within 2 business hours.