Privacy settings

Privacy and GDPR notice

Nfero uses essential storage for language preferences and demo access controls. With your consent, Google Analytics and lightweight usage events help improve model demos and outbound subscription routing. Live demo prompts may be sent to configured Alibaba-hosted model endpoints.

Tool + model pairing

Dify with Alibaba Model Studio API

Workflow and application-building platform that can fit Model Studio API evaluation and RAG/application planning.

Dify builds applications, RAG flows, and automations. That makes it a Model Studio application integration rather than a permitted Coding Plan workload.

Choose the right access route

Choose the right access route

Use a general pay-as-you-go Model Studio API key. Alibaba's Coding Plan FAQ explicitly says it does not recommend using Coding Plan with Dify.

RecommendedPay-as-you-go Model Studio API

Token Plan (Team Edition)

Do not treat Token Plan as a backend or application entitlement; use the general API path for Dify workflows.

Coding Plan

Not recommended by Alibaba for Dify, automated workflows, custom backends, or non-interactive batch calls.

Pay-as-you-go Model Studio API

Correct route for Dify applications, agents, RAG, scheduled workflows, and end-user products.

Safe configuration pattern

Connect Dify through its Qwen Model Studio provider

The example is deliberately redacted. Replace placeholders only on your device and never paste a real API key into Nfero.

Before you start

  1. Activate the required model service in Model Studio and create a general regional API key.
  2. Install the latest compatible Qwen provider plugin from Dify Marketplace.
  3. For Singapore-region models, use the plugin's international endpoint setting.
  4. Keep API keys in Dify's encrypted provider settings and configure spend monitoring.

Safe configuration pattern

Protocol
Model Studio API via the Dify Qwen plugin
  1. In Dify Marketplace, install the Qwen model provider plugin.
  2. Open Settings > Model Providers > Qwen.
  3. Enter the general Model Studio API key for the model's region.
  4. Enable the international endpoint option for Singapore-region access, then test the model before building a workflow.

Verify the connection

  • Run the provider credential test with a low-cost text model.
  • Confirm the selected model is activated in the same Model Studio region.
  • Test a minimal one-node workflow before adding tools or retrieval.
  • Review Model Studio monitoring and Dify logs without exposing prompt data or credentials.

Model pairings

Recommended starting models

Use this tool to run interactive coding, reasoning, review, and documentation tasks with each model. Confirm final model availability and exact plan support in Alibaba Cloud before production use.

Text generationReasoningVisual understanding
Best pairing angle

General reasoning and agent workflow candidate; confirm regional API availability.

Text generationReasoning
Best pairing angle

Long-context option for retrieval and document-heavy workflows.

Common problems

Common problems

What you see

Provider authentication or model unavailable error

Likely cause

The model is not activated, the key is from another region, or the international endpoint setting is wrong.

What to do

Activate the model, use the matching regional key, and enable the correct endpoint option.

What you see

Coding Plan connection fails or access is blocked

Likely cause

Dify is an application/workflow platform outside Coding Plan's permitted interactive programming-tool scope.

What to do

Use a general pay-as-you-go Model Studio API key instead.

Important restrictions

  • Do not use Coding Plan or Token Plan credentials for Dify applications, automation, or end-user backends.
  • Do not expose Model Studio keys in client-side variables or workflow output.
  • Apply data-handling controls appropriate to the documents and prompts processed by each Dify application.