Skip to content

feat(cost): add Gemini 3.1 Pro Preview model support#5590

Merged
chitalian merged 1 commit intoHelicone:mainfrom
ink-the-squid:ink/add-gemini-3.1-pro
Feb 20, 2026
Merged

feat(cost): add Gemini 3.1 Pro Preview model support#5590
chitalian merged 1 commit intoHelicone:mainfrom
ink-the-squid:ink/add-gemini-3.1-pro

Conversation

@ink-the-squid
Copy link
Contributor

Summary

Add Google Gemini 3.1 Pro Preview (released today, Feb 19, 2026) — Google's new SOTA model with 77.1% on ARC-AGI-2 (2x+ over Gemini 3 Pro).

Pricing (same as Gemini 3 Pro)

  • ≤ 200K tokens: $2/MTok input, $12/MTok output
  • > 200K tokens: $4/MTok input, $18/MTok output
  • Cache read: $0.20/MTok, Cache storage: $4.50/MTok/hr

Model Details

  • Context window: 1M tokens
  • Max output: 64K tokens
  • API model name: gemini-3.1-pro-preview
  • Providers: Google AI Studio, Vertex AI, OpenRouter, Helicone

Changes

  • New: packages/cost/models/authors/google/gemini-3.1-pro/ (model.ts + endpoints.ts)
  • Modified: Google author index, legacy provider costs, unified models
  • Updated: registry snapshots

All tests pass locally including snapshot tests.

Add Google Gemini 3.1 Pro Preview (released Feb 19, 2026) with support for
Google AI Studio, Vertex AI, OpenRouter, and Helicone providers.

Pricing: $2/$12 per MTok (≤200K), $4/$18 per MTok (>200K)
Context: 1M tokens, Max output: 64K tokens
API model name: gemini-3.1-pro-preview

Includes updated registry snapshots.
@vercel
Copy link

vercel bot commented Feb 19, 2026

@ink-the-squid is attempting to deploy a commit to the Helicone Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@chitalian chitalian merged commit fa2d8c4 into Helicone:main Feb 20, 2026
7 of 11 checks passed
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.

3 participants