Update Gemini prices when temporary offers end

Abierto
#2,642 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
40/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api

Línea de trabajo

The prices to change are in packages/types/src/providers/gemini.ts and packages/types/src/providers/vertex.ts, and the catalog tests hold the price assertions. Nothing should change before the dates in the table (2026-12-01 for Carbon, 2027-01-01 for Flash), so first check current provider prices at the two linked Google AI Studio pages and confirm the Vertex values separately. Done means both catalogs carry the post-offer prices, the dated TODOs are removed, and the focused catalog tests and package type checks pass.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

PR #2640 adds temporary prices for Gemini 4 Carbon and Gemini 3.8 Flash. Update these prices when each offer ends.

Prices below are USD per million tokens.

Model Update date Input Output Cache reads
Gemini 4 Carbon 2026-12-01 $4.00 $20.00 $0.20
Gemini 3.8 Flash 2027-01-01 $1.50 $7.50 $0.15

These target prices come from issue #2067. Verify current provider prices before each update. Vertex prices currently use Gemini API values and need separate verification.

  • On 2026-12-01, verify Carbon prices and update the Gemini and Vertex catalogs.
  • On 2027-01-01, verify Flash prices and update the Gemini and Vertex catalogs.
  • Update any price assertions in the catalog tests.
  • Run the focused catalog tests and package type checks.
  • Remove each dated TODO after its update.

Files: packages/types/src/providers/gemini.ts and packages/types/src/providers/vertex.ts.

Sources: https://aistudio.google.com/docs/models/gemini-4-carbon and https://aistudio.google.com/docs/models/gemini-3.8-flash.

Lenguaje dominante
TypeScript
Estrellas
2k
Forks
301
Merge medio
3 d 14 h
PR fusionados (30 d)
103

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Zoo-Code-Org/Zoo-Code

Todos los issues de Zoo-Code-Org/Zoo-Code

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.