# Gemma 3 4B IT

> Google's Gemma 3 4B IT joins the catalog: a 4B open-weight instruct model with text and image input, a 131,072-token context window, and multilingual coverage across 140+ languages, available through BYOK.

- Date: 2026-10-03
- HTML: https://anyrouter.dev/blog/releases/2026-10-03-gemma

## Models

- `google/gemma-3-4b-it` (Gemma 3 4B IT) — Open-weight 4B instruct, text + image in, 131,072-token context, 140+ languages.

## Notes

[`google/gemma-3-4b-it`](https://anyrouter.dev/model/google/gemma-3-4b-it) is the smallest multimodal member of Google's Gemma 3 family: a 4B open-weight instruct model that takes text and image input and answers in text over a 131,072-token context window, with multilingual support in over 140 languages. It is available through BYOK keys (Hugging Face, OpenRouter, or Google AI Studio). OpenRouter lists it at $0.05 / $0.10 per 1M tokens.

- App code: [Vercel AI SDK](https://anyrouter.dev/use-cases/ai-sdk) or [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
- Coding agent: `anyr claude` / `anyr opencode` / `anyr codex` ([playbook](https://anyrouter.dev/use-cases/coding-agents)).
- No code: [playground](https://anyrouter.dev/playground?model=google/gemma-3-4b-it).

```ts
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()

const { text } = await generateText({
  model: anyrouter("google/gemma-3-4b-it"),
  prompt: "Summarize this changelog in three bullets.",
})
console.log(text)
```

_AI SDK._

```bash
curl -fsSL https://anyrouter.dev/cli.sh | bash
anyr login
anyr claude --model "google/gemma-3-4b-it"
```

_Coding agent._
