Gemini 2.5 Flash

Gemini 2.5 Flash API

Released N/AUp to 1M Tokens contextN/A parameters

Documentation

Gemini 2.5 Flash API enables Real-time visual analysis for dashboards and customer support, Fast structured extraction from images and documents, Vision-assisted workflows that prioritize latency and throughput, and Agentic processing where large context is needed at lower cost. Gemini 2.5 Flash is a cost-efficient multimodal vision model designed for high-volume, low-latency tasks with strong long-context support. Standout strengths include Large context window (up to 1M input tokens) and Flash-tier pricing and efficient inference. It is well suited for multimodal assistants that combine image understanding with grounded text reasoning in real-time workflows.

from openai import OpenAI # Initialize the OpenAI client with Qubrid base URL client = OpenAI( base_url="https://platform.qubrid.com/v1", api_key="QUBRID_API_KEY", ) stream = client.chat.completions.create( model="google/gemini-2.5-flash", messages=[ { "role": "user", "content": [ { "type": "text", "text": "What is in this image? Describe the main elements." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ], max_tokens=8192, temperature=0.2, top_p=1, stream=True ) for chunk in stream: if chunk.choices and chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="", flush=True) print("\n")

Serverless

API access

INPUT$0.15 /1M
CACHED INPUT$0.04 /1M
OUTPUT$0.25 /1M
Deploy using API

Dedicated

Cloud GPU VM

Price starts at$1.25 / GPU/ hr
Deploy with GPU VM

Interactive

Playground

INPUT$0.15 /1M
CACHED INPUT$0.04 /1M
OUTPUT$0.25 /1M
Chat in Playground

Enterprise
Platform Integration

Docker

Docker Support

Official Docker images for containerized deployments

Kubernetes

Kubernetes Ready

Production-grade KBS manifests and Helm charts

SDK

SDK Libraries

Official SDKs for Python, Javascript, Go, and Java

Don't let your AI control you. Control your AI the Qubrid way!

Have questions? Want to Partner with us? Looking for larger deployments or custom fine-tuning? Let's collaborate on the right setup for your workloads.

"Qubrid helped us turn a collection of AI scripts into structured production workflows. We now have better reliability, visibility, and control over every run."

AI Infrastructure Team

Automation & Orchestration