Skip to content

Commit 86e6e7b

Browse files
authored
add pricing for new Veo3.1 model (#6074)
## Summary The prices for Veo3.1 are the same as the existing Veo3, just added a new model via `||` ## Screenshots (if applicable) <img width="1125" height="1077" alt="Screenshot From 2025-10-15 20-39-37" src="https://github.com/user-attachments/assets/441cba83-cdd7-4bae-af0a-259c2dd38a59" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6074-add-pricing-for-new-Veo3-1-model-28d6d73d3650817b8bb8ea7442ff3e1a) by [Unito](https://www.unito.io)
1 parent fb3ab88 commit 86e6e7b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/composables/node/useNodePricing.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,9 +1141,15 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
11411141
const generateAudio =
11421142
String(generateAudioWidget.value).toLowerCase() === 'true'
11431143

1144-
if (model.includes('veo-3.0-fast-generate-001')) {
1144+
if (
1145+
model.includes('veo-3.0-fast-generate-001') ||
1146+
model.includes('veo-3.1-fast-generate')
1147+
) {
11451148
return generateAudio ? '$1.20/Run' : '$0.80/Run'
1146-
} else if (model.includes('veo-3.0-generate-001')) {
1149+
} else if (
1150+
model.includes('veo-3.0-generate-001') ||
1151+
model.includes('veo-3.1-generate')
1152+
) {
11471153
return generateAudio ? '$3.20/Run' : '$1.60/Run'
11481154
}
11491155

0 commit comments

Comments
 (0)