Gemini API pricing & models
SoleAPI serves 10 Google models: Gemini 3.1 Flash Lite Image, Gemini 2.5 Flash, Gemini 2.5 Flash Image, Gemini 3 Flash Preview, Gemini 3.1 Flash Image, Gemini 3.7 Flash, Gemini 3.8 Flash, Gemini 2.5 Pro, Gemini 3 Pro Image, Gemini 3.1 Pro Preview. Input costs 0.4–3.2 Credits / M tokens (1 Credit = ¥1), up to 76% below list price. Compatible with Gemini generateContent; one API key for all of them, pay as you go.
Google model pricing
SoleAPI default channel price in Credits (1 Credit = ¥1); struck-through is the list price. Click a model for full pricing, protocols and uptime.
| Model | Context · output | Input / M | Output / M | 7-day uptime |
|---|---|---|---|---|
| Gemini 3.1 Flash Lite Imagegemini-3.1-flash-lite-image | 64K · 4K | — | ||
| Gemini 2.5 Flashgemini-2.5-flash | 1M · 64K | 99.1% | ||
| Gemini 2.5 Flash Imagegemini-2.5-flash-image | 64K · 32K | — | ||
| Gemini 3 Flash Previewgemini-3-flash-preview | 1M · 64K | 96.8% | ||
| Gemini 3.1 Flash Imagegemini-3.1-flash-image | 128K · 32K | — | ||
| Gemini 3.7 Flashgemini-3.7-flash | 1M · 64K | 98.0% | ||
| Gemini 3.8 Flashgemini-3.8-flash | 1M · 64K | — | ||
| Gemini 2.5 Progemini-2.5-pro | 1M · 64K | — | ||
| Gemini 3 Pro Imagegemini-3-pro-image | 64K · 32K | — | ||
| Gemini 3.1 Pro Previewgemini-3.1-pro-preview | 1M · 64K | 77.8% |
Input (prompt) / Output (completion) are per 1M tokens; image and video models show their primary unit price. Uptime comes from SoleAPI probes; a dash means not probed yet.
How to call Google models
Samples use Gemini 3.1 Flash Lite Image; change the model field to call any other model from this vendor.
Google GenAI SDK or any generateContent client: point the base URL at https://api.soleapi.com.
curl "https://api.soleapi.com/v1beta/models/gemini-3.1-flash-lite-image:generateContent" \
-H "x-goog-api-key: $SOLEAPI_KEY" \
-H "content-type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Explain prompt caching in one sentence"}]}]
}'Google model capabilities
Exactly as flagged in the catalog.
| Capability | Gemini 3.1 Flash Lite Image | Gemini 2.5 Flash | Gemini 2.5 Flash Image | Gemini 3 Flash Preview | Gemini 3.1 Flash Image | Gemini 3.7 Flash | Gemini 3.8 Flash | Gemini 2.5 Pro | Gemini 3 Pro Image | Gemini 3.1 Pro Preview |
|---|---|---|---|---|---|---|---|---|---|---|
| Vision | ||||||||||
| Function Calling | ||||||||||
| Reasoning | ||||||||||
| Prompt Caching | ||||||||||
| Response Schema | ||||||||||
| Audio | ||||||||||
| Video | ||||||||||
| File Input | ||||||||||
| Streaming | ||||||||||
| Web Search | ||||||||||
| Realtime | ||||||||||
| Session | ||||||||||
| Media | ||||||||||
| Multipart Form | ||||||||||
| Binary Response |
Compare Google models
Pricing, context, capabilities and uptime side by side.
FAQ
How much does the Gemini API cost on SoleAPI?
Google models cost 0.4–3.2 Credits / M input tokens, with 1 Credit = ¥1; the cheapest is Gemini 3.1 Flash Lite Image. That is up to 76% below list price — see the table above.
How do I call Gemini models on SoleAPI with the official SDK?
Point the base URL at https://api.soleapi.com and use a SoleAPI key. Gemini generateContent are supported and request bodies are identical to the official API.
Which Gemini model has the largest context window?
Gemini 2.5 Flash, with 1M tokens. Context and max output for every model are in the pricing table above.
Can I pay for the Gemini API with Alipay?
Yes. SoleAPI accepts Alipay top-ups; 1 Credit = ¥1, billed per use with no monthly fee or minimum.
One API key for every Google model
Free credits on sign-up, pay as you go, no monthly fee.