[Go to site: main page, start]

Gemma API

Google's open Gemma 4 31B with a 256K context, available through one API key.

Gemma (Google) models and pricing
ModelContextInput / 1MOutput / 1MCached / 1M
Nano Banana 2.1
google/nano-banana-2.1 · images
— $0.058 / image
Nano Banana 2 Lite
google/nano-banana-2-lite · images
— $0.058 / image
Nano Banana 2.1 Edit
google/nano-banana-2.1-edit · images
— $0.072 / image
Nano Banana
google/nano-banana · images
— $0.052 / image
Nano Banana Pro
google/nano-banana-pro · images
— $0.195 / image
Nano Banana Edit
google/nano-banana-edit · images
— $0.052 / image
Nano Banana Pro Edit
google/nano-banana-pro-edit · images
— $0.195 / image
Veo 3 Fast (with audio)
google/veo-3-fast · video
— $0.195 / second
Gemini Omni Flash 1.1
google/gemini-omni-flash-1.1 · video
— $0.130 / second
Gemini Omni Flash 1.1 Image-to-Video
google/gemini-omni-flash-1.1-i2v · video
— $0.130 / second
Veo 3.1 Fast (with audio)
google/veo-3.1-fast · video
— $0.195 / second
Veo 3.1 Fast Image-to-Video
google/veo-3.1-fast-i2v · video
— $0.195 / second

USD per million tokens. Billed from prepaid credit; every response reports its exact cost.

Quick start
curl https://solorouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $SOLO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "google/nano-banana-2.1", "messages": [{"role": "user", "content": "Hello"}]}'

Works with LangChain, Cline, Continue, Open WebUI and any tool that lets you set a base URL: use https://solorouter.ai/api/v1. See the docs.

How to get your Gemma API key
  1. Sign in with Google and top up from $5.
  2. Copy the API key created for you on the Keys page, or create one with its own spending limit.
  3. Send requests to https://solorouter.ai/api/v1/chat/completions with "model": "google/nano-banana-2.1".
Why use Gemma (Google) through Solo Router
  • One key for every model: switch between Gemma (Google), DeepSeek, GLM, Kimi, Qwen and more by changing the model string.
  • Prepaid, no surprises: each request reserves its cost first, every response reports its exact price, and keys can have spending limits.
  • Works with your tools: LangChain, Cline, Continue, Open WebUI and anything that accepts a base URL.
  • Private: we do not store your prompts or responses.
Related guides Frequently asked questions
How do I call Gemma 4?

Create a Solo Router key and use the model google/gemma-4-31b-it.

Get your API key in 30 seconds

Sign in with Google, top up from $5 and pay only for what you use.

Get started

Also on Solo Router: DeepSeek API · Kimi API · Qwen API · GLM API · MiniMax API · Llama API · all models