eca icon indicating copy to clipboard operation
eca copied to clipboard

Support configuring model pricing

Open ericdallo opened this issue 1 year ago • 5 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

This would allow update any outdated model pricing and add support for usage for custom models that are not available in models.dev

ericdallo avatar Aug 14 '25 14:08 ericdallo

i want to work on this issue

finalyeargroup9 avatar Aug 14 '25 15:08 finalyeargroup9

Great @finalyeargroup9! LMK if you have any questions, I belive we could start discussing the config API for that, something that could work to override built-in providers models pricing but that would work for custom providers as well.

Basically the logic that matters for that is both config.clj and this function

ericdallo avatar Aug 14 '25 17:08 ericdallo

Thanks for the pointers! I’ll review config.clj and the function you mentioned so I can get a clear picture of how the config API is currently set up. I’ll share some ideas on how we could extend it to override both built-in and custom provider models/pricing, and we can iterate from there.

finalyeargroup9 avatar Aug 14 '25 17:08 finalyeargroup9

please assign me the issue

finalyeargroup9 avatar Aug 14 '25 17:08 finalyeargroup9

Hey @finalyeargroup9 any news on that? I may work on that as now we support lots of more providers

ericdallo avatar Aug 27 '25 20:08 ericdallo