anoman
Sign InGet API Key

Google

Gemma 3 4B

modelgemma-3-4b-it
BudgetStable★ Low cost in tierStreamingToolsBatchLong contextGlobal

Context

131K

Input / 1M tokens

$0.0500

Output / 1M tokens

$0.1000

Cached input / 1M tokens

— (bills at input price)

Cache write / 1M tokens

— (bills at input price)

About this model

Gemma 3 4B

Gemma 3 4B is a model by Google, available through the Anoman AI OpenAI-compatible API with a 131K-token context window. It costs $0.0500 per 1M input tokens and $0.1000 per 1M output tokens, and is available from the Budget Pass plan.

Key facts

Maker
Google
Context window
131K tokens
Max output
16K tokens
Lane
Guarded: the provider has confirmed it does not train on your data
Modality
Text
Input price
$0.0500 per 1M tokens
Output price
$0.1000 per 1M tokens
Processing region(s)
global
Route
Via OpenRouter
Cheapest plan
Available from the Budget Pass plan

More models by Google

Code example

Chat completion with Gemma 3 4B

from openai import OpenAI

client = OpenAI(
    base_url="https://api.anoman.io/v1",
    api_key="anm-sk-..."
)

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

Alternatives

Similar models in our catalog

Same maker first, then the closest price to Gemma 3 4B in the Anoman catalog.

Use Gemma 3 4B through Anoman.