Skip to content

Commit f8912eb

Browse files
authored
feat(api-nodes-pricing): add pricing for gemini-3-pro-preview model (#6735)
## Summary Pricing is a little bit higher then for `2.5` models: https://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models-3 ## Screenshots (if applicable) <img width="1202" height="821" alt="Screenshot From 2025-11-18 19-28-21" src="https://github.com/user-attachments/assets/c4a279f3-8981-4424-93c5-efa7b68f0578" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6735-feat-api-nodes-pricing-add-pricing-for-gemini-3-pro-preview-model-2af6d73d36508196afaedaf1eeb21c52) by [Unito](https://www.unito.io)
1 parent 80b87c1 commit f8912eb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/composables/node/useNodePricing.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,6 +1537,8 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
15371537
return '$0.00125/$0.01 per 1K tokens'
15381538
} else if (model.includes('gemini-2.5-pro')) {
15391539
return '$0.00125/$0.01 per 1K tokens'
1540+
} else if (model.includes('gemini-3-pro-preview')) {
1541+
return '$0.002/$0.012 per 1K tokens'
15401542
}
15411543
// For other Gemini models, show token-based pricing info
15421544
return 'Token-based'

tests-ui/tests/composables/node/useNodePricing.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,6 +1645,10 @@ describe('useNodePricing', () => {
16451645
model: 'gemini-2.5-pro',
16461646
expected: '$0.00125/$0.01 per 1K tokens'
16471647
},
1648+
{
1649+
model: 'gemini-3-pro-preview',
1650+
expected: '$0.002/$0.012 per 1K tokens'
1651+
},
16481652
{
16491653
model: 'gemini-2.5-flash-preview-04-17',
16501654
expected: '$0.0003/$0.0025 per 1K tokens'

0 commit comments

Comments
 (0)