-
Notifications
You must be signed in to change notification settings - Fork 78
feat(synthetic): add pricing #128
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
feat(synthetic): add pricing #128
Conversation
8d8a712 to
9d8e43d
Compare
|
These changes are now based on #138 |
Synthetic's API doesn't include pricing, so we add manual overrides from their pricing page. Also generates synthetic-promax.json for Pro/Max subscribers with zero pricing. - Set default large model to GLM 4.7 - Add priceOverrides map with per-model pricing - Set cached rates equal to regular (they don't have separate cached rates afaict) - Add DeepSeek V3.2 metadata override (tools + reasoning) - Generate separate config for Pro/Max subscription Assisted-by: Claude Opus 4.5 via Crush
9d8e43d to
4de3f8f
Compare
|
Rebased on main, also changed the default large model to GLM 4.7 |
|
Awesome. @Amolith and @kujtimiihoxha: are we good to merge this one? |
|
@meowgorithm actually, not quite yet. I was digging into Synthetic's API some more for a different thing and noticed that they do provide pricing, so the overrides aren't needed. Working on a refactor |
Assisted-by: Claude Opus 4.5 via Crush
|
Hardcoded prices removed, ready for review. @kujtimiihoxha and I were talking separately about in-Crush ways of handling the pro/max subcription bits thinking it was predicated on API changes. However, their |
|
@Amolith I think we can remove the subscription based provider and just handle detecting if its a subscription user in crush. We need to do similar things for |
Assisted-by: Claude Opus 4.5 via Crush <[email protected]>
|
@kujtimiihoxha yep, that makes sense. I removed subscription generation 👍 |
synthetic-promax.jsonfor Synthetic Pro or Synthetic Max subscribers based on the provider we're already generating, just with prices set to 0Assisted-by: Claude Opus 4.5 via Crush
CONTRIBUTING.md.