[PR #1344] [MERGED] feat(volcengine): Add pricing support #1844

Closed
opened 2026-02-16 10:24:09 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1344
Author: @xuzijie1995
Created: 7/24/2025
Status: Merged
Merged: 7/24/2025
Merged by: @crazywoola

Base: mainHead: feat/feat/add-volcengine-llm-pricing


📝 Commits (1)

  • 88c756c feat(volcengine): Add pricing support

📊 Changes

3 files changed (+39 additions, -6 deletions)

View changed files

📝 models/volcengine_maas/manifest.yaml (+1 -1)
📝 models/volcengine_maas/models/llm/llm.py (+1 -0)
📝 models/volcengine_maas/models/llm/models.py (+37 -5)

📄 Description

Related Issues or Context

fix #1345

This PR contains Changes to Non-Plugin

  • Documentation
  • Other
image image image

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

This PR contains Changes to LLM Models Plugin

  • My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking)

  • My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node)

  • My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.)

  • My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.)

  • My Changes Affect Structured Output Format (JSON, XML, etc.)

  • My Changes Affect Token Consumption Metrics

    Description: Added pricing information for all LLM models, which directly affects billing calculations based on token consumption.

  • My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.)

  • Other Changes (Add New Models, Fix Model Parameters etc.)

    Description: Added pricing configurations for existing models.

Version Control (Any Changes to the Plugin Will Require Bumping the Version)

  • I have Bumped Up the Version in Manifest.yaml (Top-Level Version Field, Not in Meta Section)

    New Version: 0.0.24

Dify Plugin SDK Version

  • I have Ensured dify_plugin>=0.3.0,<0.5.0 is in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 0.17.0, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.

SaaS Environment

  • I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/1344 **Author:** [@xuzijie1995](https://github.com/xuzijie1995) **Created:** 7/24/2025 **Status:** ✅ Merged **Merged:** 7/24/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `feat/feat/add-volcengine-llm-pricing` --- ### 📝 Commits (1) - [`88c756c`](https://github.com/langgenius/dify-official-plugins/commit/88c756c8a46a13e824ad730f52a0f79792fad797) feat(volcengine): Add pricing support ### 📊 Changes **3 files changed** (+39 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `models/volcengine_maas/manifest.yaml` (+1 -1) 📝 `models/volcengine_maas/models/llm/llm.py` (+1 -0) 📝 `models/volcengine_maas/models/llm/models.py` (+37 -5) </details> ### 📄 Description ## Related Issues or Context fix #1345 ## This PR contains Changes to *Non-Plugin* - [ ] Documentation - [ ] Other <img width="1440" height="275" alt="image" src="https://github.com/user-attachments/assets/9936bcbf-29ec-42fe-b143-2e6774b7ada6" /> <img width="936" height="91" alt="image" src="https://github.com/user-attachments/assets/237a5afa-8258-4644-8a47-36e4dacf5d36" /> <img width="935" height="90" alt="image" src="https://github.com/user-attachments/assets/fc68b18d-2654-4c9c-9270-aef07c79cab9" /> ## This PR contains Changes to *Non-LLM Models Plugin* - [ ] I have Run Comprehensive Tests Relevant to My Changes ## This PR contains Changes to *LLM Models Plugin* - [ ] My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking) - [ ] My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node) - [ ] My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.) - [ ] My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.) - [ ] My Changes Affect Structured Output Format (JSON, XML, etc.) - [x] My Changes Affect Token Consumption Metrics > **Description:** Added pricing information for all LLM models, which directly affects billing calculations based on token consumption. - [ ] My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.) - [x] Other Changes (Add New Models, Fix Model Parameters etc.) > **Description:** Added pricing configurations for existing models. ## Version Control (Any Changes to the Plugin Will Require Bumping the Version) - [x] I have Bumped Up the Version in Manifest.yaml (Top-Level `Version` Field, Not in Meta Section) > **New Version:** 0.0.24 ## Dify Plugin SDK Version - [x] I have Ensured `dify_plugin>=0.3.0,<0.5.0` is in requirements.txt ([SDK docs](https://github.com/langgenius/dify-plugin-sdks/blob/main/python/README.md)) ## Environment Verification (If Any Code Changes) ### Local Deployment Environment - [x] Dify Version is: `0.17.0`, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration. ### SaaS Environment - [ ] I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:24:09 -05:00
yindo closed this issue 2026-02-16 10:24:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1844