Skip to main content

Huawei Cloud MaaS (ModelArts)

Huawei Cloud ModelArts Model-as-a-Service (MaaS) provides enterprise cloud hosting for frontier LLMs, proprietary Pangu models, and leading open-source models with dedicated enterprise infrastructure and low latency across China and the APAC region.

Website: https://www.huaweicloud.com/product/modelarts.html


Getting an API Key

  1. Sign In: Log in to the Huawei Cloud Console.
  2. Access ModelArts: Navigate to ModelArts StudioModel-as-a-Service (MaaS).
  3. Generate Key: Go to the API Management or Credentials section and create a new MaaS API key.
  4. Copy the Key: Store your API key securely.

Supported Models

Huawei Cloud MaaS supports a wide range of open-weights and enterprise models via standard OpenAI-compatible endpoints:

Deep Reasoning & Planning

  • DeepSeek-R1 - (Recommended for Planning) Full 671B reasoning model for multi-step logic and architecture design
  • DeepSeek-R1-Distill-Qwen-32B - High-efficiency distilled reasoning model for fast chain-of-thought analysis
  • DeepSeek-R1-Distill-Llama-70B - Distilled reasoning on Llama 70B architecture

Coding & Agentic Execution

  • Qwen2.5-Coder-32B-Instruct - (Recommended for Coding) Surgical diffs, unit testing, and multi-language syntax
  • DeepSeek-V3 - 671B flagship general-purpose and code generation model
  • Qwen2.5-72B-Instruct - Robust foundation model for complex refactoring and multi-file tasks

Enterprise & Foundation Models

  • Pangu-Coder / Pangu-Alpha - Huawei's proprietary enterprise models with optimized Chinese/English multilingual capabilities
  • GLM-4-Plus / GLM-4-9B - High-precision instruction following and tool use

Configuration in PostQode

  1. Open PostQode Settings ().
  2. Select Huawei Cloud MaaS in the API Provider dropdown.
  3. Enter your MaaS API Key from the Huawei Cloud Console.
  4. Select your model from the dropdown or manually specify your target Model ID (e.g. Qwen2.5-Coder-32B-Instruct or DeepSeek-R1).
  5. (Optional) Configure your custom MaaS Endpoint URL (e.g. https://maas-api.cn-south-1.myhuaweicloud.com/v1) if using a dedicated VPC or private cluster endpoint.

Tips and Notes

  • Enterprise VPC & Dedicated Hosting: If your organization deploys dedicated MaaS model instances inside an enterprise Virtual Private Cloud (VPC), enter the private gateway address in the Base URL field.
  • OpenAI-Compatible API: Huawei Cloud MaaS uses standard OpenAI-compatible message schemas, ensuring full compatibility with PostQode's tool calling, file inspection, and streaming diff generation.