Open-source AI coding assistant
OpenClaw is an open-source AI assistant that helps you write, debug, and refactor code. Connect it to Qwen Cloud's pay-as-you-go API for powerful AI assistance through the OpenAI-compatible endpoint.
Get running in a few minutes:
After installation, OpenClaw automatically starts the setup wizard. You can also run
In the dashboard, go to Config > RAW and replace with Qwen Cloud API information.
Use the provider prefix to ensure the correct API endpoint:
Access the web dashboard:
Create specialized agents for different tasks:
"Invalid API key" error
Reduce usage by:
Quick start
Get running in a few minutes:
Configuration
Installation options
- Quick install (npm)
- Script install
Complete initial setup wizard
After installation, OpenClaw automatically starts the setup wizard. You can also run openclaw onboard manually.
| Configuration item | Recommended setting |
|---|---|
| "I understand this is powerful..." | Yes |
| Onboarding mode | QuickStart |
| Model/auth provider | Skip for now (configure Qwen Cloud later) |
| Filter models by provider | All providers |
| Default model | Keep current |
| Select channel | Skip for now |
| Configure skills now? | No |
| Enable hooks? | Press Space to select, Enter to continue |
| How do you want to hatch your bot? | Do this later |
Configuration methods
- Interactive setup
- Config file
Free quota and billing:
- First-time users get a free quota (valid for 90 days)
- Enable Free quota only to prevent unexpected charges
For Coding Plan users: Use your exclusive base URL and API key instead. See Coding Plan for OpenClaw.
Model recommendations
| Task | Model | Why |
|---|---|---|
| Quick tasks | qwen3-coder-next | Fast, cost-effective |
| General coding | qwen3.5-plus | Balanced performance |
| Complex logic | qwen3-coder-plus | Deep understanding |
| Architecture | qwen3-max | Advanced reasoning |
Limitations
- Node.js 22+: Requires Node.js version 22 or later
- Model compatibility: Not all Qwen models support all features
Examples
Interactive chat
Model switching
Use the provider prefix to ensure the correct API endpoint:
Advanced features
Dashboard
Access the web dashboard:
Custom agents
Create specialized agents for different tasks:
Troubleshooting
"Invalid API key" error
Solution:"Model not available" error
- Verify API key is correct
- Ensure API key has quota
Solution:High token consumption
- Check model ID spelling
- Verify model access in your workspace
- See Model list
Solution:
- Use focused prompts
- Choose appropriate models for tasks
Token optimization
Reduce usage by:
- Specific prompts: Be precise about what you need
- Model selection: Use lightweight models for simple tasks
- Directory focus: Work in specific project folders
- Batch operations: Combine related tasks in one session
Related resources
- Coding Plan: Setup with subscription →
- Models: Available models →
- API docs: OpenAI-compatible reference →
- OpenClaw docs: Official documentation →