Qwen Portal (OAuth Free Tier)
Alibaba's Qwen Portal provides free OAuth access to Qwen Coder and Vision models — 2,000 requests/day with no token limits. Device-code OAuth flow syncs with Qwen Code CLI login. The most generous free coding model provider.
Tags: free-tier, oauth, coding, vision, chinese-ai, alibaba, qwen3-coder, generous-limits
Use Cases
- Free coding assistant through OpenClaw — 2,000 requests/day at zero cost
- Secondary/fallback provider for when primary API budget is exhausted
- Screenshot and UI analysis with the free vision model
- Rapid prototyping and experimentation without worrying about API costs
- Learning and education environments where cost is a barrier
- OpenClaw cron jobs and background tasks with reasonable daily limits
Tips
- Install Qwen Code CLI first (npx @qwen-code/qwen-code@latest) — OpenClaw can reuse its OAuth credentials.
- Use as a free fallback provider alongside a paid primary provider. Switch with /model qwen-portal/coder-model.
- Reserve the 2,000 daily requests for actual coding work. Use other free providers (GLM Flash, Synthetic) for heartbeats.
- The vision model is useful for screenshot-based debugging and UI feedback at zero cost.
- For Qwen models with API key access (not OAuth), use DashScope (Alibaba Cloud) instead — separate provider.
- Consider the privacy tradeoff: free tier likely trains on inputs. Use paid providers for proprietary work.
Known Issues & Gotchas
- Free tier likely means your data is used for training. Don't send sensitive or proprietary code.
- OAuth device-code flow requires browser access during initial setup — can't be done headless.
- Model quality may degrade during peak usage — Qwen notes the model 'may fallback to maintain service quality.'
- 2,000 requests/day sounds generous but intensive agentic workflows can burn through it (each tool call = 1 request).
- The 'coder-model' and 'vision-model' endpoints abstract the underlying model. You don't control which exact model version is served.
- Rate limit is 60 requests/minute — can be hit during rapid multi-step coding sessions.
- Token refresh and OAuth handling needs to be managed. Sessions may expire and require re-login.
Alternatives
- GitHub Copilot
- Gemini CLI (Free Tier)
- Synthetic (Free GLM/Kimi)
- DashScope (Alibaba Cloud)
Community Feedback
2,000 free requests per day with no token limits is incredible. It's not Claude Code quality but for things that don't need a frontier model, it's perfect.
— Reddit r/Qwen_AI
Qwen Code CLI is basically Gemini CLI with the Qwen Coder model. Generous free tier but be aware — they might be training on your data, similar to Gemini CLI's practices.
— AI Engineer Guide
It's not Claude Code, but for free? Qwen Coder through the portal handles basic coding tasks surprisingly well. Great as a secondary provider.
— Reddit r/ClaudeCode
Configuration Examples
Qwen Portal as free coding provider
providers:
qwen-portal:
# Uses OAuth credentials from Qwen Code CLI
model: qwen-portal/coder-model
# 2,000 free requests/day, no token limitsQwen Portal as fallback to paid provider
providers:
anthropic:
apiKey: sk-ant-xxxxx
model: anthropic/claude-sonnet-4-6
qwen-portal:
model: qwen-portal/coder-model
# Free fallback: /model qwen-portal/coder-model