Google logo

Gemma 3 4B It

google/gemma-3-4b-it
Chat
Google|
Vision

Gemma 3 4B It (google/gemma-3-4b-it) is an AI model from Google with a 131,072-token context window and 16,384 max output tokens, priced at $0.05/1M input and $0.10/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Context Window
131K
tokens
Max Output
16K
tokens
Input Price
$0.05
/1M tokens
Output Price
$0.10
/1M tokens

Overview

Gemma 3 4B It is a chat-based AI model developed by Google. It supports vision capabilities and has a context window of 131,072 tokens, with a maximum output of 16,384 tokens. Pricing is set at $0.05 per 1M tokens for input and $0.10 per 1M tokens for output. Details about its parameter count, architecture, and license are currently unknown.

Features & Capabilities

Modechat
Context Window131,072 tokens
Max Output16,384 tokens
Function CallingNot supported
VisionSupported
ReasoningNot supported
Web SearchNot supported
Url ContextNot supported

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemma-3-4b-it",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Frequently Asked Questions

What is the context window of Gemma 3 4B It?

Gemma 3 4B It (google/gemma-3-4b-it) has a 131,072-token context window and supports up to 16,384 output tokens per request.

How much does Gemma 3 4B It cost?

Gemma 3 4B It is priced at $0.05 per 1M input tokens and $0.10 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does Gemma 3 4B It support?

Gemma 3 4B It supports vision.

How do I use Gemma 3 4B It via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "google/gemma-3-4b-it" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Use Gemma 3 4B It with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

haimaker.ai 2026 - All Rights Reserved