feat(models): add gemini 3.5 flash (#4660)

This commit is contained in:
Waleed
2026-05-19 11:19:44 -07:00
committed by GitHub
parent 279010a2e7
commit 3930485dff
+38 -1
View File
@@ -1204,6 +1204,26 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
icon: GeminiIcon,
color: '#4285F4',
models: [
{
id: 'gemini-3.5-flash',
pricing: {
input: 1.5,
cachedInput: 0.15,
output: 9.0,
updatedAt: '2026-05-19',
},
capabilities: {
temperature: { min: 0, max: 2 },
thinking: {
levels: ['minimal', 'low', 'medium', 'high'],
default: 'medium',
},
maxOutputTokens: 65536,
},
contextWindow: 1048576,
releaseDate: '2026-05-19',
recommended: true,
},
{
id: 'gemini-3.1-pro-preview',
pricing: {
@@ -1222,7 +1242,6 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
},
contextWindow: 1048576,
releaseDate: '2026-02-19',
recommended: true,
},
{
id: 'gemini-3.1-flash-lite-preview',
@@ -1366,6 +1385,24 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
toolUsageControl: true,
},
models: [
{
id: 'vertex/gemini-3.5-flash',
pricing: {
input: 1.5,
cachedInput: 0.15,
output: 9.0,
updatedAt: '2026-05-19',
},
capabilities: {
temperature: { min: 0, max: 2 },
thinking: {
levels: ['minimal', 'low', 'medium', 'high'],
default: 'medium',
},
},
contextWindow: 1048576,
releaseDate: '2026-05-19',
},
{
id: 'vertex/gemini-3.1-pro-preview',
pricing: {