mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 10:05:47 -04:00
I hope to upgrade the OpenAI-API-compatible #202
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 6, 2025).
Plugin Name
OpenAI-API-compatible
Function Description
I hope the OpenAI-API-compatible can support custom per-token pricing for models, specifically allowing the configuration of input token price, output token price, and unit fields. This way, the token cost for each message can be calculated based on these custom parameters. Otherwise, when using the OpenAI-API-compatible [system/plugin], the total_price for each message would always be 0.
Official Website URL
No response
@huangbug commented on GitHub (Aug 12, 2025):
I believe many people have this idea.