Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 style: update google provider model info #4129

Merged
merged 6 commits into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 53 additions & 62 deletions src/config/modelProviders/google.ts
arvinxx marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -16,78 +16,69 @@ const Google: ModelProviderCard = {
input: 0.075,
output: 0.3,
},
tokens: 1_048_576 + 8192,
tokens: 1_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Flash 0827 提供了优化后的多模态处理能力,适用多种复杂任务场景。',
displayName: 'Gemini 1.5 Flash 0827',
description: 'Gemini 1.5 Flash 002 是一款高效的多模态模型,支持广泛应用的扩展。',
displayName: 'Gemini 1.5 Flash 002',
enabled: true,
functionCall: true,
id: 'gemini-1.5-flash-exp-0827',
id: 'gemini-1.5-flash-002',
maxOutput: 8192,
pricing: {
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-08-27',
tokens: 1_048_576 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Flash 8B 0827 专为处理大规模任务场景设计,提供无与伦比的处理速度。',
displayName: 'Gemini 1.5 Flash 8B 0827',
functionCall: true,
id: 'gemini-1.5-flash-8b-exp-0827',
maxOutput: 8192,
releasedAt: '2024-08-27',
tokens: 1_048_576 + 8192,
releasedAt: '2024-09-25',
tokens: 1_000_000 + 8192,
vision: true,
},
{
description:
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
displayName: 'Gemini 1.5 Flash 8B 0924',
enabled: true,
description: 'Gemini 1.5 Flash 001 是一款高效的多模态模型,支持广泛应用的扩展。',
displayName: 'Gemini 1.5 Flash 001',
functionCall: true,
id: 'gemini-1.5-flash-8b-exp-0924',
id: 'gemini-1.5-flash-001',
maxOutput: 8192,
pricing: {
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-09-24',
tokens: 1_048_576 + 8192,
tokens: 1_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Flash 001 是一款高效的多模态模型,支持广泛应用的扩展。',
displayName: 'Gemini 1.5 Flash 001',
description: 'Gemini 1.5 Flash 0827 提供了优化后的多模态处理能力,适用多种复杂任务场景。',
displayName: 'Gemini 1.5 Flash 0827',
functionCall: true,
id: 'gemini-1.5-flash-001',
id: 'gemini-1.5-flash-exp-0827',
maxOutput: 8192,
pricing: {
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
tokens: 1_048_576 + 8192,
releasedAt: '2024-08-27',
tokens: 1_000_000 + 8192,
vision: true,
},

{
description: 'Gemini 1.5 Flash 002 是一款高效的多模态模型,支持广泛应用的扩展。',
displayName: 'Gemini 1.5 Flash 002',
description:
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
displayName: 'Gemini 1.5 Flash 8B 0924',
functionCall: true,
id: 'gemini-1.5-flash-002',
id: 'gemini-1.5-flash-8b-exp-0924',
arvinxx marked this conversation as resolved.
Show resolved Hide resolved
maxOutput: 8192,
pricing: {
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-09-25',
tokens: 1_048_576 + 8192,
releasedAt: '2024-09-24',
tokens: 1_000_000 + 8192,
vision: true,
},
{
Expand All @@ -104,69 +95,69 @@ const Google: ModelProviderCard = {
output: 10.5,
},
releasedAt: '2024-02-15',
tokens: 2_097_152 + 8192,
tokens: 2_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Pro 0827 结合最新优化技术,带来更高效的多模态数据处理能力。',
displayName: 'Gemini 1.5 Pro 0827',
description:
'Gemini 1.5 Pro 002 是最新的生产就绪模型,提供更高质量的输出,特别在数学、长上下文和视觉任务方面有显著提升。',
displayName: 'Gemini 1.5 Pro 002',
enabled: true,
functionCall: true,
id: 'gemini-1.5-pro-exp-0827',
id: 'gemini-1.5-pro-002',
maxOutput: 8192,
pricing: {
cachedInput: 0.875,
input: 3.5,
output: 10.5,
cachedInput: 0.315,
input: 1.25,
output: 2.5,
},
releasedAt: '2024-08-27',
tokens: 2_097_152 + 8192,
releasedAt: '2024-09-24',
tokens: 2_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Pro 0801 提供出色的多模态处理能力,为应用开发带来更大灵活性。',
displayName: 'Gemini 1.5 Pro 0801',
description: 'Gemini 1.5 Pro 001 是可扩展的多模态AI解决方案,支持广泛的复杂任务。',
displayName: 'Gemini 1.5 Pro 001',
functionCall: true,
id: 'gemini-1.5-pro-exp-0801',
id: 'gemini-1.5-pro-001',
maxOutput: 8192,
pricing: {
cachedInput: 0.875,
input: 3.5,
output: 10.5,
},
releasedAt: '2024-08-01',
tokens: 2_097_152 + 8192,
releasedAt: '2024-02-15',
tokens: 2_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Pro 001 是可扩展的多模态AI解决方案,支持广泛的复杂任务。',
displayName: 'Gemini 1.5 Pro 001',
description: 'Gemini 1.5 Pro 0827 结合最新优化技术,带来更高效的多模态数据处理能力。',
displayName: 'Gemini 1.5 Pro 0827',
functionCall: true,
id: 'gemini-1.5-pro-001',
id: 'gemini-1.5-pro-exp-0827',
maxOutput: 8192,
pricing: {
cachedInput: 0.875,
input: 3.5,
output: 10.5,
},
releasedAt: '2024-02-15',
tokens: 2_097_152 + 8192,
releasedAt: '2024-08-27',
tokens: 2_000_000 + 8192,
vision: true,
},
{
description:
'Gemini 1.5 Pro 002 是最新的生产就绪模型,提供更高质量的输出,特别在数学、长上下文和视觉任务方面有显著提升。',
displayName: 'Gemini 1.5 Pro 002',
enabled: true,
description: 'Gemini 1.5 Pro 0801 提供出色的多模态处理能力,为应用开发带来更大灵活性。',
displayName: 'Gemini 1.5 Pro 0801',
functionCall: true,
id: 'gemini-1.5-pro-002',
id: 'gemini-1.5-pro-exp-0801',
maxOutput: 8192,
pricing: {
cachedInput: 0.315,
input: 1.25,
output: 2.5,
cachedInput: 0.875,
input: 3.5,
output: 10.5,
},
releasedAt: '2024-09-24',
tokens: 2_097_152 + 8192,
releasedAt: '2024-08-01',
tokens: 2_000_000 + 8192,
vision: true,
},
{
Expand Down Expand Up @@ -210,7 +201,7 @@ const Google: ModelProviderCard = {
],
checkModel: 'gemini-1.5-flash-latest',
description:
'Google 的 Gemini 系列是其最先进、通用的 A I模型,由 Google DeepMind 打造,专为多模态设计,支持文本、代码、图像、音频和视频的无缝理解与处理。适用于从数据中心到移动设备的多种环境,极大提升了AI模型的效率与应用广泛性。',
'Google 的 Gemini 系列是其最先进、通用的 AI模型,由 Google DeepMind 打造,专为多模态设计,支持文本、代码、图像、音频和视频的无缝理解与处理。适用于从数据中心到移动设备的多种环境,极大提升了AI模型的效率与应用广泛性。',
id: 'google',
modelsUrl: 'https://ai.google.dev/gemini-api/docs/models/gemini',
name: 'Google',
Expand Down
Loading