Google · Gemma 4

Gemma 4 E2B

Verified by Badgr · Serve

Gemma 4 E2B is a 5.1B chat and text-generation model available through supported Badgr execution routes.

Last validated or meaningfully updated: 2026-10-09

ChatLong contextFine-tunable

✓ Verified by Badgr · Ollama · Serve

Last verified 2026-10-09

badgr serve gemma4:e2b --runtime ollama --gpu auto --max-cost 1.5
GPU
NVIDIA RTX A5000Reported by the provider, not confirmed inside the container
Time to verified
90.6s
Deployment
dep-0d0d86cbf6
  • ✓ Ollama server started
  • ✓ /api/tags listed gemma4:e2b
  • ✓ An /api/chat request returned a reply
  • ✓ final_state = VERIFIED
  • ✓ Teardown completed

Served on Badgr's NVIDIA Ollama route. The model was pulled, listed by /api/tags, and answered /api/chat with done_reason stop, so the Ollama route handled gemma4:e2b end to end on this image.

GitHub issue this run was for: ollama/ollama#18885

Raw evidence
final_state=VERIFIED failure_class=None providers_tried=1 spend_usd=0.0052 elapsed=90.6s
verify_model runtime=ollama model=gemma4:e2b ok=True detail=model gemma4:e2b is loaded

Run from Badgr's local development environment. Documents that this deployment path works end-to-end for this model.

Availability

Not yet Badgr AI API

Not currently validated

✓ Dedicated endpoint

Available through Badgr

✓ Custom GPU deployment

Available through Badgr

Deployment profile

Architecture
Gemma4ForConditionalGeneration
Licence
Apache-2.0
Minimum VRAM
~15GB
Context
128K tokens

Recommended: RTX 4090 24GB. VRAM is an estimate and increases with context, cache, concurrency, and runtime overhead.

Model identity

Updated
2 months ago
HuggingFace revision
d29ff6b45f

Popularity and trust

Downloads (last month)

234.3K

Likes

511

Spaces using this model

16

Files and formats

Weight formats

Safetensors

Repository files

8

Chat template

Available

GPU deployment scenarios

Estimated from parameter count and quantisation. Will switch to “Verified by Badgr” once a real run backs a tier.

Testing

RTX 4090 24GB

Short context, low concurrency

Small production

L40S 48GB

8K context, 1-4 concurrent requests

Higher throughput

A100 80GB

32K context, continuous batching

Large production

RTX 4090 24GB

Higher concurrency

Estimated — multimodal inputs, long context, and concurrency all increase real VRAM use beyond this estimate.

Also runs well on L40S 48GB, A100 40GB. Available in United States, Europe.

Serving compatibility

RuntimeStatusNotes
vLLMEstimatedUsed for Badgr dedicated endpoints
TransformersDeclared by sourceBasic fallback
llama.cppRequires GGUF conversionNo GGUF weights found in repo
SGLangUnknownNot evaluated
OllamaVerified by BadgrConfirmed by a real badgr serve run (deployment dep-0d0d86cbf6)
DiffusersUnknownNot evaluated
PyTorchUnknownNot evaluated
TensorRT-LLMUnknownConversion may be required
TGIUnknownNot evaluated

Ready-to-run Badgr configurations

Quick test

badgr serve google/gemma-4-E2B --max-cost 2

Validated dedicated endpoint command

badgr serve google/gemma-4-E2B --gpu RTX 4090 --max-cost 10

Advanced configuration (defaults to automatic)

  • Runtime
  • Quantisation
  • GPU and GPU count
  • Context length
  • Maximum concurrency
  • Region
  • Maximum hourly spend
  • Persistent or capped runtime

Estimated pricing

Provider estimate: cold start

2–5 min

Provider estimate: endpoint cost

$0.19 – $0.50/hr

Idle cost

$0 when stopped

Per-token throughput cost is not shown here: Badgr has not benchmarked this model yet, and this page does not display figures it cannot back with real data.

Recommended Badgr routes

RTX 4090 24GB · United States

Available

from $0.19/hr

24GB VRAM/GPU16GB RAM1440.9GB storage0.02Gbps networkCUDA 13.2

Best for

ComfyUI, Batch Inference, Qwen 2.5 7B Instruct

Startup: 2–5 min

Reliability: Standard

Last checked: just now

RTX 4090 24GB · United States

Available

from $0.44/hr

24GB VRAM/GPU

Best for

ComfyUI, Batch Inference, Qwen 2.5 7B Instruct

Startup: 2–5 min

Reliability: Standard

Last checked: just now

RTX 4090 24GB · Europe

Estimated

starting from $0.45/hr

Badgr estimated starting price

Best for

ComfyUI, Batch Inference, Qwen 2.5 7B Instruct

Startup: 2–5 min

Reliability: Standard

Last checked: Live marketplace price not available yet

RTX 4090 24GB · Europe

Estimated

starting from $0.45/hr

Badgr estimated starting price

Best for

ComfyUI, Batch Inference, Qwen 2.5 7B Instruct

Startup: 2–5 min

Reliability: Standard

Last checked: Live marketplace price not available yet

RTX 4090 24GB · Europe

Estimated

starting from $0.45/hr

Badgr estimated starting price

Best for

ComfyUI, Batch Inference, Qwen 2.5 7B Instruct

Startup: 2–5 min

Reliability: Standard

Last checked: Live marketplace price not available yet

RTX 4090 24GB · United States

Available

from $0.50/hr

2x GPU24GB VRAM/GPUSame host128 vCPU125.9GB RAM1201GB storage0.35Gbps networkCUDA 12.8

Best for

ComfyUI, Batch Inference, Qwen 2.5 7B Instruct

Startup: 2–5 min

Reliability: Standard

Last checked: just now

Known limitations

  • Memory use increases with context length and concurrency.

Related troubleshooting