
Claude 3 Sonnet
by
Anthropic
Model ID:
claude-3-sonnet-20240229
Overview
Claude 3 Sonnet represents a significant leap forward in Anthropic's AI technology, offering a balance of intelligence, speed, and versatility. As part of the Claude 3 family, it introduces multi-modal capabilities while maintaining efficient performance for scaled deployments.
Specializations
Top-tier performance in reasoning, coding, and multilingual tasks.
Strong capabilities in long-context handling.
Vision capabilities for image understanding
Moderately fast response times, balancing speed and intelligence.
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" // Your Anthropic Virtual Key
})
3. Make a request:
const chatCompletion = await portkey.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'claude-3-sonnet-20240229,
maxTokens: 250 // Required field for Anthropic
});
console.log(chatCompletion.choices[0].message.content);
Live API Statistics and Performace Metrics
LMSys Arena Elo Score:
1201
Arena Score
LMSys Leaderboard Rank:
36
Arena Rank
Evaluates LLMs through a combination of user feedback and automated scoring systems.
HumanEval Leaderboard Score:
Leaderboard Score
73
%
A specific benchmark score measuring the model's accuracy in executing code generations.
Model Specifications
Release Date:
29/2/2024
Max. Context Tokens:
200K
Max. Output Tokens:
4K
Knowledge Cut-Off Date:
August 2023
MMLU:
79
%
License:
Proprietary
Technical Report/Model Card:
LMSys Elo Score
1201
Pricing
$/Million Input Tokens
$
3
$/Million Output Tokens
$
15
Live updates via Portkey Pricing API. Coming Soon...
© 2024 Portkey, Inc. All rights reserved