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
- Sign In: Log in to the Huawei Cloud Console.
- Access ModelArts: Navigate to ModelArts Studio ➔ Model-as-a-Service (MaaS).
- Generate Key: Go to the API Management or Credentials section and create a new MaaS API key.
- 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 designDeepSeek-R1-Distill-Qwen-32B- High-efficiency distilled reasoning model for fast chain-of-thought analysisDeepSeek-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 syntaxDeepSeek-V3- 671B flagship general-purpose and code generation modelQwen2.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 capabilitiesGLM-4-Plus/GLM-4-9B- High-precision instruction following and tool use
Configuration in PostQode
- Open PostQode Settings ().
- Select Huawei Cloud MaaS in the API Provider dropdown.
- Enter your MaaS API Key from the Huawei Cloud Console.
- Select your model from the dropdown or manually specify your target Model ID (e.g.
Qwen2.5-Coder-32B-InstructorDeepSeek-R1). - (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.