Skip to content

Commit c231905

Browse files
colegottdankclaude
andcommitted
feat: add back gemini-3-flash-preview:helicone endpoint
pa/gemini-3-flash-preview is now available on the backend. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8791fa7 commit c231905

File tree

2 files changed

+67
-3
lines changed

2 files changed

+67
-3
lines changed

packages/__tests__/cost/__snapshots__/registrySnapshots.test.ts.snap

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,6 +2579,30 @@ exports[`Registry Snapshots endpoint configurations snapshot 1`] = `
25792579
"*",
25802580
],
25812581
},
2582+
"gemini-3-flash-preview:helicone": {
2583+
"context": 1048576,
2584+
"crossRegion": false,
2585+
"maxTokens": 65536,
2586+
"modelId": "pa/gemini-3-flash-preview",
2587+
"parameters": [
2588+
"include_reasoning",
2589+
"max_tokens",
2590+
"reasoning",
2591+
"response_format",
2592+
"seed",
2593+
"stop",
2594+
"structured_outputs",
2595+
"temperature",
2596+
"tool_choice",
2597+
"tools",
2598+
"top_p",
2599+
],
2600+
"provider": "helicone",
2601+
"ptbEnabled": true,
2602+
"regions": [
2603+
"*",
2604+
],
2605+
},
25822606
"gemini-3-flash-preview:openrouter": {
25832607
"context": 1048576,
25842608
"crossRegion": false,
@@ -7050,6 +7074,7 @@ exports[`Registry Snapshots model coverage snapshot 1`] = `
70507074
],
70517075
"google/gemini-3-flash-preview": [
70527076
"google-ai-studio",
7077+
"helicone",
70537078
"openrouter",
70547079
"vertex",
70557080
],
@@ -8612,6 +8637,13 @@ exports[`Registry Snapshots pricing snapshot 1`] = `
86128637
"threshold": 0,
86138638
},
86148639
],
8640+
"helicone": [
8641+
{
8642+
"input": 5e-7,
8643+
"output": 0.000003,
8644+
"threshold": 0,
8645+
},
8646+
],
86158647
"openrouter": [
86168648
{
86178649
"input": 5.275e-7,
@@ -9589,6 +9621,7 @@ exports[`Registry Snapshots verify registry state 1`] = `
95899621
"model": "gemini-3-flash-preview",
95909622
"providers": [
95919623
"google-ai-studio",
9624+
"helicone",
95929625
"openrouter",
95939626
"vertex",
95949627
],
@@ -10239,7 +10272,7 @@ exports[`Registry Snapshots verify registry state 1`] = `
1023910272
"provider": "groq",
1024010273
},
1024110274
{
10242-
"modelCount": 47,
10275+
"modelCount": 48,
1024310276
"provider": "helicone",
1024410277
},
1024510278
{
@@ -10390,8 +10423,8 @@ exports[`Registry Snapshots verify registry state 1`] = `
1039010423
"claude-3.5-haiku:anthropic:*",
1039110424
],
1039210425
"totalArchivedConfigs": 0,
10393-
"totalEndpoints": 311,
10394-
"totalModelProviderConfigs": 311,
10426+
"totalEndpoints": 312,
10427+
"totalModelProviderConfigs": 312,
1039510428
"totalModelsWithPtb": 104,
1039610429
"totalProviders": 21,
1039710430
}

packages/cost/models/authors/google/gemini-3-flash-preview/endpoints.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,37 @@ export const endpoints = {
116116
"*": {},
117117
},
118118
},
119+
"gemini-3-flash-preview:helicone": {
120+
provider: "helicone",
121+
author: "google",
122+
providerModelId: "pa/gemini-3-flash-preview",
123+
pricing: [
124+
{
125+
threshold: 0,
126+
input: 0.0000005, // $0.50/1M tokens (same as Google)
127+
output: 0.000003, // $3/1M tokens (same as Google)
128+
},
129+
],
130+
contextLength: 1_048_576,
131+
maxCompletionTokens: 65_536,
132+
supportedParameters: [
133+
"include_reasoning",
134+
"max_tokens",
135+
"reasoning",
136+
"response_format",
137+
"seed",
138+
"stop",
139+
"structured_outputs",
140+
"temperature",
141+
"tool_choice",
142+
"tools",
143+
"top_p",
144+
],
145+
ptbEnabled: true,
146+
endpointConfigs: {
147+
"*": {},
148+
},
149+
},
119150
} satisfies Partial<
120151
Record<`${Gemini3FlashPreviewModelName}:${ModelProviderName}`, ModelProviderConfig>
121152
>;

0 commit comments

Comments
 (0)