Cheaper Inference
Cheaper Inference
Model record / google
gemini-3.1-flash-image is available for image generation from google. Its reported context window is 131,072 tokens, with up to 32,768 output tokens. Reported inputs: image, text. The served catalog lists image input, streaming, image editing.
Ready when you are
Marketplace pricing, capped at list, optimized further.
POST /v1/images/generations
curl https://api.cheaperinference.com/v1/images/generations \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "n": 1, "model": "gemini-3.1-flash-image", "prompt": "Render a picture of a red balloon." }'POST /v1/images/edits
curl https://api.cheaperinference.com/v1/images/edits \ -H "Authorization: Bearer ci_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "n": 1, "model": "gemini-3.1-flash-image", "prompt": "make the background white", "input_references": [ "data:image/png;base64,<your image>" ] }'Capability source · checked
| Model | Current pricing | Context limit | Image input listed |
|---|---|---|---|
| gemini-3.1-flash-image (this model)google | See model pricing | 131,072 tokens | Yes |
| gemini-3-pro-imagegoogle | See model pricing | 65,536 tokens | Yes |
| gemini-3.1-flash-lite-imageGoogle | $0.0289 / image | 65,536 tokens | Yes |
| gemini-2.5-flash-imageGoogle | See model pricing | 32,768 tokens | Yes |
This model takes the fields in its sample request. It has no other stated parameters.
See how much this model saves and when its recorded price has been lowest.
This model averaged 35.0% below comparable direct provider prices across the selected range. Its strongest observed window was 12:00 PM–10:00 AM in UTC.
Average saved
35.0%
Cheapest time
12:00 PM–10:00 AM
Hourly coverage
23/24
Signal quality
Growing
Hover a bar for savings per token and observation counts.
Source buckets are UTC; labels are converted to UTC.
Last 24 hours
#96
of 332 ranked models
Last 7 days
#147
of 389 ranked models
Last 30 days
#173
of 400 ranked models