Skip to content

Promt Caching for Gemini 2.5 Flash #2989

@c0va23

Description

@c0va23

App Version

3.14.3

API Provider

OpenRouter

Model Used

Gemini 2.5 Flash

Actual vs. Expected Behavior

Looks like Gemini 2.5 Flash on the OpenRouter provider is missing the prompt caching feature. The thinking version of the model also misses this feature.

The official OpenRouter X says that almost all Gemini Models support prompt caching (including Gemini 2.5 Flash).

Detailed Steps to Reproduce

  1. Select OpenRouter provider
  2. Select google/gemini-2.5-flash-preview model
  3. After we see "Does not support prompt caching"
  4. And we don't see "Enable prompt caching" checkbox

Image

Relevant API Request Output

Additional Context

Gemini 2.5 Pro and Gemini 2.0 Flash models support the prompt caching feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions