OpenClaw
Guide to Using OpenClaw with Infron
Account & API Keys Setup
Setup Guide
Step 1: Install OpenClaw
npm install -g openclaw@latestopenclaw onboard --install-daemonStep 2: Configure Infron Provider
{
"models": {
"mode": "merge",
"providers": {
"infron": {
"baseUrl": "https://llm.onerouter.pro/v1",
"apiKey": "<API_KEY>",
"api": "openai-completions",
"models": [
{
"id": "deepseek/deepseek-v3.2",
"name": "DeepSeek Chat via Infron",
"reasoning": false,
"input": ["text"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 64000,
"maxTokens": 8192
},
{
"id": "openai/gpt-5.2",
"name": "GPT-5.2 via Infron",
"reasoning": false,
"input": ["text", "image"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "google/gemini-3-pro-preview",
"name": "Gemini 3 Pro via Infron",
"reasoning": false,
"input": ["text", "image"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 200000,
"maxTokens": 8192
},
{
"id": "anthropic/claude-sonnet-4.5",
"name": "Claude Sonnet 4.5 via Infron",
"reasoning": false,
"input": ["text", "image"],
"cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "openai/gpt-5.2"
},
"models": {
"deepseek/deepseek-v3.2": {},
"openai/gpt-5.2": {},
"google/gemini-3-pro-preview": {},
"anthropic/claude-sonnet-4.5": {}
}
}
}
}Step 3: Add More Models (Optional)
Step 4: Verify the Configuration
Step 5: Set the Default Model
Use Cases
Via CLI Agent
Via Messaging Channels
Switching Models
Last updated