
Gemini 1.5 Pro
by
Model ID:
gemini-1.5-pro
Overview
Gemini 1.5 Pro is a mid-sized multimodal model optimized for complex reasoning tasks. It can process large volumes of data, making it ideal for applications that require deep analysis and understanding, such as code generation and data extraction.
Specializations
Offers advanced capabilities for complex tasks, including improved reasoning and problem-solving skills.
Supports a broader range of applications, from creative writing to technical documentation.
Enhanced contextual awareness allows for more relevant and accurate outputs.
Integration Guide (Javascript)
To use this model through Portkey, follow these steps:
1. Install Portkey SDK:
npm install --save portkey-ai
2. Set up client with Portkey:
import Portkey from 'portkey-ai'
const portkey = new Portkey({
apiKey: "PORTKEY_API_KEY",
virtualKey: "VIRTUAL_KEY" // Google Virtual Key
})
3. Make a request:
const chatCompletion = await portkey.chat.completions.create({
messages: [
{ role: 'system', content: 'You are a helpful assistant' },
{ role: 'user', content: 'Explain machine learning briefly' }
],
model: 'gemini-pro',
});
console.log(chatCompletion.choices[0].message.content);
Live API Statistics and Performace Metrics
LMSys Arena Elo Score:
1259
Arena Score
LMSys Leaderboard Rank:
13
Arena Rank
Evaluates LLMs through a combination of user feedback and automated scoring systems.
HumanEval Leaderboard Score:
Leaderboard Score
71.9
%
A specific benchmark score measuring the model's accuracy in executing code generations.
Model Specifications
Release Date:
23/5/2024
Model Variants:
gemini-1.5-pro-latest
Max. Context Tokens:
2097K
Max. Output Tokens:
8K
Knowledge Cut-Off Date:
November 2023
MMLU:
75.8
%
License:
Proprietary
Technical Report/Model Card:
LMSys Elo Score
1259
Berkeley Function Calling Ability Score:
NaN
Pricing
$/Million Input Tokens
$
1.25
$/Million Output Tokens
$
5
Live updates via Portkey Pricing API. Coming Soon...
© 2024 Portkey, Inc. All rights reserved