Gemini API pricing & models

Google · 10 live 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.43.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.

Live models
10
Lowest input price
0.4Credits / M
Largest context
1Mtokens
Avg. 7-day uptime
92.9%

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.

ModelContext · outputInput / MOutput / M7-day uptime
Gemini 3.1 Flash Lite Imagegemini-3.1-flash-lite-image64K · 4K$0.250.476% off$1.502.4
Gemini 2.5 Flashgemini-2.5-flash1M · 64K$0.30.4876% off$2.50499.1%
Gemini 2.5 Flash Imagegemini-2.5-flash-image64K · 32K$0.30.4876% off$2.504
Gemini 3 Flash Previewgemini-3-flash-preview1M · 64K$0.50.876% off$3.004.896.8%
Gemini 3.1 Flash Imagegemini-3.1-flash-image128K · 32K$0.50.876% off$3.004.8
Gemini 3.7 Flashgemini-3.7-flash1M · 64K$0.751.276% off$3.75698.0%
Gemini 3.8 Flashgemini-3.8-flash1M · 64K$0.751.276% off$3.756
Gemini 2.5 Progemini-2.5-pro1M · 64K$1.25276% off$10.0016
Gemini 3 Pro Imagegemini-3-pro-image64K · 32K$2.003.276% off$12.0019.2
Gemini 3.1 Pro Previewgemini-3.1-pro-preview1M · 64K$2.003.276% off$12.0019.277.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.

CapabilityGemini 3.1 Flash Lite ImageGemini 2.5 FlashGemini 2.5 Flash ImageGemini 3 Flash PreviewGemini 3.1 Flash ImageGemini 3.7 FlashGemini 3.8 FlashGemini 2.5 ProGemini 3 Pro ImageGemini 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.

Get an API Key