Google: Gemma 4 31B
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
Published all-in NGN rates reflect upstream inference, multi-provider routing, and platform settlement. Accessible via /v1/chat/completions, /v1/messages, and /v1/responses.
Context window
262.1Ktokens
262,144 max buffer
Max output
16.4Ktokens
16,384 completion limit
Input rate
₦331.22per 1M
Standard prompt rate
Output rate
₦662.43per 1M
Billed in integer kobo
Providers & routing
SwitchRouter unifies multiple cloud hosts for this model. Requests route to the primary host and automatically fail over if it degrades.
ProviderRouting roleInput / 1MOutput / 1MLatency (P50)Status
OpenRouterPrimary route₦331.22₦662.43No dataOperational
Cost estimatorNaira wallet
₦46.37100K in · 20K out
- Input
- ₦33.12
- Output
- ₦13.25
- Runs per ₦2,000 top-up
- 43
Quickstart
bash
curl https://api.switchrouter.dev/v1/chat/completions \
-H "Authorization: Bearer $SWITCHROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-4-31b-it",
"messages": [{ "role": "user", "content": "Hello" }]
}'Availability & Telemetry
No dataawaiting traffic
- Measured uptime (30d)
- No data
- P50 request latency
- No data
- Recorded requests
- No samples
- Failover strategy
- Single upstream
Capabilities
3 / 4supported
- Streaming
- Supported
- Tool calling
- Supported
- Structured output
- Supported
- Image / Vision
- Not listed
Modalities & Protocol
Text onlytext
- Accepts
- text
- Returns
- text
- Settlement
- Naira wallet (kobo)
- Protocol
- /v1/chat/completions