I hope to upgrade the OpenAI-API-compatible #202

Open
opened 2026-02-22 17:22:04 -05:00 by yindo · 1 comment
Owner

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

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_
yindo added the enhancement label 2026-02-22 17:22:04 -05:00
Author
Owner

@huangbug commented on GitHub (Aug 12, 2025):

I believe many people have this idea.

@huangbug commented on GitHub (Aug 12, 2025): I believe many people have this idea.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#202