Skip to content

feat(cost): add Starveri API cost mapping#5704

Open
Harsh23Kashyap wants to merge 3 commits into
Helicone:mainfrom
Harsh23Kashyap:feat/starveri-cost-mapping
Open

feat(cost): add Starveri API cost mapping#5704
Harsh23Kashyap wants to merge 3 commits into
Helicone:mainfrom
Harsh23Kashyap:feat/starveri-cost-mapping

Conversation

@Harsh23Kashyap

Copy link
Copy Markdown

Summary

Adds Starveri as a cost provider in packages/cost so requests routed through https://api.starveri.net get priced instead of showing unsupported or zero cost.

Closes #5692

Changes

  • Register starveri provider with api.starveri.net URL detection
  • Add endpoint pricing for all six public Starveri models from https://api.starveri.net/models
  • Add registry entries for gpt-5.3-codex, gpt-5.3-codex-spark, gpt-5.4-mini, and gpt-5.5

Test plan

  • cd packages && npx jest __tests__/cost/registrySnapshots.test.ts __tests__/cost/modelCostFromRegistry.test.ts

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Helicone Team on Vercel.

A member of the Team first needs to authorize it.

@Harsh23Kashyap

Copy link
Copy Markdown
Author

Branch is current with main. Fork Vercel checks are blocked on deploy authorization. Please review when you have a chance.

@Harsh23Kashyap

Copy link
Copy Markdown
Author

Status update on the Starveri cost mapping PR.

This adds Starveri as a provider in packages/cost with URL mappings and endpoint pricing for six models from https://api.starveri.net/models. The work is split across three commits: provider setup, endpoint pricing, and registry snapshot tests.

Local verification: cd packages && npx jest __tests__/cost/registrySnapshots.test.ts __tests__/cost/modelCostFromRegistry.test.ts — 24 passed.

Branch is synced with main (behind_by: 0). Fork Vercel checks still need deploy authorization from the Helicone team — same pattern as my other open PRs on this repo.

Fixes #5692. Please review when you have a chance. I can adjust model coverage or pricing structure if anything looks off.

@Harsh23Kashyap

Copy link
Copy Markdown
Author

Can someone take a look when you have a chance?

4 similar comments
@Harsh23Kashyap

Copy link
Copy Markdown
Author

Can someone take a look when you have a chance?

@Harsh23Kashyap

Copy link
Copy Markdown
Author

Can someone take a look when you have a chance?

@Harsh23Kashyap

Copy link
Copy Markdown
Author

Can someone take a look when you have a chance?

@Harsh23Kashyap

Copy link
Copy Markdown
Author

Can someone take a look when you have a chance?

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.

Add Starveri API cost mapping?

1 participant