Integration · personal agent

OpenClaw on llmbox

OpenClaw is an open-source personal AI agent that runs on your computer and replies in messaging apps. Add llmbox as a provider to use DeepSeek, GPT, Gemini and Qwen with one API key. Pay per token.

  • The openclaw onboard wizard
  • Provider in openclaw.json
  • One API key
~/.openclaw/openclaw.json
openai-completions
baseUrl
https://llmbox.cc/v1
apiKey
${LLMBOX_API_KEY}
agents.defaults.model.primary
llmbox/deepseek/deepseek-v4-pro
models
listed in the config
  • deepseek/deepseek-v4-pro
  • openai/gpt-6.1-sol
  • google/gemini-3.1-pro
  • qwen/qwen3.8-max
  • + 28 more

Setup

Set up OpenClaw

  1. Install OpenClaw

    The installer sets up OpenClaw and launches the openclaw onboard setup wizard right away.

  2. Add the provider

    In the wizard, choose your own OpenAI-compatible endpoint and paste your API key from the dashboard and the Base URL — or define llmbox in openclaw.json (example below).

  3. List your models

    OpenClaw takes models from the config: add catalog IDs under models and set the main one in agents.defaults.model.primary.

    Full guide

Models

Models for the agent

A fast model for everyday tasks, a strong one for hard problems. All of them work with one llmbox API key.

Full catalog
Modelid in modelsInput, 1MOutput, 1M
DeepSeek V4 Prodeepseek/deepseek-v4-pro$0.19$0.555
DeepSeek V4.1 Flashdeepseek/deepseek-v4.1-flash$0.10$0.27
GPT-6.1 Solopenai/gpt-6.1-sol$1.80$5.00
GPT-5.6 Solopenai/gpt-5.6-sol$0.80$2.00
Gemini 3.1 Progoogle/gemini-3.1-pro$0.60$2.45
Qwen3.8 Maxqwen/qwen3.8-max$0.225$0.7875

Prices are per million tokens, from the catalog.

Config file

Provider in openclaw.json

The models.providers.llmbox block holds the address, the API key from the LLMBOX_API_KEY environment variable and the model list. mode: "merge" adds llmbox alongside the providers you already have, and models are referenced as llmbox/<ID>.

Example in the docs
~/.openclaw/openclaw.json
{
agents: {
defaults: { model: { primary: "llmbox/deepseek/deepseek-v4-pro" } },
},
models: {
mode: "merge",
providers: {
llmbox: {
baseUrl: "",
apiKey: "${LLMBOX_API_KEY}",
api: "openai-completions",
models: [
{ id: "deepseek/deepseek-v4-pro", name: "DeepSeek V4 Pro", reasoning: true },
{ id: "openai/gpt-6.1-sol", name: "GPT-6.1 Sol" },
],
},
},
},
}

How it works

Works like a built-in provider

Channels and skills

Messaging apps, skills and agent tasks work with llmbox models just like with built-in providers.

Usage in your dashboard

Track each request's model, tokens and cost in your dashboard. Set a spending limit for each API key.

Long chats use more tokens

Each agent step is a separate request that carries the chat history, so longer tasks use more input tokens. For frequent short tasks, a fast model is a good fit.

Scenarios with OpenClaw

Questions

FAQ

How do I connect my own model to OpenClaw?

Add an llmbox provider to openclaw.json with api: "openai-completions", the llmbox Base URL and your API key — or choose your own OpenAI-compatible endpoint in the openclaw onboard wizard.

Why do I have to list models in the config?

OpenClaw shows a provider's models from the models list in the config. Add catalog IDs there and they appear in the model picker.

Which API key does OpenClaw use?

Your llmbox API key from the dashboard. It is easiest to keep it in the LLMBOX_API_KEY variable and reference it in apiKey.

How are OpenClaw requests billed?

Agent requests are billed per token at catalog rates and deducted from your llmbox balance. Pay as you go, with no subscription.

Connect OpenClaw to llmbox

Create an API key in your llmbox dashboard after signing up.

OpenClaw is an open-source project under the MIT license.