reroute

Google: Gemma 3 4B

google/gemma-3-4b-it

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities,...

Modalities
In / Out Price
$0.05 / $0.10 per 1M
Context
131K
Released
Mar 13, 2025
Knowledge Cutoff
Aug 2024

API

Reroute speaks the OpenAI Chat Completions format. Point any OpenAI SDK at https://www.reroute.wtf/api/v1 and use google/gemma-3-4b-it as the model.

You need an API key
Keys start with sk-rr-v1- and are shown once.
Create API key
curl https://www.reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{
  "model": "google/gemma-3-4b-it",
  "messages": [
    { "role": "user", "content": "What is the meaning of life?" }
  ]
}'

Streaming

Set stream: true to receive server-sent events. The final chunk carries usage and cost.

curl -N https://www.reroute.wtf/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $REROUTE_API_KEY" \
  -d '{ "model": "google/gemma-3-4b-it", "stream": true,
        "messages": [{ "role": "user", "content": "Count to five" }] }'