Free Gemma API Endpoints & Rate Limits

8 providers · 12 models · Last updated: 01 Dec 2026

← directory · /v1/models · github

Quick Answer

Google Gemma open-weight models (including Gemma 4 26B and 31B with 256K context) are accessible for free on Google AI Studio, SambaNova Cloud, and NVIDIA NIM with zero credit card required.

Total available in this directory: 8 providers, 12 models. Verified limits below.

⚡ Quick Connect

Google Gemma 4 31B instruction-tuned model via SambaNova Cloud.

Base URL: https://api.sambanova.ai/v1
Model: gemma-4-31B-it
Provider: SambaNova Cloud

Python (OpenAI SDK):

from openai import OpenAI

client = OpenAI(
    base_url="https://api.sambanova.ai/v1",
    api_key="your-api-key",  # from SambaNova Cloud
)

response = client.chat.completions.create(
    model="gemma-4-31B-it",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

cURL (Terminal / Shell):

curl -X POST "https://api.sambanova.ai/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d '{
    "model": "gemma-4-31B-it",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Rate Limits & Model Inventory

ModelProviderCostContextRPMTPMRPDDay tokensVerified
google/gemma-4-26b-a4b-it:free OpenRouter$0256K20Provider-dependent50 (below $10 credits) / 1,000 ($10+ credits)Not published2026-12-01
google/gemma-4-31b-it:free OpenRouter$0256K20Provider-dependent50 (below $10 credits) / 1,000 ($10+ credits)Not published2026-12-01
gemma-4-26b-a4b-it Google AI Studio (Gemini API)$0256K3016K14.4KNot published2026-12-01
gemma-4-31b-it Google AI Studio (Gemini API)$0256K3016K14.4KNot published2026-12-01
gemma-4-31B-it SambaNova Cloud$0 (free tier)13107220unknownNot publishedNot published2026-12-01
google/gemma-3-12b-it NVIDIA NIM (build.nvidia.com)$0 (trial credits)128K~40Not publishedNot publishedNot published2026-12-01
google/gemma-3-4b-it NVIDIA NIM (build.nvidia.com)$0 (trial credits)128K~40Not publishedNot publishedNot published2026-12-01
Gemma 4 31B IT Google Colab$0256KNot publishedNot publishedNot publishedNot published2026-11-28
Gemma 4 26B A4B IT Google Colab$0256KNot publishedNot publishedNot publishedNot published2026-11-28
google/gemma-4-31b-it Requesty$0256KNot publishedNot published200/day sharedNot published2026-12-01
Gemma 4 31B IT AMD Developer Cloud$0256K20Not published1,000Not published2026-12-01
gemma-4-31B-it-fp8 InferX$0262.1K60Not published2,000Not published2026-12-01

Machine-readable: Markdown Twin · providers.json · sitemap.xml

← back to the full directory