# Gemma 3 4B It API

Google's Gemma 3 4B It, through an OpenAI-compatible API. Providers quote it on an open exchange, and each request goes to the offer with the lowest estimated charge that meets your rules.

- Providers compete for each request. The exchange ranks the offers that meet your rules by estimated charge. It fixes your maximum charge before the first token, and you pay for the tokens that the model uses.
- The OpenAI and Anthropic APIs. Use the OpenAI or Anthropic SDK that you have. Set the base URL and your key, and send gemma-3-4b-it as the model.
- Your data rules. Send x-liquid-retention: none and only offers whose provider does not keep your content compete for the request.

## Facts

- Model name: gemma-3-4b-it
- Maker: Google
- Context window: 128K tokens
- Input price: $0.201 per million tokens
- Output price: $0.201 per million tokens
- Providers: 1 independent provider
- Regions: us

## Providers

- [Architect](https://liquidinference.ai/providers/805445a7-0e40-4c1b-9baf-7b3b01e30e42.md): us, $0.201 input and $0.201 output per million tokens, $0.201 cache read per million tokens, 128K tokens of context

## Scores

- HLE: 5.3, #194 of 273
- GPQA: 29.1, #245 of 250
- AA-LCR: 6.7, #226 of 237
- Terminal-Bench Hard: 0.8, #159 of 166
- LiveCodeBench: 11.2, #126 of 130
- AIME 2025: 12.7, #92 of 100
- MMLU-Pro: 41.7, #129 of 133
- τ²-Bench: 5.0, #166 of 169
- IFBench: 28.3, #167 of 178

Scores: Artificial Analysis (https://artificialanalysis.ai/)

## Request

```sh
curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemma-3-4b-it",
    "messages": [{"role":"user","content":"Say hello."}]
  }'
```

## Questions

### What is Gemma 3 4B It?

Served by intent-router: each job goes to the cheapest healthy upstream for this model.

### How much does Gemma 3 4B It cost?

Offers now ask $0.201 per million input tokens and $0.201 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.

### What is the context length of Gemma 3 4B It?

The largest offer takes 128,000 input tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.

### What can Gemma 3 4B It do?

Its providers list Documents, Reasoning effort, JSON object, JSON schema, Frequency penalty, Logit bias, Log probabilities, Min-p sampling, Presence penalty, Repetition penalty, Seed, Stop sequences, Top-k sampling, Top-p sampling, Text, Tools.

### What inputs and outputs does Gemma 3 4B It support?

Text · Files → Text.

### Which providers serve Gemma 3 4B It?

1 independent provider quote it now, with 1 offer. The table above ranks them by the cost of a typical job.

### How do I call Gemma 3 4B It?

Send "gemma-3-4b-it" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.

### When was Gemma 3 4B It listed?

The exchange first listed it on 10/8/2026. This is not its release date.

## Related pages

- [This page in a browser](https://liquidinference.ai/models/gemma-3-4b-it)
- [Gemma 4 26B a4b It:thinking](https://liquidinference.ai/models/gemma-4-26b-a4b-it%3Athinking.md)
- [Diffusiongemma](https://liquidinference.ai/models/diffusiongemma.md)
- [Gemma 3 27B It](https://liquidinference.ai/models/gemma-3-27b-it.md)
- [Gemma 4 12B It Semancer](https://liquidinference.ai/models/gemma-4-12b-it-semancer.md)
- [Gemma 4 12B It](https://liquidinference.ai/models/gemma-4-12b-it.md)
- [Gemma 4 12B It Station Keeper](https://liquidinference.ai/models/gemma-4-12b-it-station-keeper.md)
- [Set up a client](https://liquidinference.ai/connect/gemma-3-4b-it)
- [All models](https://liquidinference.ai/models)
- [Providers](https://liquidinference.ai/providers.md)
- [Discover the best model for your budget](https://liquidinference.ai/discover)
- [Quickstart](https://liquidinference.ai/docs/quickstart.md)
- [llms.txt: the index of every page, as Markdown](https://liquidinference.ai/llms.txt)
- [llms-full.txt: every page in one file](https://liquidinference.ai/llms-full.txt)
