Gemma API
HIPS serves two Gemma models from Google DeepMind through one OpenAI-compatible API: gemma 4 31B it and gemma 4 E4B it. Both take text and images and passed tests with Claude Code and Codex. Every plan can call gemma 4 E4B it, the Free plan included. Access is by invitation: join early access for a HIPS API key.
We are inviting early-access interest while we develop the platform.
Gemma models on HIPS
| Model and Model id | Context window | On demand, per million tokens | Coding agents | Status |
|---|---|---|---|---|
gemma 4 31B itgemma-4-31b-it | 262,144 tokens | $0.1372 input, $0.392 output | Tested: Claude Code, Codex;not tested yet: HIPS Code | In early access |
gemma 4 E4B itgemma-4-e4b-it-8b | 131,072 tokens | $0.03234 input, $0.09604 output | Tested: Claude Code, Codex, OpenCode;not tested yet: HIPS Code | In early access |
- gemma 4 31B it
gemma-4-31b-itIn early accessContext window262,144 tokensOn demand, per million tokens$0.1372 input, $0.392 outputCoding agentsTested: Claude Code, Codex;not tested yet: HIPS Code - gemma 4 E4B it
gemma-4-e4b-it-8bIn early accessContext window131,072 tokensOn demand, per million tokens$0.03234 input, $0.09604 outputCoding agentsTested: Claude Code, Codex, OpenCode;not tested yet: HIPS Code
Rates are read from the HIPS catalog and change with it. Each model's page has its full rate table and price history.
Get a HIPS API key for Gemma models
One HIPS API key calls every model in the HIPS catalog, Gemma's included. Access is by invitation: join early access, and once you are invited, create the key in the Console.
The Gemma API request on HIPS
Send a chat completion with model set to the model's id. The base URL is https://ai.hips.com/v1.
curl https://ai.hips.com/v1/chat/completions \ -H "Authorization: Bearer $HIPS_API_KEY" \ -H "Content-Type: application/json" \ -d "{\"model\":\"gemma-4-31b-it\",\"messages\":[{\"role\":\"user\",\"content\":\"Explain GPU inference in two sentences.\"}]}"Anthropic's Messages API is served too, at the base URL the Docs' Quickstart lists.
Questions about the Gemma API
Is this Google's own Gemma API?
No. This is the HIPS API. Gemma's model card says: "Gemma is a family of open models built by Google DeepMind." HIPS serves the Gemma models in its catalog under HIPS's keys, prices and terms, and HIPS is the counterparty for every request.
How do I get a Gemma API key?
On HIPS, one HIPS API key calls both Gemma models. Access is by invitation: join early access, and once you are invited, create the key in the Console.
Which Gemma models can I call on HIPS?
gemma 4 31B it (gemma-4-31b-it) and gemma 4 E4B it (gemma-4-e4b-it-8b). Both take text and images and return text.
What license do Gemma 4 models use?
The HIPS catalog records apache-2.0 for both, linked to Google's Gemma 4 license page, and the card for gemma-4-31B-it names the same license.
Can I use the OpenAI SDK?
Yes. For supported OpenAI-style integrations, the starting point is three settings: your HIPS API key, base URL, and model. Set the model to gemma-4-31b-it or gemma-4-e4b-it-8b.
Do Gemma models work with Claude Code?
Yes. A test of Claude Code passed on both models' current versions: it called a tool, sent the tool's result back and answered with it. Start it with hi claude --model gemma-4-31b-it.
Does HIPS train on what I send?
HIPS never trains on, retains or logs your prompt data.