Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 84 additions & 3 deletions packages/models/src/models/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const anthropicModels = [
requestPrice: 0,
contextSize: 200000,
reasoning: true,
maxOutput: undefined,
maxOutput: 64000,
streaming: true,
vision: false,
tools: true,
Expand All @@ -277,7 +277,64 @@ export const anthropicModels = [
cachedInputPrice: 0.3 / 1e6,
requestPrice: 0,
contextSize: 200000,
maxOutput: undefined,
maxOutput: 64000,
reasoning: true,
streaming: true,
vision: false,
tools: true,
discount: 0.5,
},
{
test: "skip",
providerId: "aws-bedrock",
modelName: "anthropic.claude-sonnet-4-5-20250929-v1:0",
inputPrice: 3.0 / 1e6,
outputPrice: 15.0 / 1e6,
requestPrice: 0,
contextSize: 200000,
maxOutput: 8192,
reasoning: true,
reasoningOutput: "omit",
streaming: true,
vision: false,
tools: true,
},
],
},
{
id: "claude-sonnet-4-5-20250929",
name: "Claude Sonnet 4.5 (2025-09-29)",
description:
"Latest Claude Sonnet with improved reasoning and extended thinking.",
family: "anthropic",
releasedAt: new Date("2025-09-29"),
publishedAt: new Date("2025-09-29"),
providers: [
{
test: "skip",
providerId: "anthropic",
modelName: "claude-sonnet-4-5-20250929",
inputPrice: 3.0 / 1e6,
outputPrice: 15.0 / 1e6,
cachedInputPrice: 0.3 / 1e6,
requestPrice: 0,
contextSize: 200000,
reasoning: true,
maxOutput: 64000,
streaming: true,
vision: false,
tools: true,
},
{
test: "skip",
providerId: "routeway-discount",
modelName: "claude-sonnet-4-5-20250929-v1:0",
inputPrice: 3.0 / 1e6,
outputPrice: 15.0 / 1e6,
cachedInputPrice: 0.3 / 1e6,
requestPrice: 0,
contextSize: 200000,
maxOutput: 64000,
reasoning: true,
streaming: true,
vision: false,
Expand Down Expand Up @@ -318,7 +375,31 @@ export const anthropicModels = [
cachedInputPrice: 0.1 / 1e6,
requestPrice: 0,
contextSize: 200000,
maxOutput: 8192,
maxOutput: 64000,
streaming: true,
vision: false,
tools: true,
},
],
},
{
id: "claude-haiku-4-5-20251001",
name: "Claude Haiku 4.5 (2025-10-01)",
description:
"Fast, efficient model for high-volume, low-latency applications.",
family: "anthropic",
releasedAt: new Date("2025-09-29"),
publishedAt: new Date("2025-09-29"),
Comment on lines +391 to +392

Copilot AI Dec 10, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The model ID and name indicate a release date of 2025-10-01, but the releasedAt and publishedAt fields are set to 2025-09-29. These dates should be consistent. Either update the dates to "2025-10-01" or use a different model ID/name that matches the September 29 release date.

Suggested change
releasedAt: new Date("2025-09-29"),
publishedAt: new Date("2025-09-29"),
releasedAt: new Date("2025-10-01"),
publishedAt: new Date("2025-10-01"),

Copilot uses AI. Check for mistakes.
providers: [
{
providerId: "anthropic",
modelName: "claude-haiku-4-5-20251001",
inputPrice: 1.0 / 1e6,
outputPrice: 5.0 / 1e6,
cachedInputPrice: 0.1 / 1e6,
requestPrice: 0,
contextSize: 200000,
maxOutput: 64000,
streaming: true,
vision: false,
tools: true,
Expand Down