Text model
Gemma 3 4B IT
google/gemma-3-4b-it
google/gemma-3-4b-it is a language model from Google you can call on the OceanToken API at $0.04 per 1M input tokens and $0.05 per 1M output tokens, with a 131K-token context window and up to 16K output tokens; it supports image input.
At a glance
| Model ID | google/gemma-3-4b-it |
|---|---|
| Type | Text |
| Publisher | |
| Context window | 131,072 tokens |
| Max output | 16,384 tokens |
| Input price | $0.04 per 1M tokens |
| Output price | $0.05 per 1M tokens |
| Cached input price | $0.02 per 1M tokens |
| Capabilities | image input |
| Endpoint | /v1/chat/completions, /v1/responses |
| API shape | OpenAI-compatible |
| In the catalog since | 2025-03-13 |
Call it
Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.
curl https://api.oceantoken.ai/v1/chat/completions \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemma-3-4b-it", "messages": [{"role": "user", "content": "Hello"}]}'
Compared with similar models
Text models on OceanToken closest to google/gemma-3-4b-it in price. Every price is what you pay, in US dollars, with no platform fee on top.
| Model | Publisher | Context | Price (per 1M tokens) |
|---|---|---|---|
| Gemma 3 4B IT | 131,072 | $0.04 / $0.05 | |
L3 Lunaris 8Bsao10k/l3-lunaris-8b | Sao10k | 8K | $0.04 / $0.05 |
Ling-3.0 Flashinclusionai/ling-3.0-flash | inclusionAI | 262K | $0.021 / $0.063 |
Llama 3.1 8B Instructmeta-llama/llama-3.1-8b-instruct | Meta | 131K | $0.05 / $0.08 |
More from Google
- Chirp 3
google/chirp-3 - Gemini 2.5 Flash
google/gemini-2.5-flash - Gemini 2.5 Flash Image
google/gemini-2.5-flash-image - Gemini 2.5 Flash Lite
google/gemini-2.5-flash-lite - Gemini 2.5 Pro
google/gemini-2.5-pro - Gemini 2.5 Pro Preview
google/gemini-2.5-pro-preview - Gemini 3 Flash Preview
google/gemini-3-flash-preview - Gemini 3 Pro Image
google/gemini-3-pro-image
All Google models on OceanToken
Use it
Create an account All models and prices
Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.