Skip to content
65% offprompt cache

Gemma 3 4B IT

gemma-3-4b-it

No description provided for this model.

Input / output per 1M

$0.017/$0.035

official $0.05 / $0.1

Network fee$0.00
ProviderOther
ModalityImage

Context

128K

Max output

8K

Input / 1M

$0.017

Output / 1M

$0.035

Pricing

Input / 1M$0.017$0.05
Output / 1M$0.035$0.1
Cache read / 1M$0.0169% off input
Network fee$0.00per request

65% below the reference list price.

Request

POST /v1/chat/completions
curl https://api.relayrouter.org/v1/chat/completions \
-H "Authorization: Bearer $RELAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemma-3-4b-it",
"messages": [{ "role": "user", "content": "Hello" }]
}'

Independent benchmark

Full leaderboard

Artificial Analysis has not published an Intelligence Index score for this model yet. The leaderboard covers every model it does rate, including models RelayRouter does not serve.

How much does Gemma 3 4B IT cost on RelayRouter?

Gemma 3 4B IT is billed at $0.017 per 1M input tokens and $0.035 per 1M output tokens, plus a flat network fee per request. Billing is prepaid and failed calls are not billed.

How do I call Gemma 3 4B IT?

Send a POST to https://api.relayrouter.org/v1/chat/completions with model set to "gemma-3-4b-it" and your RelayRouter key as a Bearer token. The API is [OI]-compatible, so existing SDKs work by changing the base URL and key.

What is Gemma 3 4B IT's context window?

Gemma 3 4B IT accepts up to 128,000 input tokens per request and returns up to 8,000 output tokens. Prompts longer than the context window are rejected with HTTP 400 rather than silently truncated.