Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

27 March 2025By Alina

ONLYOFFICE editors now support Tongyi Qianwen, bringing advanced AI capabilities for smarter document editing. This guide will show you how to connect Qwen to ONLYOFFICE and make the most of its features.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

About Tongyi Qianwen

Tongyi Qianwen (Qwen) is a large-scale AI model designed by Alibaba for natural language understanding, text generation, and data analysis. Built on advanced deep learning algorithms, it can assist with tasks such as content creation, summarization, translation, and more. With its integration into ONLYOFFICE, you can now leverage AI-powered assistance directly within your documents, spreadsheets, and presentations.

How to connect Qwen to ONLYOFFICE editors

1. Get Tongyi Qianwen credentials

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

  • Then, sign up or log in to Alibaba Bailian Platform to get the API key for Qwen. Upon registration, you will receive 1 million tokens for each function and 5 million tokens for translation, valid for 180 days for free.

2. Install and set up the AI plugin

  • Open ONLYOFFICE editors and go to the Plugins tab.
  • Click Plugin Manager and find the AI plugin. Click Install.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

  • Once installed, click the Background Plugins button in the Plugins tab and activate the AI function. The AI tab will appear in the upper toolbar.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

3. Connect Tongyi Qianwen

  • Go to the new AI tab in the toolbar and open Settings.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

  • Click Edit AI models, then click the + button.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

  • Enter a provider name, then paste your base_url and API key.
  • Click Update models list — the plugin will fetch available models.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

  • Select the model you need and assign tasks such as text processing, content moderation, or coding assistance.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

  • Click OK to save and finish setup. The model will appear in the list of available models in the AI models list.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

The ONLYOFFICE plugin supports multiple AI models simultaneously. You can connect other Qwen models and assign each of them for different tasks.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

That’s it! You can now use AI in text documents, spreadsheets, and presentations.

Maximize productivity with Tongyi Qianwen within ONLYOFFICE

With Qwen integrated into ONLYOFFICE, you can streamline your document creation process and enhance your workflow. This AI assistant is accessible through the AI tab or via the right-click context menu.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

Tongyi Qianwen AI models can help you accomplish a variety of tasks, including:

1. AI-assisted conversations

Interact with AI directly within your document to get quick insights, refine ideas, or clarify concepts. Whether you’re working on reports, research papers, or creative content, the assistant can provide suggestions, summaries, and explanations.

2. Content creation

If you need structured ideas, an article draft, or a detailed outline, let AI assist with text generation. It can expand on existing points, provide summaries, suggest keywords, or even help organize information into a presentation format.

3. Text analysis

Understanding complex content is easier with AI. You can use Qwen to break down lengthy passages, explain difficult terms, or highlight key points in any text.

4. Translations

Translate selected text into multiple languages instantly, ensuring natural and coherent results without leaving your document.

5. Code generation and analysis

For developers, Qwen can generate, refine, and analyze code snippets, making it easier to structure scripts and understand programming concepts.

Please note: ONLYOFFICE is not responsible for the information provided by AI. Please be cautious when using AI for confidential or sensitive data.

Our experience with Qwen

We tried translating this article into Chinese using the qwen-vl-max model with just one click from the context menu. The result was clear and accurate: the AI handled complex sentences well and kept the meaning intact.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE

The only thing we noticed was that the tone felt a bit too formal and structured — great for technical content, but for marketing, it could use some tweaking. To improve this, we used the Ask AI feature and added a more specific prompt asking for a more natural and engaging tone. With this adjustment, Qwen delivered a better result, making the translation sound more suitable for our blog.

Enhance document processing with Alibaba’s Qwen AI model in ONLYOFFICE
Overall, it’s a handy tool that makes translation and content adaptation much easier! If you’re using AI for translations too, we’d love to hear about your experience — which model works best for you? Contact us via email or drop us a message at @only_office.

Try Tongyi Qianwen in ONLYOFFICE

Ready to enhance your productivity with Qwen AI models? Download ONLYOFFICE Desktop Editors for Windows, macOS, or Linux, or create a free DocSpace account:

START ONLINE          GET DESKTOP APP

Connect other AI providers

Besides Qwen, you can integrate other AI providers into ONLYOFFICE, including DeepSeek, Ollama, Together AI, Mistral, Groq, LocalAI and Anthropic, or any custom provider. Watch the video below to learn how to connect any AI to your office suite.

Create your free ONLYOFFICE account

View, edit and collaborate on docs, sheets, slides, forms, and PDF files online.