Skip to content
HIPS
  • Earn with your GPU
  • Pricing
  • Docs
Sign inJoin early access
01Gemma API_
  1. Models
  2. /Gemma API

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.

Join early access

We are inviting early-access interest while we develop the platform.

Gemma models on HIPS

Gemma models on HIPS
Model and Model idContext windowOn demand, per million tokensCoding agentsStatus
gemma 4 31B itgemma-4-31b-it262,144 tokens$0.1372 input, $0.392 outputTested: Claude Code, Codex;not tested yet: HIPS CodeIn early access
gemma 4 E4B itgemma-4-e4b-it-8b131,072 tokens$0.03234 input, $0.09604 outputTested: Claude Code, Codex, OpenCode;not tested yet: HIPS CodeIn early access
  • gemma 4 31B itgemma-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 itgemma-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.

00000000000000000000000000000000000000001curl https://ai.hips.com/v1/chat/completions \2  -H "Authorization: Bearer $HIPS_API_KEY" \3  -H "Content-Type: application/json" \4  -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.

Related

  • gemma 4 31B it
  • gemma 4 E4B it
  • All models
  • Quickstart
  • Start a coding agent on HIPS
  • Coding agents on HIPS

Product

  • Inference
  • Models
  • Serverless GPUs
  • GPU rental
  • Deploy your model
  • Coding agents
  • How it works
  • Use cases
  • Pricing

Models

  • DeepSeek API
  • Kimi API
  • Qwen API
  • GLM API
  • Gemma API
  • Mistral API
  • gpt-oss API
  • All models

Developer

  • Docs
  • Quickstart
  • Migrate to HIPS
  • HIPS SDK
  • Batch jobs
  • API reference
  • Claude Code pricing

Provider

  • Earn with your GPU
  • Register GPU interest
  • Download for Mac
  • Download for Windows
  • Download for Linux

Resource

  • Security and Data
  • Resources
  • llms.txt

Compare

  • OpenRouter alternatives
  • Together AI alternatives
  • Groq alternatives
  • Runpod alternatives
  • Claude Code alternatives
  • Cursor alternatives
  • All comparisons

Company

  • About
  • Contact
  • Affiliate program
  • HIPS Payments

Legal

  • Legal
  • Consumer Health Data Privacy Policy
  • Report content
  • Cookie preferences

Support

  • Contact HIPS
  • Looking for payments support?

HIPS. AI inference for builders.

hips.com

Hyperscale Inference Processing Systems OÜ