Skip to content

Commit a117b31

Browse files
authored
Remove Anthropic -latest models (#224)
Anthropic doesn't have the `-latest` aliases for these two models anymore, so we should just use the versioned names https://docs.anthropic.com/en/docs/about-claude/models/all-models
1 parent a263e1b commit a117b31

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

packages/proxy/schema/models.ts

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -612,37 +612,21 @@ export const AvailableModels: { [name: string]: ModelSpec } = {
612612
output_cost_per_mil_tokens: 75,
613613
parent: "claude-3-opus-latest",
614614
},
615-
"claude-3-sonnet-latest": {
616-
format: "anthropic",
617-
flavor: "chat",
618-
multimodal: true,
619-
input_cost_per_mil_tokens: 3,
620-
output_cost_per_mil_tokens: 15,
621-
displayName: "Claude 3 Sonnet",
622-
},
623615
"claude-3-sonnet-20240229": {
624616
format: "anthropic",
625617
flavor: "chat",
626618
multimodal: true,
627619
input_cost_per_mil_tokens: 3,
628620
output_cost_per_mil_tokens: 15,
629-
parent: "claude-3-sonnet-latest",
630-
},
631-
"claude-3-haiku-latest": {
632-
format: "anthropic",
633-
flavor: "chat",
634-
multimodal: true,
635-
input_cost_per_mil_tokens: 0.25,
636-
output_cost_per_mil_tokens: 1.25,
637-
displayName: "Claude 3 Haiku",
621+
displayName: "Claude 3 Sonnet",
638622
},
639623
"claude-3-haiku-20240307": {
640624
format: "anthropic",
641625
flavor: "chat",
642626
multimodal: true,
643627
input_cost_per_mil_tokens: 0.25,
644628
output_cost_per_mil_tokens: 1.25,
645-
parent: "claude-3-haiku-latest",
629+
displayName: "Claude 3 Haiku",
646630
},
647631
// Anthropic deprecated.
648632
"claude-instant-1.2": {

0 commit comments

Comments
 (0)