Skip to content

Google: Gemma 3 4B provider comparison

google/gemma-3-4b-it

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,...

Endpoints:
1
Context:
131.1K
Input:
text, image
Output:
text
Compare this model in a set →

At a glance

Comparison winners

Based on 1,000 input and 500 output tokens using the latest published median speed data.

Best cost/speed trade-off

DeepInfradeepinfra/bf16

$0.0667 / 1M tokens

28.31 s estimated response

Cheapest

DeepInfradeepinfra/bf16

$0.0667 / 1M tokens

$0.0001 for the sample request

Fastest

DeepInfradeepinfra/bf16

28.31 s estimated response

$0.0667 / 1M tokens

Visual comparison

Price and performance charts

Compare published endpoint pricing and estimated response time visually.

Effective price by endpoint

USD per 1 million tokens for input and output. Lower is better.

DeepInfra has the lowest estimated cost for 1,000 input and 500 output tokens at $0.0001.

Estimated cost vs. response time

Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.

1 provider has complete pricing and speed data. DeepInfra is closest to the ideal combination of lowest cost and fastest response.

Server-rendered comparison

Provider endpoints

Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.

Endpoint comparison for Google: Gemma 3 4B
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
DeepInfradeepinfra/bf16
CheapestFastestBest cost/speed trade-off
Current pricing
Input price
$0.05 / 1M tokens
Output price
$0.1 / 1M tokens
Sample cost
$0.0001
Speed measurements
500-token response
28.31 s
Response starts
0.54 s
Output speed
18.0 tok/s
Endpoint details
Uptime (30 min)
99.99%
Context
131.1K
Model format
bf16
Max output
16.4K
13 parameters

frequency_penalty, logit_bias, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, top_k, top_p

Endpoint data fetched .

Gemma 3 4B deployment guide

How to choose a Gemma 3 4B inference provider

Gemma 3 4B is indexed here as a text model by Google, with 1 provider endpoint from DeepInfra. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.

Match the endpoint to the workload

The model publishes a 131.1K-token context window. It accepts text, image input and returns text output. 13 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.

Compare the real request economics

DeepInfra currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.0001. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.

Balance response start and generation speed

DeepInfra currently has the shortest estimated 500-token response at 28.31 seconds. DeepInfra is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.