Назад к моделям
Gemma 3 4B
googlegoogle/gemma-3-4b
Чем обслуживание в TheRouter отличается от вендорского
Как её эксплуатирует вендор
Google публикует Gemma 3 4B как open weights для self-hosting, fine-tuning и deployment на локальном железе, Hugging Face, Kaggle, Google AI Studio, Vertex AI и других runtimes.
На TheRouter
TheRouter обслуживает её как managed OpenAI-compatible chat-completions route с вводом текста/изображений и текстовым выводом; страница не заявляет local weight download, fine-tuning или vendor-native runtime controls на live request path TheRouter.
Гид по API
Chat completion
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-3-4b",
"messages": [{"role": "user", "content": "Explain adaptive image tiling in two paragraphs."}]
}'Ввод изображений
cURL
curl https://api.therouter.ai/v1/chat/completions \
-H "Authorization: Bearer $THEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-3-4b",
"messages": [{
"role": "user",
"content": [
{"type": "text", "text": "Read the label in this image and summarize the visible safety warning."},
{"type": "image_url", "image_url": {"url": "https://therouter.ai/assets/vision-sample.png"}}
]
}]
}'Реестр фактов — каждая утверждаемая величина имеет источник
| источник | URL | получено | |
|---|---|---|---|
| Дата релиза | Google Developers Blog ↗ | 2026-08-21 | проверено |
| Архитектура / размер | Google Developers Blog ↗ | 2026-08-21 | проверено |
| Контекстное окно | Google Developers Blog ↗ | 2026-08-21 | проверено |
| Токены обучения | Google Developers Blog ↗ | 2026-08-21 | проверено |
| Модальности ввода / вывода | Google Developers Blog ↗ | 2026-08-21 | проверено |
| Лицензия | ai.google.dev ↗ | 2026-08-21 | проверено |
| MMLU Pro | ai.google.dev ↗ | 2026-08-21 | проверено |
| HumanEval | ai.google.dev ↗ | 2026-08-21 | проверено |
| GSM8K | ai.google.dev ↗ | 2026-08-21 | проверено |
| Google представила Gemma 3 с мультимодальностью и контекстом 128K | Google Developers Blog ↗ | 2026-08-21 | проверено |