Skip to content

Commit 662be08

Browse files
feat: add Helicone gateway endpoint for Claude Sonnet 4.6 (#5581)
providerModelId: pa/claude-sonnet-4-6
1 parent c231905 commit 662be08

File tree

1 file changed

+39
-0
lines changed
  • packages/cost/models/authors/anthropic/claude-4.6-sonnet

1 file changed

+39
-0
lines changed

packages/cost/models/authors/anthropic/claude-4.6-sonnet/endpoints.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,45 @@ export const endpoints = {
128128
"us-east-1": {},
129129
},
130130
},
131+
132+
"claude-4.6-sonnet:helicone": {
133+
provider: "helicone",
134+
author: "anthropic",
135+
providerModelId: "pa/claude-sonnet-4-6",
136+
pricing: [
137+
{
138+
threshold: 0,
139+
input: 0.000003, // $3 / MTok
140+
output: 0.000015, // $15 / MTok
141+
cacheMultipliers: {
142+
cachedInput: 0.1, // $0.30 / MTok (10% of $3)
143+
write5m: 1.25, // $3.75 / MTok (125% of $3)
144+
write1h: 2.0, // $6.00 / MTok (200% of $3)
145+
},
146+
},
147+
{
148+
threshold: 200000,
149+
input: 0.000006, // $6 / MTok
150+
output: 0.0000225, // $22.50 / MTok
151+
},
152+
],
153+
contextLength: 1000000,
154+
maxCompletionTokens: 64000,
155+
supportedParameters: [
156+
"max_tokens",
157+
"temperature",
158+
"stop",
159+
"reasoning",
160+
"include_reasoning",
161+
"tools",
162+
"tool_choice",
163+
],
164+
ptbEnabled: true,
165+
responseFormat: "ANTHROPIC",
166+
endpointConfigs: {
167+
"*": {},
168+
},
169+
},
131170
} satisfies Partial<
132171
Record<
133172
`${ClaudeSonnet46ModelName}:${ModelProviderName}`,

0 commit comments

Comments
 (0)