mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: correct Gemini 3 pricing for Flash and Pro models (#10487)
Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
6e009971d9
commit
763734a193
2 changed files with 12 additions and 8 deletions
|
|
@ -18,16 +18,19 @@ export const geminiModels = {
|
|||
defaultTemperature: 1,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
cacheReadsPrice: 0.4,
|
||||
tiers: [
|
||||
{
|
||||
contextWindow: 200_000,
|
||||
inputPrice: 2.0,
|
||||
outputPrice: 12.0,
|
||||
cacheReadsPrice: 0.2,
|
||||
},
|
||||
{
|
||||
contextWindow: Infinity,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
cacheReadsPrice: 0.4,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -41,10 +44,9 @@ export const geminiModels = {
|
|||
|
||||
supportsTemperature: true,
|
||||
defaultTemperature: 1,
|
||||
inputPrice: 0.3,
|
||||
outputPrice: 2.5,
|
||||
cacheReadsPrice: 0.075,
|
||||
cacheWritesPrice: 1.0,
|
||||
inputPrice: 0.5,
|
||||
outputPrice: 3.0,
|
||||
cacheReadsPrice: 0.05,
|
||||
},
|
||||
// 2.5 Pro models
|
||||
"gemini-2.5-pro": {
|
||||
|
|
|
|||
|
|
@ -18,16 +18,19 @@ export const vertexModels = {
|
|||
defaultTemperature: 1,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
cacheReadsPrice: 0.4,
|
||||
tiers: [
|
||||
{
|
||||
contextWindow: 200_000,
|
||||
inputPrice: 2.0,
|
||||
outputPrice: 12.0,
|
||||
cacheReadsPrice: 0.2,
|
||||
},
|
||||
{
|
||||
contextWindow: Infinity,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
cacheReadsPrice: 0.4,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -41,10 +44,9 @@ export const vertexModels = {
|
|||
|
||||
supportsTemperature: true,
|
||||
defaultTemperature: 1,
|
||||
inputPrice: 0.3,
|
||||
outputPrice: 2.5,
|
||||
cacheReadsPrice: 0.075,
|
||||
cacheWritesPrice: 1.0,
|
||||
inputPrice: 0.5,
|
||||
outputPrice: 3.0,
|
||||
cacheReadsPrice: 0.05,
|
||||
},
|
||||
"gemini-2.5-flash-preview-05-20:thinking": {
|
||||
maxTokens: 65_535,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue