如何获取免费的 API Key
| 平台 | 免费额度 | 获取方式 |
|---|---|---|
| DeepSeek | 注册送500万tokens | platform.deepseek.com |
| 智谱GLM | 注册送免费额度 | open.bigmodel.cn |
| 通义千问 | 百万token免费额度 | dashscope.aliyun.com |
| OpenAI(海外) | 注册送$5额度 | platform.openai.com |
建议先注册1-2个平台获取免费额度,体验后再决定长期使用哪个。
延伸阅读
10-Minute OpenClaw Setup: Create Your First Agent on the KAIHE A1
Just unboxed your KAIHE A1? Follow this tutorial to go from powered-off to your first conversation with OpenClaw — all in under 10 minutes.
Prerequisites
- One KAIHE AIB OX-A1
- An Ethernet cable
- A computer or phone on the same local network (to access the browser)
- An LLM API key (recommended: DeepSeek or OpenAI — both offer free credits on signup)
Don't have an API key? See the guide at the end of this article.
Step 1: Power On (1 Minute)
- Connect the included Type-C power cable to the A1
- Connect the A1 to your router with an Ethernet cable
- The indicator light turns on → wait approximately 30 seconds for boot
The A1 has no power button. It powers on automatically when connected.
Step 2: Access the Management Panel (1 Minute)
On a device connected to the same router:
- Open your browser
- Type:
http://kaihe.local - Press Enter
You'll see the OpenClaw Web Management Panel login screen.
💡 If
kaihe.localdoesn't work, try: - Checking your router's device list for the A1's IP address and using that directly - Ensuring your computer and A1 are on the same network
Step 3: Bind Your LLM API (3 Minutes)
OpenClaw needs a "brain" to function — that brain is the language model you connect.
- Click "Model Configuration" in the left menu (or Settings → Models)
- Select your LLM provider
- Enter your API key and related information
- Click "Test Connection" to verify
- Save
Recommended Providers for Beginners
| Provider | Why |
|---|---|
| OpenAI | Most versatile — GPT-4o is highly capable |
| Anthropic (Claude) | Excellent for long-form writing and analysis |
| DeepSeek | Strong multilingual performance, low API pricing |
| Google (Gemini) | Generous free tier, solid performance |
Example: Connecting OpenAI
- Visit platform.openai.com and sign up
- Go to "API Keys" → create a new key → copy it
- In the OpenClaw panel → Model Configuration → Add Provider
- Select "OpenAI" template, paste your API key
- Save → Test Connection → "Connection Successful"
Step 4: Create Your First Agent (3 Minutes)
With your model configured, create your first agent:
- Click "Agents" in the left menu
- Click "New Agent"
- Fill in the details:
| Field | What to Enter | Example |
|---|---|---|
| Name | A name for your agent | "My AI Assistant" |
| Description | Briefly describe what it does | "Daily AI assistant for writing and research" |
| System Prompt | Tell it its role | "You are a professional, friendly AI assistant helping users with daily tasks." |
| Default Model | Select your configured model | GPT-4o |
-
Click "Create"
-
A conversation panel will appear on the right. Type: "Hello, introduce yourself."
If it responds — congratulations! Your first agent is up and running.
Step 5: Connect It to Discord or Slack (2 Minutes)
Bring your agent into your daily communication:
- Click "Channel Configuration" (Channels)
- Select "Discord" or "Slack"
- Follow the guided setup — typically involves creating a bot and pasting a token
- Configure trigger conditions (e.g., @mention in a channel triggers a response)
- Save
Once connected, send a message to your agent in your chosen platform.
For WeChat integration, refer to the dedicated WeChat Integration Guide.
It's Alive — Now What?
Ready-to-Use Scenarios
| Scenario | How to Set Up |
|---|---|
| Writing assistant | New agent, prompt: "You are a copywriter specializing in blog posts and social media content" |
| Translation | New agent, prompt: "You are a professional bilingual translator" |
| Customer support bot | Connect to messaging platform, set up auto-reply keywords |
| Daily report generation | Add a cron job to auto-generate a daily summary at 6 PM |
Learning Path
- ✅ Basic setup (this guide) — Done
- ⏭ OpenClaw Cloud LLM API Configuration Guide
- ⏭ 10 Ready-Made OpenClaw Agent Templates
- ⏭ 20 OpenClaw Tips and Tricks
Troubleshooting
| Issue | Solution |
|---|---|
| kaihe.local not accessible | Check Ethernet connection; try finding the A1's IP from your router admin |
| API key test fails | Verify the key is copied completely and your account has credits |
| Agent doesn't respond | Check if model configuration is saved; click "Test Connection" |
| Discord/Slack binding fails | Verify bot token and permissions are correct |
More questions: OpenClaw FAQ: 100 Common Questions
How to Get a Free API Key
| Provider | Free Credits | Signup Link |
|---|---|---|
| OpenAI | $5 credit on signup | platform.openai.com |
| Anthropic | Free tier available | console.anthropic.com |
| Google (Gemini) | Generous free tier | aistudio.google.com |
| DeepSeek | 5M free tokens on signup | platform.deepseek.com |
Start with 1-2 providers using free credits, then decide which to commit to long-term.