Configure OpenClaw with a Free LLM API — No Credit Card
1. Pick your tool
2. Pick your free backend
Owl Alpha OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Owl Alpha",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Owl Alpha", "name": "Owl Alpha" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix NVIDIA: Nemotron 3 Nano Omni (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "NVIDIA: Nemotron 3 Nano Omni (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "NVIDIA: Nemotron 3 Nano Omni (free)", "name": "NVIDIA: Nemotron 3 Nano Omni (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Poolside: Laguna XS.2 (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Poolside: Laguna XS.2 (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Poolside: Laguna XS.2 (free)", "name": "Poolside: Laguna XS.2 (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Poolside: Laguna M.1 (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Poolside: Laguna M.1 (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Poolside: Laguna M.1 (free)", "name": "Poolside: Laguna M.1 (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix inclusionAI: Ling-2.6-1T (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "inclusionAI: Ling-2.6-1T (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "inclusionAI: Ling-2.6-1T (free)", "name": "inclusionAI: Ling-2.6-1T (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Tencent: Hy3 preview (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Tencent: Hy3 preview (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Tencent: Hy3 preview (free)", "name": "Tencent: Hy3 preview (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Baidu: Qianfan-OCR-Fast (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Baidu: Qianfan-OCR-Fast (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Baidu: Qianfan-OCR-Fast (free)", "name": "Baidu: Qianfan-OCR-Fast (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Google: Gemma 4 26B A4B (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Google: Gemma 4 26B A4B (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Google: Gemma 4 26B A4B (free)", "name": "Google: Gemma 4 26B A4B (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Google: Gemma 4 31B (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Google: Gemma 4 31B (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Google: Gemma 4 31B (free)", "name": "Google: Gemma 4 31B (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Google: Lyria 3 Pro Preview OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Google: Lyria 3 Pro Preview",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Google: Lyria 3 Pro Preview", "name": "Google: Lyria 3 Pro Preview" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix Google: Lyria 3 Clip Preview OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "Google: Lyria 3 Clip Preview",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "Google: Lyria 3 Clip Preview", "name": "Google: Lyria 3 Clip Preview" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix NVIDIA: Nemotron 3 Super (free) OpenRouter
// ~/.openclaw/openclaw.json (JSON5 format)
{
"agents": {
"defaults": {
"model": {
"primary": "NVIDIA: Nemotron 3 Super (free)",
},
},
},
"models": {
"providers": {
// Option A — Built-in provider (OpenAI, Anthropic, Google…)
// Just add apiKey; OpenClaw handles the baseUrl automatically
// "openai": { "apiKey": "<your-api-key>" },
// Option B — Custom OpenAI-compatible base URL (e.g. OpenRouter, NVIDIA)
"free-llm": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "<your-api-key>", // Get at https://openrouter.ai
"api": "openai-completions", // openai-completions | anthropic-messages | …
"models": [
{ "id": "NVIDIA: Nemotron 3 Super (free)", "name": "NVIDIA: Nemotron 3 Super (free)" },
],
},
},
},
}
// Apply: openclaw gateway restart
// Verify: openclaw doctor --fix