mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
Add Gemini 3 Pro Preview model (#9357)
This commit is contained in:
parent
f8d6e12aa7
commit
9538d82333
2 changed files with 48 additions and 0 deletions
|
|
@ -6,6 +6,30 @@ export type GeminiModelId = keyof typeof geminiModels
|
|||
export const geminiDefaultModelId: GeminiModelId = "gemini-2.5-pro"
|
||||
|
||||
export const geminiModels = {
|
||||
"gemini-3-pro-preview": {
|
||||
maxTokens: 65_536,
|
||||
contextWindow: 1_048_576,
|
||||
supportsImages: true,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: ["low", "high"],
|
||||
reasoningEffort: "low",
|
||||
supportsTemperature: true,
|
||||
defaultTemperature: 1,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
tiers: [
|
||||
{
|
||||
contextWindow: 200_000,
|
||||
inputPrice: 2.0,
|
||||
outputPrice: 12.0,
|
||||
},
|
||||
{
|
||||
contextWindow: Infinity,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
},
|
||||
],
|
||||
},
|
||||
// 2.5 Pro models
|
||||
"gemini-2.5-pro": {
|
||||
maxTokens: 64_000,
|
||||
|
|
|
|||
|
|
@ -6,6 +6,30 @@ export type VertexModelId = keyof typeof vertexModels
|
|||
export const vertexDefaultModelId: VertexModelId = "claude-sonnet-4-5@20250929"
|
||||
|
||||
export const vertexModels = {
|
||||
"gemini-3-pro-preview": {
|
||||
maxTokens: 65_536,
|
||||
contextWindow: 1_048_576,
|
||||
supportsImages: true,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: ["low", "high"],
|
||||
reasoningEffort: "low",
|
||||
supportsTemperature: true,
|
||||
defaultTemperature: 1,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
tiers: [
|
||||
{
|
||||
contextWindow: 200_000,
|
||||
inputPrice: 2.0,
|
||||
outputPrice: 12.0,
|
||||
},
|
||||
{
|
||||
contextWindow: Infinity,
|
||||
inputPrice: 4.0,
|
||||
outputPrice: 18.0,
|
||||
},
|
||||
],
|
||||
},
|
||||
"gemini-2.5-flash-preview-05-20:thinking": {
|
||||
maxTokens: 65_535,
|
||||
contextWindow: 1_048_576,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue