Skip to content

Commit 64a8f60

Browse files
committed
improvement(models): added 3.5 sonnet
1 parent e6413ca commit 64a8f60

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

sim/providers/anthropic/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const anthropicProvider: ProviderConfig = {
1010
name: 'Anthropic',
1111
description: "Anthropic's Claude models",
1212
version: '1.0.0',
13-
models: ['claude-3-7-sonnet-20250219'],
13+
models: ['claude-3-5-sonnet-20240620', 'claude-3-7-sonnet-20250219'],
1414
defaultModel: 'claude-3-7-sonnet-20250219',
1515

1616
executeRequest: async (request: ProviderRequest): Promise<ProviderResponse> => {

sim/providers/model-capabilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const MODELS_TEMP_RANGE_0_2 = [
1717
// Models that support temperature with range 0-1
1818
export const MODELS_TEMP_RANGE_0_1 = [
1919
// Anthropic models
20+
'claude-3-5-sonnet-20240620',
2021
'claude-3-7-sonnet-20250219',
2122
// xAI models
2223
'grok-2-latest',

sim/providers/pricing.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ const modelPricing: ModelPricingMap = {
2828
},
2929

3030
// Anthropic Models
31+
'claude-3-5-sonnet-20240620': {
32+
input: 3.0,
33+
cachedInput: 1.5,
34+
output: 15.0,
35+
updatedAt: '2024-06-20',
36+
},
3137
'claude-3-7-sonnet-20250219': {
3238
input: 3.0,
3339
cachedInput: 1.5,

sim/providers/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const providers: Record<
3030
},
3131
anthropic: {
3232
...anthropicProvider,
33-
models: ['claude-3-7-sonnet-20250219'],
33+
models: ['claude-3-5-sonnet-20240620', 'claude-3-7-sonnet-20250219'],
3434
modelPatterns: [/^claude/],
3535
},
3636
google: {

0 commit comments

Comments
 (0)