Skip to content

Commit

Permalink
💄 style: Add gemini-exp-1114 model (#4702)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjeru authored Nov 16, 2024
1 parent 3e63e5b commit b3306f2
Showing 1 changed file with 36 additions and 63 deletions.
99 changes: 36 additions & 63 deletions src/config/modelProviders/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ import { ModelProviderCard } from '@/types/llm';
// ref: https://ai.google.dev/gemini-api/docs/models/gemini
const Google: ModelProviderCard = {
chatModels: [
{
description:
'Gemini Exp 1114 是Google最新的实验性多模态AI模型,具备快速处理能力,支持文本、图像和视频输入,适用于多种任务的高效扩展。',
displayName: 'Gemini Experimental 1114',
enabled: true,
functionCall: true,
id: 'gemini-exp-1114',
maxOutput: 8192,
pricing: {
cachedInput: 0,
input: 0,
output: 0,
},
releasedAt: '2024-11-14',
tokens: 32_767 + 8192,
vision: true,
},
{
description:
'Gemini 1.5 Flash 是Google最新的多模态AI模型,具备快速处理能力,支持文本、图像和视频输入,适用于多种任务的高效扩展。',
Expand Down Expand Up @@ -49,53 +66,6 @@ const Google: ModelProviderCard = {
tokens: 1_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Flash 0827 提供了优化后的多模态处理能力,适用多种复杂任务场景。',
displayName: 'Gemini 1.5 Flash 0827',
functionCall: true,
id: 'gemini-1.5-flash-exp-0827',
maxOutput: 8192,
pricing: {
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-08-27',
tokens: 1_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Flash 8B 是一款高效的多模态模型,支持广泛应用的扩展。',
displayName: 'Gemini 1.5 Flash 8B',
enabled: true,
functionCall: true,
id: 'gemini-1.5-flash-8b',
maxOutput: 8192,
pricing: {
cachedInput: 0.02,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-10-03',
tokens: 1_000_000 + 8192,
vision: true,
},
{
description:
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
displayName: 'Gemini 1.5 Flash 8B 0924',
functionCall: true,
id: 'gemini-1.5-flash-8b-exp-0924',
maxOutput: 8192,
pricing: {
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-09-24',
tokens: 1_000_000 + 8192,
vision: true,
},
{
description:
'Gemini 1.5 Pro 支持高达200万个tokens,是中型多模态模型的理想选择,适用于复杂任务的多方面支持。',
Expand Down Expand Up @@ -146,35 +116,38 @@ const Google: ModelProviderCard = {
vision: true,
},
{
description: 'Gemini 1.5 Pro 0827 结合最新优化技术,带来更高效的多模态数据处理能力。',
displayName: 'Gemini 1.5 Pro 0827',
description: 'Gemini 1.5 Flash 8B 是一款高效的多模态模型,支持广泛应用的扩展。',
displayName: 'Gemini 1.5 Flash 8B',
enabled: true,
functionCall: true,
id: 'gemini-1.5-pro-exp-0827',
id: 'gemini-1.5-flash-8b',
maxOutput: 8192,
pricing: {
cachedInput: 0.875,
input: 3.5,
output: 10.5,
cachedInput: 0.02,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-08-27',
tokens: 2_000_000 + 8192,
releasedAt: '2024-10-03',
tokens: 1_000_000 + 8192,
vision: true,
},
{
description: 'Gemini 1.5 Pro 0801 提供出色的多模态处理能力,为应用开发带来更大灵活性。',
displayName: 'Gemini 1.5 Pro 0801',
description:
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
displayName: 'Gemini 1.5 Flash 8B 0924',
functionCall: true,
id: 'gemini-1.5-pro-exp-0801',
id: 'gemini-1.5-flash-8b-exp-0924',
maxOutput: 8192,
pricing: {
cachedInput: 0.875,
input: 3.5,
output: 10.5,
cachedInput: 0.018_75,
input: 0.075,
output: 0.3,
},
releasedAt: '2024-08-01',
tokens: 2_000_000 + 8192,
releasedAt: '2024-09-24',
tokens: 1_000_000 + 8192,
vision: true,
},
// Gemini 1.0 Pro will be removed on 2025.02.15
{
description: 'Gemini 1.0 Pro 是Google的高性能AI模型,专为广泛任务扩展而设计。',
displayName: 'Gemini 1.0 Pro',
Expand Down

0 comments on commit b3306f2

Please sign in to comment.