Skip to content
13 changes: 13 additions & 0 deletions packages/types/src/providers/gemini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ export type GeminiModelId = keyof typeof geminiModels
export const geminiDefaultModelId: GeminiModelId = "gemini-3.1-pro-preview"

export const geminiModels = {
"gemini-3.5-flash": {
maxTokens: 65_536,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
reasoningEffort: "medium",
inputPrice: 1.5,
outputPrice: 9,
cacheReadsPrice: 0.15,
cacheWritesPrice: 0.083,
Comment thread
jeanbispo marked this conversation as resolved.
Outdated
supportsReasoningBudget: false,
},
"gemini-3.1-pro-preview": {
maxTokens: 65_536,
contextWindow: 1_048_576,
Expand Down
13 changes: 13 additions & 0 deletions packages/types/src/providers/vertex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ export type VertexModelId = keyof typeof vertexModels
export const vertexDefaultModelId: VertexModelId = "claude-sonnet-4-5@20250929"

export const vertexModels = {
"gemini-3.5-flash": {
maxTokens: 65_536,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: true,
supportsReasoningEffort: ["minimal", "low", "medium", "high"],
reasoningEffort: "medium",
inputPrice: 1.5,
outputPrice: 9,
cacheReadsPrice: 0.15,
cacheWritesPrice: 0.083,
Comment thread
jeanbispo marked this conversation as resolved.
Outdated
supportsReasoningBudget: false,
},
"gemini-3.1-pro-preview": {
maxTokens: 65_536,
contextWindow: 1_048_576,
Expand Down
Loading