-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathopenclaw.example.json
More file actions
80 lines (80 loc) · 2.14 KB
/
Copy pathopenclaw.example.json
File metadata and controls
80 lines (80 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"_comment": "Copy this file to openclaw.json and fill in your API keys. Then restart OpenClaw Gateway.",
"agents": {
"defaults": {
"workspace": "C:\\Users\\YOUR_USER\\.openclaw\\workspace",
"models": {
"deepseek/deepseek-v4-flash": { "alias": "DeepSeek" },
"deepseek/deepseek-v4-pro": { "alias": "DeepSeek Pro" },
"x-ai/grok-4": { "alias": "Grok" }
},
"model": "deepseek/deepseek-v4-flash"
}
},
"models": {
"mode": "merge",
"providers": {
"deepseek": {
"baseUrl": "https://api.deepseek.com/v1",
"api": "openai-completions",
"apiKey": "sk-YOUR_DEEPSEEK_API_KEY_HERE",
"models": [
{
"id": "deepseek-v4-flash",
"name": "DeepSeek V4 Flash",
"api": "openai-completions",
"reasoning": false,
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 65536
},
{
"id": "deepseek-v4-pro",
"name": "DeepSeek V4 Pro",
"api": "openai-completions",
"reasoning": false,
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 65536
}
]
},
"x-ai": {
"baseUrl": "https://api.x.ai/v1",
"api": "openai-completions",
"apiKey": "xai-YOUR_GROK_API_KEY_HERE",
"models": [
{
"id": "grok-4",
"name": "Grok 4",
"api": "openai-completions",
"reasoning": false,
"input": ["text"],
"contextWindow": 131072,
"maxTokens": 32768
},
{
"id": "grok-4-mini",
"name": "Grok 4 Mini",
"api": "openai-completions",
"reasoning": false,
"input": ["text"],
"contextWindow": 131072,
"maxTokens": 16384
}
]
}
}
},
"gateway": {
"mode": "local",
"port": 18789,
"bind": "loopback",
"http": {
"endpoints": {
"chatCompletions": { "enabled": true },
"models": { "enabled": true }
}
}
}
}