mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Missing YAML Model Definition Causes Zero Pricing, Affecting Billing Statistics #151
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 @yjc980121 on GitHub (Mar 30, 2025).
Self Checks
Dify version
1.1.0
Plugin version
langgenius/openai_api_compatible:0.0.11
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Issue Description:
We have identified an issue where the absence of a YAML model definition for OpenAI API compatibility results in the price being set to zero. This default setting negatively impacts billing statistics and token consumption tracking, as it does not reflect the actual usage or costs associated with the service.
Impact:
The zero price makes accurate billing calculations impossible.
It hinders effective cost tracking and token consumption monitoring.
The lack of a defined price complicates the ability to observe and analyze usage patterns.
Proposed Solution:
To address this issue, we recommend assigning a symbolic price to the model definition. This would:
Enable accurate billing calculations.
Provide better visibility into token usage and associated costs.
Simplify the process of tracking and analyzing usage statistics.
Could you please consider adding a symbolic price to the YAML model definition to resolve this issue?
Thank you for your attention to this matter.
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @yjc980121. 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!