Gemma 1 2B

Google chat Free

API ID: google/gemma-2b-it

Input Price
Free
/1M tokens
Output Price
Free
/1M tokens

About Gemma 1 2B

Gemma 1 2B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of text generation tasks, including question answering, summarization, and reasoning. Usage of Gemma is subject to Google's [Gemma Terms of Use](https://ai.google.dev/gemma/terms).

๐Ÿ†
Price Ranking
#6 lowest price among 1240 Chat models โ€” Top 20% cheapest!

Model Specifications

Context Length
8k
Max Output
โ€”
Release Date
2025-05-28
Capabilities
chat
Input Modalities
text
Output Modalities
text

Best For

  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
๐ŸŽ‰

This model is completely free!

No token costs - use it without worrying about API bills.

Estimate Token Usage

Google Model Lineup

Compare all models from Google to find the best fit

Model Input Output Context Capabilities
Gemma 1 2B Current Free Free 8k chat
Gemma 3n 4B Free Free 33k chat
Gemini 2.5 Flash Image Preview (Nano Banana) Free Free 33k chat vision image_gen
Gemma 3n 2B (free) Free Free 8k chat tool_use
Gemma 3 1B Free Free 32k chat vision
Gemma 3 1B Free Free 32k chat vision

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Alibaba Qwen Qwen2.5-VL 7B Instruct
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k
Black Forest Labs FLUX.2 Max
Input: Free
Output: Free
Context: 47k
Other Riverflow V2 Max Preview
Input: Free
Output: Free
Context: 8k

๐Ÿš€ Quick Start

Get started with Gemma 1 2B API

Google AI Python SDK
import google.generativeai as genai

genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemma-2b-it")

response = model.generate_content("Hello!")
print(response.text)