Skip to content

[fix] Update API node pricing for multiple providers #4564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 29, 2025

Conversation

christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jul 28, 2025

Updates API node pricing badges to fixed issues identified in QA testing:

  1. ✅ Kontext Image Pro/Max - Added pricing display ($0.04/Run for Pro, $0.08/Run for Max)
  2. ✅ Rodin nodes - Fixed all nodes to $0.4/Run
  3. ✅ Kling Image-to-image - Already correctly implemented at $0.028/Run for v1-5
  4. ✅ V3 node rendering_speed=quality - Fixed to $0.09/Run (was $0.08)
  5. ✅ Ideogram nodes - Added num_images handling and turbo pricing (V1: $0.02 turbo, $0.06 normal; V2: $0.05 turbo, $0.08 normal)
  6. ✅ PikaScene pricing - Fixed all display issues (720p 10s: $0.4, 1080p 5s: $0.5, 1080p 10s: $1.5, etc.)
  7. ✅ Luma Image nodes - Fixed pricing (photon-flash-1: $0.0019/Run, photon-1: $0.0073/Run)
  8. ✅ Luma Image to Video - Already correctly showing $0.35/Run for ray-1.6 720p 5s
  9. ✅ Gemini pricing - Updated to match Google Cloud docs (2.5-pro: $0.00016/$0.0006 per 1K, 2.5-flash: $0.00125/$0.01 per 1K)
  10. ✅ Tripo nodes - Kept complex pricing logic based on quad, style, texture, and texture_quality parameters

Resolves #4532.

┆Issue is synchronized with this Notion page by Unito

@christian-byrne christian-byrne requested review from a team as code owners July 28, 2025 23:11
Copy link

github-actions bot commented Jul 28, 2025

⚠️ Warnings

⚠️ Warning: E2E Test Coverage Missing

If this PR modifies behavior that can be covered by browser-based E2E tests, those tests are required. PRs lacking applicable test coverage may not be reviewed until added. Please add or update browser tests to ensure code quality and prevent regressions.

⚠️ Warning: Visual Documentation Missing

If this PR changes user-facing behavior, visual proof (screen recording or screenshot) is required. PRs without applicable visual documentation may not be reviewed until provided.
You can add it by:

  • GitHub: Drag & drop media directly into the PR description

  • YouTube: Include a link to a short demo

christian-byrne and others added 3 commits July 28, 2025 21:43
- Add Kontext Image Pro/Max pricing display (/bin/bash.04//bin/bash.08)
- Fix Rodin node pricing to /bin/bash.4/run for all variants
- Update Ideogram V1/V2 with turbo pricing support
- Fix PikaScene pricing display issues
- Update Luma Image node pricing (photon models)
- Update Gemini pricing to match Google Cloud docs
- Fix IdeogramV3 quality pricing (/bin/bash.09 for quality mode)
- Update tests to match new pricing logic
- Implement proper quad/style/texture-based pricing logic for Tripo nodes
- Update all Tripo tests to use new parameter structure
- Ensure all 126 pricing tests pass
- Fix formatting and lint issues
- Add TripoConvertModelNode ($0.10/Run)
- Add TripoRetargetRiggedModelNode ($0.10/Run)
- Add TripoMultiviewToModelNode with dynamic pricing ($0.20-$0.50/Run)
- Fix Runway duration pricing to correctly handle 0 duration (now $0.00/Run instead of defaulting to 5 seconds)
- Add helper function calculateRunwayDurationPrice for consistent behavior
- Update tests to verify new pricing logic

Co-Authored-By: Claude <noreply@anthropic.com>
@christian-byrne christian-byrne force-pushed the fix/api-node-price-updates branch from 1573481 to 0f8a6bc Compare July 29, 2025 04:46
@christian-byrne christian-byrne merged commit b1fc884 into main Jul 29, 2025
12 checks passed
@christian-byrne christian-byrne deleted the fix/api-node-price-updates branch July 29, 2025 06:01
@christian-byrne christian-byrne mentioned this pull request Jul 29, 2025
3 tasks
@jojodecayz
Copy link
Contributor

All the current fixes look good to me.
Ish just added the Veo 3 node. I would like to test that as well so we can publish the price display altogether.

christian-byrne added a commit that referenced this pull request Aug 4, 2025
Co-authored-by: Claude <noreply@anthropic.com>
christian-byrne added a commit that referenced this pull request Aug 4, 2025
Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: API nodes price badge display errors
2 participants