Complete Guide: Set Up OpenClaw with NovAI in 5 Minutes
This is the complete, step-by-step guide to using OpenClaw with NovAI. We'll walk through everything from creating your account to making your first API call — no steps skipped.
By the end, you'll have OpenClaw running on DeepSeek-v3.2 (or any of our 8 models) at a fraction of what you'd pay with GPT-4o or Claude.
Table of Contents
Prerequisites
- OpenClaw installed and working on your machine
- An email address for NovAI signup (any email works)
- Optional: USDT (TRC20) for top-up. Or start 100% free with GLM-4.6V-Flash
Create Your NovAI Account
Go to aiapi-pro.com.
- Click "Get Started" (or "Register" in the navigation bar)
- Enter your email address
- Choose a password
- Click "Register"
That's it. No phone number, no credit card, no ID verification. Your account is ready instantly.
After registration, you'll be automatically logged in and taken to your Dashboard. This is your home base — you'll see your balance, API key, and usage stats here.
Add Balance (or Start Free)
Option A: Start 100% Free
If you just want to test things out, skip this step entirely. NovAI includes a completely free model — GLM-4.6V-Flash — with no usage limits and no balance required. Jump straight to Step 3.
Recommended: Start with the free model first. Confirm everything works, then add balance when you're ready for DeepSeek.
Option B: Add Balance with USDT
To use DeepSeek, Qwen, MiniMax, and other paid models, you'll need to add balance. Here's how:
- In your Dashboard, scroll down to the "Top Up" section
- Choose a top-up amount:
- $5 — Good for testing and light use (lasts 1-2 weeks)
- $20 — Recommended for regular OpenClaw users (lasts 1-2 months)
- $50 — Best value for heavy daily usage
- Click the amount card → a payment method selection appears
- Select "USDT (TRC20)"
- A wallet address and QR code will be displayed
- Send the exact USDT amount to this address on the TRC20 network
- Wait for confirmation — your balance will update automatically (usually 1-3 minutes)
Important: Send USDT only on the TRC20 (Tron) network. Sending on the wrong network (ERC20, BEP20, etc.) may result in lost funds.
PayPal: PayPal payment is under review and will be available soon. When it launches, you'll be able to pay with credit card or PayPal balance.
How Long Does $5 Last?
| Model | $5 Gets You | Roughly Equals |
|---|---|---|
| DeepSeek-v3.2 | 25M input tokens | ~2 weeks of heavy coding |
| Qwen-Turbo | 83M input tokens | ~2 months of daily use |
| MiniMax-Text-01 | 25M input tokens | 25 full-codebase analyses |
| GLM-4.6V-Flash | Unlimited (Free) | Forever |
Get Your API Key
Your API key was generated automatically when you registered. Here's how to find it:
- Go to your Dashboard (click the NovAI logo or "Dashboard" link)
- Look for the "API Key" section near the top
- Your key is hidden by default — click "Show" to reveal it
- Click "Copy" to copy it to your clipboard
Your API key looks like this: nvai-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Keep your API key secret. Don't share it publicly, don't commit it to git, and don't paste it in screenshots. Anyone with your key can use your balance.
Store It Safely as an Environment Variable
The best practice is to store your key as an environment variable so it never appears in config files:
# Linux / macOS: add to ~/.bashrc or ~/.zshrc export NOVAI_API_KEY="nvai-your-actual-key-here" # Then reload your shell source ~/.bashrc # or: source ~/.zshrc
# Windows PowerShell: add to $PROFILE $env:NOVAI_API_KEY = "nvai-your-actual-key-here" # Or set permanently: [System.Environment]::SetEnvironmentVariable("NOVAI_API_KEY", "nvai-your-actual-key-here", "User")
Quick Test: Verify Your Key Works
Before configuring OpenClaw, let's make sure the key works:
# Test with curl (using the free model — no balance needed) curl https://aiapi-pro.com/v1/chat/completions \ -H "Authorization: Bearer $NOVAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "glm-4.6v-flash", "messages": [{"role": "user", "content": "Say hello"}], "max_tokens": 50 }'
If you get a JSON response with the model's reply, your key is working. If you get an authentication error, double-check that you copied the full key.
Configure OpenClaw
Now the main event. We'll add NovAI as a custom provider in OpenClaw.
Find Your Config File
OpenClaw's configuration file is located at:
# Linux / macOS ~/.openclaw/openclaw.json # Windows %USERPROFILE%\.openclaw\openclaw.json
If the file doesn't exist yet, create it. If it already has content, you'll merge the new config in.
The Complete Configuration
Add this to your openclaw.json:
{
"models": {
"mode": "merge",
"providers": {
"novai": {
"baseUrl": "https://aiapi-pro.com/v1",
"apiKey": "${NOVAI_API_KEY:-}",
"api": "openai-completions",
"models": [
{
"id": "deepseek-v3.2",
"name": "DeepSeek V3.2 (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.0000002, "output": 0.0000004 },
"contextWindow": 128000,
"maxTokens": 8192
},
{
"id": "glm-4.6v-flash",
"name": "GLM Flash FREE (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0 },
"contextWindow": 128000,
"maxTokens": 4096
},
{
"id": "qwen-max",
"name": "Qwen Max (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.0000004, "output": 0.0000012 },
"contextWindow": 32000,
"maxTokens": 8192
},
{
"id": "qwen-plus",
"name": "Qwen Plus (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.0000002, "output": 0.0000006 },
"contextWindow": 128000,
"maxTokens": 8192
},
{
"id": "qwen-turbo",
"name": "Qwen Turbo (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.00000006, "output": 0.0000002 },
"contextWindow": 128000,
"maxTokens": 8192
},
{
"id": "minimax-text-01",
"name": "MiniMax 1M Context (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.0000002, "output": 0.0000016 },
"contextWindow": 1000000,
"maxTokens": 8192
},
{
"id": "glm-4.6v",
"name": "GLM 4.6V Vision (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.0000004, "output": 0.0000012 },
"contextWindow": 128000,
"maxTokens": 4096
},
{
"id": "moonshot-128k",
"name": "Moonshot 128K (NovAI)",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0.0000008, "output": 0.0000008 },
"contextWindow": 128000,
"maxTokens": 8192
}
]
}
}
},
"agents": {
"defaults": {
"model": { "primary": "novai/deepseek-v3.2" }
}
}
}
Key points:
• "mode": "merge" means NovAI is added alongside any existing providers (like OpenAI). Your other models still work.
• "apiKey": "${NOVAI_API_KEY:-}" reads from the environment variable we set earlier. Your actual key never appears in this file.
• "api": "openai-completions" tells OpenClaw that NovAI uses the standard OpenAI-compatible format.
• All 8 NovAI models are included. You can remove any you don't need.
Already have an openclaw.json? Just add the "novai": { ... } block inside your existing "providers" object. Don't replace the whole file.
Choose Your Models
Here's every NovAI model and when to use it in OpenClaw:
| Model | Best For | Context | Input/1M | Output/1M |
|---|---|---|---|---|
| deepseek-v3.2 | Coding, debugging, reasoning | 128K | $0.20 | $0.40 |
| glm-4.6v-flash | Testing, prototyping (FREE) | 128K | FREE | FREE |
| qwen-turbo | Quick tasks, classification | 128K | $0.06 | $0.20 |
| qwen-plus | General purpose, multilingual | 128K | $0.20 | $0.60 |
| qwen-max | Translation, creative writing | 32K | $0.40 | $1.20 |
| minimax-text-01 | Entire codebases, long docs | 1M | $0.20 | $1.60 |
| glm-4.6v | Vision + text, multimodal | 128K | $0.40 | $1.20 |
| moonshot-128k | Document analysis, summarization | 128K | $0.80 | $0.80 |
Our Recommendation for OpenClaw Users
Set DeepSeek-v3.2 as your default model (already done in the config above). It gives you the best balance of coding quality and cost. Switch to other models when needed:
# In OpenClaw, switch models on the fly: /model novai/deepseek-v3.2 # Best for coding (default) /model novai/minimax-text-01 # Need to analyze a huge codebase /model novai/qwen-turbo # Quick tasks (commit msgs, comments) /model novai/glm-4.6v-flash # Free — testing or casual use
Verify & Start Coding
Let's make sure everything works:
# 1. Check that OpenClaw sees NovAI models openclaw models list | grep novai # Expected output: # novai/deepseek-v3.2 DeepSeek V3.2 (NovAI) # novai/glm-4.6v-flash GLM Flash FREE (NovAI) # novai/qwen-max Qwen Max (NovAI) # novai/qwen-plus Qwen Plus (NovAI) # novai/qwen-turbo Qwen Turbo (NovAI) # novai/minimax-text-01 MiniMax 1M Context (NovAI) # novai/glm-4.6v GLM 4.6V Vision (NovAI) # novai/moonshot-128k Moonshot 128K (NovAI) # 2. Start OpenClaw — it will use DeepSeek by default openclaw # 3. Try a simple prompt to confirm it's working > Write a Python function that reverses a linked list
If you get a response, you're done! OpenClaw is now running on NovAI.
Setup Checklist
- NovAI account created
- Balance added (or using free model)
- API key saved as environment variable
- openclaw.json configured with NovAI provider
- Models visible in
openclaw models list - Test prompt returned a valid response
Advanced: Multi-Model Routing Strategy
Here's the strategy I use to minimize costs without sacrificing quality:
| Task Type | Model | Cost | Why This Model |
|---|---|---|---|
| Complex coding & architecture | deepseek-v3.2 | $0.20 in | Best code benchmark scores |
| Full repo analysis / refactoring | minimax-text-01 | $0.20 in | 1M tokens fits entire codebases |
| Commit messages, comments, docs | qwen-turbo | $0.06 in | 70% cheaper for simple tasks |
| Translation (EN/CN/JP/KR) | qwen-max | $0.40 in | Best multilingual performance |
| Testing new prompts | glm-4.6v-flash | $0.00 | Free — iterate without spending |
With this routing, my typical day costs $0.30-0.50 instead of $15+ with GPT-4o.
Troubleshooting
"Models not showing up"
Make sure your openclaw.json has valid JSON. Even a missing comma will break it. Use jsonlint.com to validate.
"Authentication error" or "Invalid API key"
Check that your environment variable is set correctly:
echo $NOVAI_API_KEY # Should print your key
If it's empty, re-run the export command and source your shell config.
"Model not found"
Make sure the model ID in the config matches exactly. Use lowercase: deepseek-v3.2, not DeepSeek-V3.2.
"Connection timeout"
NovAI servers are in Hong Kong. If you're experiencing timeouts, check your internet connection. You can test directly:
curl -s -o /dev/null -w "%{time_total}s" https://aiapi-pro.com/v1/models
This should return in under 1 second from most locations.
"Insufficient balance"
Your balance ran out. Top up via your Dashboard, or switch to glm-4.6v-flash (free) while you add funds.
Frequently Asked Questions
Can I use NovAI and OpenAI simultaneously?
Yes. The "mode": "merge" setting adds NovAI alongside your existing providers. Your OpenAI, Anthropic, or other configs remain untouched. Switch between them with /model.
Is DeepSeek as good as GPT-4o for coding?
In benchmarks, yes — DeepSeek-v3.2 scores 90.2% on HumanEval (identical to GPT-4o) and 90.0% on MATH-500 (beats GPT-4o's 76.6%). In practice, most developers report equivalent coding quality with a slightly more concise style.
What happens if my balance runs out mid-session?
The API will return an "insufficient balance" error. OpenClaw will show the error message. You can immediately switch to glm-4.6v-flash (free) to continue working, then top up when convenient.
Is my code sent through NovAI's servers?
Yes, API requests pass through NovAI's Hong Kong servers to reach the model providers. This is the same as how any API gateway works (similar to using OpenAI's API — your code passes through OpenAI's servers). We do not log or store your prompts or responses.
What's the minimum top-up amount?
$5 USDT. With DeepSeek at $0.20/1M input tokens, $5 gives you approximately 25 million input tokens — enough for 1-2 weeks of heavy daily coding.
Can I get a refund?
Unused balance remains in your account indefinitely and never expires. Contact us if you have specific concerns.
Ready to Start?
Create your free account now. Free model included, no credit card required.
Create NovAI Account →