Gemma 4 26B A4B on Google AI Studio
Google AI Studio / Gemini API Free API tier
The catch: Outside the EEA, Switzerland and the UK, free-tier prompts and outputs are used to improve Google products and may be read by human reviewers. Exact limits are only visible inside AI Studio, and 2.5 models are limited to past users.
| Access | Free API tier |
|---|---|
| Free limits | Gemma 4 is free of charge on the Gemini API free tier and has no paid tier ("Not available"). Per-model RPM/RPD are shown only in AI Studio. |
| Modality | text, code, image |
| Credit card | Not required |
| Commercial use | Allowed |
| Trains on your data | Yes, on the free tier |
| Licence or terms | Google APIs Terms of Service + Gemini API Additional Terms of Service (effective 23 Mar 2026) |
| Context window | 256,000 tokens |
| Model id | gemma-4-26b-a4b-it |
| Base URL | https://generativelanguage.googleapis.com/v1beta/ |
| Last checked | 8 Oct 2026 |
How to use Gemma 4 26B A4B
It speaks the OpenAI API at https://generativelanguage.googleapis.com/v1beta/, so the OpenAI SDK you already use works once you change the base URL and key.
curl "https://generativelanguage.googleapis.com/v1beta/models/gemma-4-26b-a4b-it:generateContent" -H "x-goog-api-key: $GEMINI_API_KEY" -H "Content-Type: application/json" -X POST -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'I want to use the free AI model "Gemma 4 26B A4B" from Google AI Studio (model id: gemma-4-26b-a4b-it) in my project. Please: 1. Check the provider docs and give me the exact steps to get a free API key. 2. Give me a minimal working example that reads the key from an environment variable. 3. Tell me the real free limits and any catch (commercial use, card, data use). Listed limits: Limits shown after sign-in. 4. If the same provider has a more generous free option, mention it.
Before you ship on it
- Outside the EEA, Switzerland and the UK, free-tier prompts and outputs are used to improve Google products and may be read by human reviewers. Exact limits are only visible inside AI Studio, and 2.5 models are limited to past users.
- Prompts on the free tier may be used to train models. Keep customer data off it.
- Gemini API Additional Terms (effective 23 Mar 2026): use is 'for developers building with Google AI models for professional or business purposes, not for consumer use'. No ban on commercial use of unpaid quota, but 'You…
- Free tiers are shared capacity: treat the limits as a ceiling, not a promise, and keep a paid fallback.
Questions
Is Gemma 4 26B A4B on Google AI Studio free?
Yes. Google AI Studio offers it as free api tier, with these limits: Limits shown after sign-in. No credit card is needed.
Can I use Gemma 4 26B A4B on Google AI Studio commercially?
Yes, under Google APIs Terms of Service + Gemini API Additional Terms of Service (effective 23 Mar 2026). Check the current terms before you ship.
How do I start with Gemma 4 26B A4B on Google AI Studio?
It speaks the OpenAI API at https://generativelanguage.googleapis.com/v1beta/, so the OpenAI SDK you already use works once you change the base URL and key.
Source: ai.google.dev/gemini-api/docs/pricing, checked 8 Oct 2026.