ModelScope (Alibaba)

● 24h Uptime 99.9% (Alibaba Community)

100% free community tier · Zero prepayment required · HTTP 429 upon quota exhaustion

💡 HIGHLIGHT

Alibaba's Premier Open-Source Ecosystem: 250 MoLi daily free allowance (~125-500 calls), 900+ models, direct mainland connection, and native CORS support.

⚡ Speed & Latency
150ms ~ 320ms
Alibaba Cloud infrastructure, ultra-low mainland latency & native CORS headers
🎁 Free Quota & Policy
250 MoLi/day (~125-500 calls, 24h expiry)
200 base + 50 linked Alibaba Cloud · Resets daily at 00:00 UTC+8 · Zero card risk
🛡️ Auth & Access Requirements
One-click copy API Key (Access Token) from console
Standard OpenAI-compatible inference endpoint, 900+ open-source models supported
📊 Concurrency & Context
Dynamic concurrency throttle · Supports 72B open flagships
Full Qwen family, DeepSeek-V3/R1, GLM, MiniMax; zero cost for daily evaluation

🔌 OpenAI-Compatible Base URL

https://api-inference.modelscope.cn/v1

💡 Directly paste the address above as Base URL into any OpenAI-compatible client (NextChat, Cherry Studio, Immersive Translate, etc.).

📋 Featured Models:

Click Model ID to copy
Qwen 72B (2 MoLi) Qwen/Qwen2.5-72B-Instruct
Qwen top-tier open-weight 72B flagship model
Reasoning (1 MoLi) deepseek-ai/DeepSeek-R1-Distill-Qwen-32B
DeepSeek R1 32B deep thinking reasoning model
Flagship (1 MoLi) deepseek-ai/DeepSeek-V3
DeepSeek 671B full open MoE architecture model
Fast Lightweight (0.5 MoLi) Qwen/Qwen2.5-7B-Instruct
Cost-effective model for daily dialogue & coding, ~500 calls/day
GLM Open (1 MoLi) ZhipuAI/GLM-4-9B-Chat
Zhipu AI high-performance open-weight 9B chat model

🎁 Free Tier Reality & Limits

250 MoLi daily (200 base upon login + 50 for linking Alibaba Cloud, 24h validity), plus 50 long-term MoLi upon registration (90d validity)
🔄 Reset Cycle Resets every midnight at 00:00 UTC+8; short-term MoLi expires in 24 hours without carryover
🛡️ Overage Behavior Returns HTTP 429 (rate limit / quota exceeded) cleanly; no credit card required, zero automated billing risk
📋 Access Requirements
✓ No Credit Card 🪪 ID Verification Required

ModelScope is China's largest open-source AI model community, initiated by Alibaba Cloud in partnership with leading AI institutions. It hosts thousands of top open weights including Qwen, DeepSeek, GLM, Baichuan, and MiniMax.

ModelScope provides developers with a generous Serverless API Inference free tier: 200 MoLi daily for logged-in users, plus 50 MoLi when linking a verified Alibaba Cloud account (250 MoLi/day total). This translates to 125~500 free inference calls daily with full OpenAI SDK compatibility and native browser CORS support!

⚠️ Worth Knowing & Gotchas

⚠️ Real-Name Verification Required (Mainland ID)

Using ModelScope API Inference requires real-name identity verification via the linked Alibaba Cloud account (typically through personal Alipay with a Chinese ID). This is the primary barrier for non-mainland international developers.

⚠️ MoLi Quota Unit & 24-Hour Expiration

MoLi is ModelScope's unified inference currency: lightweight models cost 0.5 MoLi/req (~500 calls/day), mainstream models cost 1 MoLi/req (~250 calls/day), and 72B flagships cost 2 MoLi/req (~125 calls/day). Daily MoLi grants expire in 24 hours at 00:00 UTC+8 and do not roll over.

⚠️ Native Browser CORS Enabled (Direct Web Fetch)

ModelScope API Inference gateway returns access-control-allow-origin: * on OPTIONS preflights. Web single-page apps (SPAs) and browser extensions can invoke the API directly without proxy servers.

⚠️ Non-Commercial Terms & Dynamic Concurrency

The free API Inference tier is strictly intended for developer testing, academic research, and prototype evaluation. It carries no SLA and employs dynamic concurrency throttling, returning HTTP 429 when under peak platform load.

⚠️ Model IDs Must Include Organization Namespace

Calls must supply the full ModelScope model ID including the namespace prefix (e.g. Qwen/Qwen2.5-72B-Instruct, deepseek-ai/DeepSeek-V3), rather than abbreviated names like qwen2.5-72b.

🚀 30-Second Quick Setup Guide

01

Sign Up on ModelScope & Link Alibaba Cloud

Register at modelscope.cn with email or mobile phone, and link your verified Alibaba Cloud account in settings to claim the full 250 MoLi/day quota.

Go to Console ↗
02

Generate API Token

Navigate to User Center -> Access Tokens (API Key) and copy your automatically generated token.

Go to Console ↗
03

Configure OpenAI-Compatible Endpoint

Set Base URL to https://api-inference.modelscope.cn/v1, insert your token, specify model Qwen/Qwen2.5-72B-Instruct, and start testing for free!

💻 Quick Python OpenAI SDK Example

from openai import OpenAI

client = OpenAI(
    api_key="your_api_key_here",  # 填入申请的 Key
    base_url="https://api-inference.modelscope.cn/v1"
)

response = client.chat.completions.create(
    model="Qwen/Qwen2.5-72B-Instruct",
    messages=[
        [object Object]
    ]
)

print(response.choices[0].message.content)

📖 Related In-Depth Tutorials & Strategies

Guides →
← Radar 🚀 Toolbox