Skip to main content
All models

Gemini 2.5 Flash

GeminiGemini docs

gemini-2.5-flash

Run Gemini 2.5 Flash in a hosted Python Task with web search, extended thinking, file inputs and MCP connectors.

Google's 2.5 model for large-scale processing and low-latency tasks with thinking capabilities. Access for new projects is limited.

What Gemini 2.5 Flash supports in qbash

  • MCP connectorsCalls tools on MCP connectors during a request.
  • Web searchSearches the web while it answers.
  • Extended thinkingReasons through a problem before it replies.
  • Image inputReads WEBP, PNG, JPEG and GIF images.
  • Document inputReads PDF, TEXT, DOC, XLS, RTF and 7 more files.
  • Prompt cachingRepeated input is billed at the cached rate.

What is qbash?

qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like Gemini 2.5 Flash only at the ones that need judgment, with integrations, memory and files available in the same script.

A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.

Specifications

Context window
1.05Mtokens
Temperature
0 to 2default 1

Use Gemini 2.5 Flash in a Python Task

qbash.ai.raw calls Gemini 2.5 Flash from a Task and returns its reply as a string.

main.py
notes = qbash.inputs.get("notes")

summary = qbash.ai.raw(
f"Summarize these meeting notes in five bullets:\n\n{notes}",
model="gemini-2.5-flash",
system="You are a concise analyst.",
)

qbash.output({"summary": summary})
Model calls in Tasks

Connect Gemini 2.5 Flash to MCP servers

In qbash chat and a Task's inline prompts, you can attach MCP connectors to Gemini 2.5 Flash. It calls their tools during the request, for example to read a Postgres table or post to a Slack channel.

This is MCP on the model side. Adding MCP servers to Cursor or Claude Desktop is a separate setup, and qbash can publish your Tasks as an MCP server for those clients as well.

Use Gemini 2.5 Flash with web search

Turn on Web Search in an inline prompt's model bar and Gemini 2.5 Flash searches the web while it answers.

Extended thinking with Gemini 2.5 Flash

Turn on Thinking in the same Settings popover to have Gemini 2.5 Flash reason through a problem before it replies.

Gemini 2.5 Flash pricing

Input$0.30 per 1M tokens
Output$2.50 per 1M tokens
Cached input$0.03 per 1M tokens
Google search$35.00 per 1K searches

Standard rates in USD.

Supported file formats

Images

  • WEBP up to 5 MB
  • PNG up to 5 MB
  • JPEG up to 5 MB
  • GIF up to 5 MB

Documents

  • PDF
  • TEXT
  • DOC
  • XLS
  • RTF
  • DOCX
  • XLSX
  • PPTX
  • PPT
  • ODT
  • ODP
  • ODS

Automate Gemini 2.5 Flash with qbash