All models

Gemma 4 E4B

Google DeepMind

Chat, reasoning and image understanding.

API accessVerified workspaces · Africa processing · AWS Cape Town, South Africa

What you can build.

Capabilities available in your workspace.

InputText + Image
OutputText
  • Text chat and reasoning
  • One-image understanding
  • Function calling
  • Structured outputs
  • Streaming chat completions

Know the limits.

Output budget
640–2048 tokens, including reasoning
Vision input
One inline PNG, up to 1024 × 1024
Function calls
Direct and streamed Chat Completions
Prompt caching
Disabled on the current deployment
Full service notes

One inline PNG, up to 1024×1024; output 640–2048 tokens including reasoning. Supports function calls in direct and streamed chat.

Requests share your workspace’s allowance, rate limit and concurrency limit. Backend capacity varies; some GPU services warm up on demand. Model access does not guarantee immediate capacity.

Make your first request.

Use a server-side workspace API key from Platform → API keys. Examples use https://api.embiro.ai/v1 and the API model ID.

API model IDgemma-4-e4b

POST/v1/chat/completions

Your workspace key must have access to this model.

# Set EMBIRO_API_KEY in your shell first.
: "${EMBIRO_API_KEY:?Set your workspace API key first}"
curl --fail-with-body --silent --show-error "https://api.embiro.ai/v1/chat/completions" \
  -H "Authorization: Bearer $EMBIRO_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "gemma-4-e4b",
  "messages": [
    {
      "role": "user",
      "content": "Explain semantic search in two sentences."
    }
  ],
  "max_tokens": 1024
}
JSON
What comes back

Generated text in choices[0].message.content.

Cold starts, errors and safe retries
  • Use the Queued job example when a request can wait for compute. Save its ID and poll that job.
  • For 401/403, check the key and its model permissions. For 400, check the request and format limits.
  • Respect Retry-After on 429/503. A timeout after dispatch can be ambiguous; check request logs before submitting again.
  • These examples do not automatically retry paid work. A job retry must reuse the saved idempotency key and identical payload.
Open API reference

Under the hood.

Publisher specifications. These do not override the Embiro service limits above.

Published context
128K
Parameters
8B
Model size
Light

Publisher: 4.5B effective parameters, 8B including embeddings. Embiro serves a quantized model with a smaller context and one PNG input; audio and tools are not enabled. Supports function calls in direct and streamed chat.

Read the publisher’s model card

No verified benchmark scores are listed in this catalogue for this model.