File tree Expand file tree Collapse file tree
packages/types/src/providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,16 +18,19 @@ export const geminiModels = {
1818 defaultTemperature : 1 ,
1919 inputPrice : 4.0 ,
2020 outputPrice : 18.0 ,
21+ cacheReadsPrice : 0.4 ,
2122 tiers : [
2223 {
2324 contextWindow : 200_000 ,
2425 inputPrice : 2.0 ,
2526 outputPrice : 12.0 ,
27+ cacheReadsPrice : 0.2 ,
2628 } ,
2729 {
2830 contextWindow : Infinity ,
2931 inputPrice : 4.0 ,
3032 outputPrice : 18.0 ,
33+ cacheReadsPrice : 0.4 ,
3134 } ,
3235 ] ,
3336 } ,
@@ -41,10 +44,9 @@ export const geminiModels = {
4144
4245 supportsTemperature : true ,
4346 defaultTemperature : 1 ,
44- inputPrice : 0.3 ,
45- outputPrice : 2.5 ,
46- cacheReadsPrice : 0.075 ,
47- cacheWritesPrice : 1.0 ,
47+ inputPrice : 0.5 ,
48+ outputPrice : 3.0 ,
49+ cacheReadsPrice : 0.05 ,
4850 } ,
4951 // 2.5 Pro models
5052 "gemini-2.5-pro" : {
Original file line number Diff line number Diff line change @@ -18,16 +18,19 @@ export const vertexModels = {
1818 defaultTemperature : 1 ,
1919 inputPrice : 4.0 ,
2020 outputPrice : 18.0 ,
21+ cacheReadsPrice : 0.4 ,
2122 tiers : [
2223 {
2324 contextWindow : 200_000 ,
2425 inputPrice : 2.0 ,
2526 outputPrice : 12.0 ,
27+ cacheReadsPrice : 0.2 ,
2628 } ,
2729 {
2830 contextWindow : Infinity ,
2931 inputPrice : 4.0 ,
3032 outputPrice : 18.0 ,
33+ cacheReadsPrice : 0.4 ,
3134 } ,
3235 ] ,
3336 } ,
@@ -41,10 +44,9 @@ export const vertexModels = {
4144
4245 supportsTemperature : true ,
4346 defaultTemperature : 1 ,
44- inputPrice : 0.3 ,
45- outputPrice : 2.5 ,
46- cacheReadsPrice : 0.075 ,
47- cacheWritesPrice : 1.0 ,
47+ inputPrice : 0.5 ,
48+ outputPrice : 3.0 ,
49+ cacheReadsPrice : 0.05 ,
4850 } ,
4951 "gemini-2.5-flash-preview-05-20:thinking" : {
5052 maxTokens : 65_535 ,
You can’t perform that action at this time.
0 commit comments