mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Regarding the custom PriceConfig parameter for OpenAI-API-compatible model providers #524
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @starweavingdream on GitHub (Aug 5, 2025).
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
Since you are deploying the model yourself, when configuring an OpenAI-API-compatible model provider, is it possible to add a custom PriceConfig parameter configuration item, so that pricing can be generated based on this configuration when the model responds?
I've carefully reviewed the official documentation, and this functionality can indeed be achieved through custom model plugins. However, having to create a separate configuration file for each additional model is truly overly cumbersome. It is recommended to integrate the PriceConfig settings into the new form of the OpenAI-API-compatible plugin. Subsequent calculations can then be performed by retrieving data directly from the form.
2. Additional context or comments
No response
3. Can you help us with this feature?
@dosubot[bot] commented on GitHub (Aug 23, 2025):
Hi, @starweavingdream. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!