💄 style: add Gemini 3.0 Pro Preview to Google Provider (#10290)

* 💄 style: add Gemini 3.0 Pro Preview Thinking to Google Provider

* Update google.ts

* fix model id
This commit is contained in:
泠音
2025-11-19 09:59:36 +08:00
committed by GitHub
parent 2cd2ca9a23
commit 25c43587de

View File

@@ -113,6 +113,60 @@ const googleChatModels: AIChatModelCard[] = [
},
type: 'chat',
},
{
abilities: {
functionCall: true,
reasoning: true,
search: true,
video: true,
vision: true,
},
contextWindowTokens: 1_048_576 + 65_536,
description:
'Gemini 3.0 Pro Preview 是 Google 最先进的思维模型能够对代码、数学和STEM领域的复杂问题进行推理以及使用长上下文分析大型数据集、代码库和文档。',
displayName: 'Gemini 3.0 Pro Preview',
enabled: true,
id: 'gemini-3-pro-preview',
maxOutput: 65_536,
pricing: {
units: [
{
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
{ rate: 0.20, upTo: 200_000 },
{ rate: 0.40, upTo: 'infinity' },
],
unit: 'millionTokens',
},
{
name: 'textInput',
strategy: 'tiered',
tiers: [
{ rate: 2.0, upTo: 200_000 },
{ rate: 4.0, upTo: 'infinity' },
],
unit: 'millionTokens',
},
{
name: 'textOutput',
strategy: 'tiered',
tiers: [
{ rate: 12.0, upTo: 200_000 },
{ rate: 18.0, upTo: 'infinity' },
],
unit: 'millionTokens',
},
],
},
releasedAt: '2025-11-18',
settings: {
extendParams: ['thinkingBudget', 'urlContext'],
searchImpl: 'params',
searchProvider: 'google',
},
type: 'chat',
},
{
abilities: {
functionCall: true,