theserverless.dev InferenceList

Models / Google

Google: Gemma 3 4B

google/gemma-3-4b-it

text imageContext 131K

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...

Price

Input$0.05

per 1M tokens

Output$0.1

per 1M tokens

Cheaper on Amazon Bedrock (−60%) versus the OpenRouter list price

Compare this model

Providers

Each row is one seller. Prices are the published rate from that source. A dash means that source did not publish the amount. Sorted by a 3:1 blend of input and output.

ProviderTagQuant InputOutput ContextUptimeStatusSource
Amazon Bedrock batch — $0.02/1M $0.04/1M — — Listed amazon-bedrock
Amazon Bedrock flex — $0.02/1M $0.04/1M — — Listed amazon-bedrock
Parasail parasail/bf16 bf16 $0.04/1M $0.05/1M 131K 100% Live openrouter-endpoints
Amazon Bedrock standard — $0.04/1M $0.08/1M — — Listed amazon-bedrock
DeepInfra — — $0.05/1M $0.1/1M 131K — Listed deepinfra
DeepInfra deepinfra/bf16 bf16 $0.05/1M $0.1/1M 131K 100% Live openrouter-endpoints
Inference.net — — $0.05/1M $0.1/1M 131K — Listed inferencenet
Amazon Bedrock priority — $0.07/1M $0.14/1M — — Listed amazon-bedrock
Together — — Not published— Not published— 66K — Listed together

Monthly bill

Token models use the token counts. Image, video, and audio models use units times the flat rate.

$0.15 at list price for this workload

Every rate
UnitInputOutputFlatConfidence
token $0.05/1M $0.1/1M Not published— official

Price history

Google: Gemma 3 4B
0.15 0 2026-09-15: $0.052026-09-16: $0.052026-09-17: $0.052026-09-18: $0.052026-09-19: $0.052026-09-20: $0.052026-09-21: $0.052026-09-22: $0.052026-09-23: $0.052026-09-24: $0.052026-09-25: $0.052026-09-26: $0.052026-09-27: $0.052026-09-28: $0.052026-09-29: $0.052026-09-30: $0.052026-10-01: $0.052026-10-02: $0.052026-10-03: $0.052026-10-04: $0.052026-10-05: $0.052026-10-06: $0.052026-10-07: $0.052026-10-08: $0.052026-10-09: $0.052026-10-10: $0.052026-10-11: $0.052026-10-12: $0.052026-10-13: $0.052026-10-14: $0.052026-10-15: $0.052026-10-16: $0.052026-10-17: $0.052026-10-18: $0.052026-10-19: $0.052026-10-20: $0.042026-10-21: $0.042026-10-22: $0.042026-10-23: $0.042026-10-24: $0.042026-10-25: $0.042026-10-26: $0.042026-10-27: $0.052026-10-28: $0.052026-10-29: $0.052026-10-30: $0.05 2026-09-15 2026-10-30

input or flat output

Daily snapshots
UTC dateUnitInputOutputFlat
2026-09-15 token $0.05 $0.1 Not published—
2026-09-16 token $0.05 $0.1 Not published—
2026-09-17 token $0.05 $0.1 Not published—
2026-09-18 token $0.05 $0.1 Not published—
2026-09-19 token $0.05 $0.1 Not published—
2026-09-20 token $0.05 $0.1 Not published—
2026-09-21 token $0.05 $0.1 Not published—
2026-09-22 token $0.05 $0.1 Not published—
2026-09-23 token $0.05 $0.1 Not published—
2026-09-24 token $0.05 $0.1 Not published—
2026-09-25 token $0.05 $0.1 Not published—
2026-09-26 token $0.05 $0.1 Not published—
2026-09-27 token $0.05 $0.1 Not published—
2026-09-28 token $0.05 $0.1 Not published—
2026-09-29 token $0.05 $0.1 Not published—
2026-09-30 token $0.05 $0.1 Not published—
2026-10-01 token $0.05 $0.1 Not published—
2026-10-02 token $0.05 $0.1 Not published—
2026-10-03 token $0.05 $0.1 Not published—
2026-10-04 token $0.05 $0.1 Not published—
2026-10-05 token $0.05 $0.1 Not published—
2026-10-06 token $0.05 $0.1 Not published—
2026-10-07 token $0.05 $0.1 Not published—
2026-10-08 token $0.05 $0.1 Not published—
2026-10-09 token $0.05 $0.1 Not published—
2026-10-10 token $0.05 $0.1 Not published—
2026-10-11 token $0.05 $0.1 Not published—
2026-10-12 token $0.05 $0.1 Not published—
2026-10-13 token $0.05 $0.1 Not published—
2026-10-14 token $0.05 $0.1 Not published—
2026-10-15 token $0.05 $0.1 Not published—
2026-10-16 token $0.05 $0.1 Not published—
2026-10-17 token $0.05 $0.1 Not published—
2026-10-18 token $0.05 $0.1 Not published—
2026-10-19 token $0.05 $0.1 Not published—
2026-10-20 token $0.04 $0.05 Not published—
2026-10-21 token $0.04 $0.05 Not published—
2026-10-22 token $0.04 $0.05 Not published—
2026-10-23 token $0.04 $0.05 Not published—
2026-10-24 token $0.04 $0.05 Not published—
2026-10-25 token $0.04 $0.05 Not published—
2026-10-26 token $0.04 $0.05 Not published—
2026-10-27 token $0.05 $0.1 Not published—
2026-10-28 token $0.05 $0.1 Not published—
2026-10-29 token $0.05 $0.1 Not published—
2026-10-30 token $0.05 $0.1 Not published—

Alternatives

Parameters (15)
frequency_penaltylogit_biaslogprobsmax_tokensmin_ppresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_ktop_logprobstop_p
Call this model

OpenRouter id google/gemma-3-4b-it. InferenceList does not send the request.

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

JavaScript
await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.OPENROUTER_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "google/gemma-3-4b-it",
    messages: [{ role: "user", content: "Hello" }],
  }),
});

Python
import os, json, urllib.request
req = urllib.request.Request(
    "https://openrouter.ai/api/v1/chat/completions",
    data=json.dumps({"model": "google/gemma-3-4b-it", "messages": [{"role": "user", "content": "Hello"}]}).encode(),
    headers={"Authorization": "Bearer " + os.environ["OPENROUTER_API_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())

JSON · History JSON