Skip to content

Add context_over_200k for gemini-2.5-pro and adjust cache_read costs#1493

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
rovo89:patch-1
Apr 20, 2026
Merged

Add context_over_200k for gemini-2.5-pro and adjust cache_read costs#1493
rekram1-node merged 1 commit intoanomalyco:devfrom
rovo89:patch-1

Conversation

@rovo89
Copy link
Copy Markdown
Contributor

@rovo89 rovo89 commented Apr 19, 2026

@rekram1-node rekram1-node merged commit ccb8dcc into anomalyco:dev Apr 20, 2026
1 check passed
@rovo89 rovo89 deleted the patch-1 branch April 20, 2026 05:24
@rovo89
Copy link
Copy Markdown
Contributor Author

rovo89 commented Apr 20, 2026

@rekram1-node Thanks for merging! How long does it usually take for https://models.dev/api.json to reflect the changes? Currently, it doesn't even have the old cache_read cost, so my logic would price all input tokens at $1.25/M:

"gemini-2.5-pro": {
  "id": "gemini-2.5-pro",
  "name": "gemini-2.5-pro",
  "family": "gemini-pro",
  "attachment": true,
  "reasoning": false,
  "tool_call": true,
  "temperature": true,
  "knowledge": "2025-01",
  "release_date": "2025-06-17",
  "last_updated": "2025-06-17",
  "modalities": {
    "input": [
      "text",
      "image"
    ],
    "output": [
      "text"
    ]
  },
  "open_weights": false,
  "cost": {
    "input": 1.25,
    "output": 10
  },
  "limit": {
    "context": 1000000,
    "output": 65536
  }
},

EDIT: Sorry, I take that back. Just searched for "gemini-2.5-pro" and didn't notice it was for one of the many "resellers". The entry under "google" is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants