Gemma 4 E4B

DeepInfra

Google's tiny Gemma 4 E4B model with long-context reasoning and reliable tool calling.

Modalities
IntextOuttext
Input / output
$0.02 / $0.10USD per 1M tokens
Context
131K
Providers
Live

Playground

Preparing playground

Providers

primary

API

POST/api/v1/chat/completionsOpenAI-compatible
gemma-4-e4b
curl https://www.ninjachat.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemma-4-e4b",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
messagestemperaturemax_completion_tokenstop_pstopfrequency_penaltypresence_penaltyseedstreamuserroutingtoolstool_choicereasoningreasoning_effort

Pricing

Input
$0.02/M tokens
Cached input
$0.002/M tokens
Output
$0.10/M tokens

Published USD rates. Actual cost depends on input, output, cache usage and request options.