Add New Model Provider: Bailing AI models #829

Closed
opened 2026-02-16 10:20:39 -05:00 by yindo · 1 comment
Owner

Originally created by @decade613 on GitHub (Nov 25, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Hi Dify team,

I’d like to propose the integration of Bailing (百灵) — a series of large AI models developed and open-sourced by Ant Group — as an official model provider in Dify’s plugin marketplace. As the developer who implemented the initial integration, I’m excited to contribute this provider to expand Dify’s model provider.

🌟 About Bailing (百灵)

Bailing is a family of state-of-the-art large language models built on the latest Mixture-of-Experts (MoE) architecture, designed for high performance, efficiency, and reasoning capability. The current lineup includes:

Ling Series (foundation models):

Ling-mini: Optimized for fast, cost-effective generation
Ling-flash: Balanced performance for mainstream tasks with deep optimization
Ling-1T: Trillion-parameter scale for advanced reasoning and stable, high-quality responses
Ring Series (reasoning-optimized models): Tailored for complex logical and multi-step tasks

Upcoming Ming Series: Multimodal models supporting cross-modal understanding and generation

Resources

Official Introduction: https://alipaytbox.yuque.com/sxs0ba/ling/intro
Hugging Face: https://huggingface.co/inclusionAI
GitHub: https://github.com/inclusionAI

🔌 Integration Highlights

The Bailing API is fully OpenAI-compatible, which enables seamless integration into Dify with minimal architectural changes:

Supports standard /v1/chat/completions endpoint
Uses familiar request/response formats and parameters (temperature, top_p, max_tokens, etc.)
Authentication via API key (configurable via UI or BAILING_API_KEY environment variable)
Customizable base URL for private deployments

Unique Capabilities

Beyond standard LLM features, Bailing offers several advanced functionalities that enhance application scenarios in Dify:

Built-in Web Search: Enable real-time retrieval via enable_search and fine-tune behavior with search_options
Reasoning Control: Adjust reasoning depth and output verbosity for tailored user experiences
High-Quality Reasoning: Especially strong in logic-heavy, multi-turn, and analytical tasks (thanks to MoE + Ring architecture)

Docs

Full API reference: https://alipaytbox.yuque.com/sxs0ba/ling/api_chat

2. Additional context or comments

Usage Example

curl --request POST
--url https://api.tbox.cn/api/llm/v1/chat/completions
--header 'Authorization: Bearer '
--header 'Content-Type: application/json'
--data '{
"model": "Ling-1T",
"stream": true,
"messages": [
{
"role": "user",
"content": "What opportunities and challenges will the Chinese large model industry face in 2025?"
}
]
}'

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @decade613 on GitHub (Nov 25, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Hi Dify team, I’d like to propose the integration of Bailing (百灵) — a series of large AI models developed and open-sourced by Ant Group — as an official model provider in Dify’s plugin marketplace. As the developer who implemented the initial integration, I’m excited to contribute this provider to expand Dify’s model provider. #### 🌟 About Bailing (百灵) Bailing is a family of state-of-the-art large language models built on the latest Mixture-of-Experts (MoE) architecture, designed for high performance, efficiency, and reasoning capability. The current lineup includes: Ling Series (foundation models): Ling-mini: Optimized for fast, cost-effective generation Ling-flash: Balanced performance for mainstream tasks with deep optimization Ling-1T: Trillion-parameter scale for advanced reasoning and stable, high-quality responses Ring Series (reasoning-optimized models): Tailored for complex logical and multi-step tasks Upcoming Ming Series: Multimodal models supporting cross-modal understanding and generation #### Resources Official Introduction: https://alipaytbox.yuque.com/sxs0ba/ling/intro Hugging Face: https://huggingface.co/inclusionAI GitHub: https://github.com/inclusionAI #### 🔌 Integration Highlights The Bailing API is fully OpenAI-compatible, which enables seamless integration into Dify with minimal architectural changes: Supports standard /v1/chat/completions endpoint Uses familiar request/response formats and parameters (temperature, top_p, max_tokens, etc.) Authentication via API key (configurable via UI or BAILING_API_KEY environment variable) Customizable base URL for private deployments #### ✨ Unique Capabilities Beyond standard LLM features, Bailing offers several advanced functionalities that enhance application scenarios in Dify: Built-in Web Search: Enable real-time retrieval via enable_search and fine-tune behavior with search_options Reasoning Control: Adjust reasoning depth and output verbosity for tailored user experiences High-Quality Reasoning: Especially strong in logic-heavy, multi-turn, and analytical tasks (thanks to MoE + Ring architecture) #### Docs Full API reference: https://alipaytbox.yuque.com/sxs0ba/ling/api_chat ### 2. Additional context or comments Usage Example > curl --request POST \ --url https://api.tbox.cn/api/llm/v1/chat/completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "Ling-1T", "stream": true, "messages": [ { "role": "user", "content": "What opportunities and challenges will the Chinese large model industry face in 2025?" } ] }' ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the enhancement label 2026-02-16 10:20:39 -05:00
yindo closed this issue 2026-02-16 10:20:39 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 12, 2025):

Hi, @decade613. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You proposed integrating Bailing AI models from Ant Group into Dify's plugin marketplace as an official model provider.
  • Bailing's models offer OpenAI-compatible APIs with advanced features like reasoning and multimodal support.
  • There has been no further discussion or updates on this proposal since it was opened.

Next Steps:

  • Please let me know if this integration is still relevant to the latest version of the dify-official-plugins repository by commenting on this issue.
  • If I do not hear back within 5 days, this issue will be automatically closed.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Dec 12, 2025): Hi, @decade613. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You proposed integrating Bailing AI models from Ant Group into Dify's plugin marketplace as an official model provider. - Bailing's models offer OpenAI-compatible APIs with advanced features like reasoning and multimodal support. - There has been no further discussion or updates on this proposal since it was opened. **Next Steps:** - Please let me know if this integration is still relevant to the latest version of the dify-official-plugins repository by commenting on this issue. - If I do not hear back within 5 days, this issue will be automatically closed. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#829