gemini

gemini-2.5-pro-preview

completions

Gemini 2.5 Pro Experimental is Google's state-of-the-art thinking model, capable of reasoning over complex problems in code, math, and STEM, as well as analyzing large datasets, codebases, and documents using long context.

Input:$1.25 / 1M tokens
Output:$10 / 1M tokens
Context:1M tokens
tools
text
image
audio
video
text
Category Rankings
science#2
vision#2

Access gemini-2.5-pro-preview through LangDB AI Gateway

Recommended

Integrate with gemini's gemini-2.5-pro-preview and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Code Example
Configuration
Base URL
API Keys
Headers
Project ID in header
X-Run-Id
X-Thread-Id
Model Parameters
9 available
max_tokens
response_format
seed
stop
structured_outputs
temperature
012
tool_choice
tools
top_p
011
Additional Configuration
Tools
Guards
User:
Id:
Name:
Tags:
Publicly Shared Threads5
  • gemini
    Minimum total crossing time is 17 minutes: A&B cross, A returns, C&D cross, B returns, A&B cross again.
    bridge crossing puzzle
    minimum crossing time
    flashlight bridge problem
    optimal crossing strategy
  • gemini
    Solved Emily and Derek's ages using algebra: Emily is 16 and Derek is 8, verified by original conditions.
    age problems
    algebra age word problem
    solving system of equations
    age verification math
  • gemini
    A complete HTML/CSS-only image slider using hidden radios and labels as prev/next buttons with fade transitions and stacked images.
    css image slider
    html css image carousel
    radio button image slider
    css only image slideshow
  • gemini
    Calculates when and where two trains traveling toward each other meet, accounting for a 1-hour head start and constant speeds, with full step-by-step work.
    train meeting time calculation
    relative speed trains
    distance and time trains meet
    train head start problem
  • gemini
    The substring "issi" appears 2 times in "Mississippi is famous for its river.", starting at indices 1 and 4, counting overlaps by scanning each character.
    substring occurrence count
    overlapping substrings
    character index substring search
    mississippi substring analysis
Popular Models10
  • anthropic
    anthropic
    Our high-performance model with exceptional reasoning and efficiency
    Input:$3 / 1M tokens
    Output:$15 / 1M tokens
    Context:200K tokens
    tools
    text
    image
    text
  • anthropic
    claude-opus-4
    anthropic
    Our most capable and intelligent model yet. Claude Opus 4 sets new standards in complex reasoning and advanced coding
    Input:$15 / 1M tokens
    Output:$75 / 1M tokens
    Context:200K tokens
    tools
    text
    image
    text
  • gemini
    Gemini 2.5 Pro is our most advanced reasoning Gemini model, capable of solving complex problems.
    Input:$1.25 / 1M tokens
    Output:$10 / 1M tokens
    Context:1M tokens
    tools
    text
    image
    audio
    video
    text
  • openai
    gpt-4.1
    openai
    GPT-4.1 is OpenAI's flagship model for complex tasks. It is well suited for problem solving across domains.
    Input:$2 / 1M tokens
    Output:$8 / 1M tokens
    Context:1047576 tokens
    tools
    text
    image
    text
  • gemini
    Gemini 2.5 Pro Experimental is Google's state-of-the-art thinking model, capable of reasoning over complex problems in code, math, and STEM, as well as analyzing large datasets, codebases, and documents using long context.
    Input:$1.25 / 1M tokens
    Output:$10 / 1M tokens
    Context:1M tokens
    tools
    text
    image
    audio
    video
    text
  • xai
    Grok 4 is the latest and greatest flagship model, offering unparalleled performance in natural language, math and reasoning - the perfect jack of all trades.
    Input:$3 / 1M tokens
    Output:$15 / 1M tokens
    Context:256K tokens
    tools
    text
    text
  • gemini
    Google's best model in terms of price-performance, offering well-rounded capabilities.
    Input:$0.15 / 1M tokens
    Output:$0.6 / 1M tokens
    Context:1M tokens
    tools
    text
    image
    audio
    video
    text
  • gemini
    Google's best model in terms of price-performance, offering well-rounded capabilities. Gemini 2.5 Flash rate limits are more restricted since it is an experimental / preview model.
    Input:$0.15 / 1M tokens
    Output:$0.6 / 1M tokens
    Context:1M tokens
    tools
    text
    image
    audio
    video
    text
  • gemini
    Google's most capable multi-modal model with great performance across all tasks, with a 1 million token context window, and built for the era of Agents.
    Input:$0.1 / 1M tokens
    Output:$0.4 / 1M tokens
    Context:1M tokens
    tools
    text
    image
    audio
    video
    text
  • anthropic
    Intelligent model, with visible step‑by‑step reasoning
    Input:$3 / 1M tokens
    Output:$15 / 1M tokens
    Context:200K tokens
    tools
    text
    text
    image