theserverless.dev InferenceList

Models / DeepInfra

google/gemini-2.5-flash

deepinfra/google/gemini-2.5-flash

text imageContext 1M

Gemini 2.5 Flash is Google's latest thinking model, designed to tackle increasingly complex problems. It's capable of reasoning through their thoughts before responding, resulting in enhanced performance and improved accuracy. Gemini 2.5 Flash: best for balancing reasoning and speed.

Price

Input$0.3

per 1M tokens

Output$2.5

per 1M tokens

Compare this model

Providers

Each row is one seller. Prices are the published rate from that source. A dash means that source did not publish the amount. Sorted by a 3:1 blend of input and output.

No provider prices yet.

Monthly bill

Token models use the token counts. Image, video, and audio models use units times the flat rate.

$2.80 at list price for this workload

Every rate
UnitInputOutputFlatConfidence
token $0.3/1M $2.5/1M Not published— official

Price history

google/gemini-2.5-flash
3 0 2026-10-08: $0.32026-10-09: $0.32026-10-10: $0.32026-10-11: $0.32026-10-12: $0.32026-10-13: $0.32026-10-14: $0.32026-10-15: $0.32026-10-16: $0.32026-10-17: $0.32026-10-18: $0.32026-10-19: $0.32026-10-20: $0.32026-10-21: $0.32026-10-22: $0.32026-10-23: $0.32026-10-24: $0.32026-10-25: $0.32026-10-26: $0.32026-10-27: $0.32026-10-28: $0.32026-10-29: $0.32026-10-30: $0.3 2026-10-08 2026-10-30

input or flat output

Daily snapshots
UTC dateUnitInputOutputFlat
2026-10-08 token $0.3 $2.5 Not published—
2026-10-09 token $0.3 $2.5 Not published—
2026-10-10 token $0.3 $2.5 Not published—
2026-10-11 token $0.3 $2.5 Not published—
2026-10-12 token $0.3 $2.5 Not published—
2026-10-13 token $0.3 $2.5 Not published—
2026-10-14 token $0.3 $2.5 Not published—
2026-10-15 token $0.3 $2.5 Not published—
2026-10-16 token $0.3 $2.5 Not published—
2026-10-17 token $0.3 $2.5 Not published—
2026-10-18 token $0.3 $2.5 Not published—
2026-10-19 token $0.3 $2.5 Not published—
2026-10-20 token $0.3 $2.5 Not published—
2026-10-21 token $0.3 $2.5 Not published—
2026-10-22 token $0.3 $2.5 Not published—
2026-10-23 token $0.3 $2.5 Not published—
2026-10-24 token $0.3 $2.5 Not published—
2026-10-25 token $0.3 $2.5 Not published—
2026-10-26 token $0.3 $2.5 Not published—
2026-10-27 token $0.3 $2.5 Not published—
2026-10-28 token $0.3 $2.5 Not published—
2026-10-29 token $0.3 $2.5 Not published—
2026-10-30 token $0.3 $2.5 Not published—

Alternatives

Parameters (5)
chatvlmvisionreasoning_effortreasoning
Call this model

OpenRouter id deepinfra/google/gemini-2.5-flash. InferenceList does not send the request.

curl
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepinfra/google/gemini-2.5-flash","messages":[{"role":"user","content":"Hello"}]}'

JavaScript
await fetch("https://openrouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.OPENROUTER_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "deepinfra/google/gemini-2.5-flash",
    messages: [{ role: "user", content: "Hello" }],
  }),
});

Python
import os, json, urllib.request
req = urllib.request.Request(
    "https://openrouter.ai/api/v1/chat/completions",
    data=json.dumps({"model": "deepinfra/google/gemini-2.5-flash", "messages": [{"role": "user", "content": "Hello"}]}).encode(),
    headers={"Authorization": "Bearer " + os.environ["OPENROUTER_API_KEY"], "Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())

JSON · History JSON