How we made this. On 28 November 2026 we read OpenClaw's own site and docs, Anthropic's Claude pricing page and the Claude Code docs, and Hermes Agent's site. Every price and feature below links to the maker's page in Sources. We did not run a hands-on test for this piece: the worked example further down follows each product's documented steps and is labelled as such. Vestra makes Vestra, which appears near the end. AI helped draft this; a person checked it. Reviewed by Shubham Verma.
OpenClaw vs Claude Code comes down to the job. OpenClaw is a free, open-source personal agent you host yourself and message from WhatsApp, Telegram, Slack and other chat apps, so it suits personal admin and an always-on assistant. Claude Code is Anthropic's coding agent for the terminal, IDE, desktop and web, included in paid Claude plans from $20 a month, so it suits writing and fixing code.
They overlap more than the names suggest. OpenClaw can run Claude models and even launch Claude Code itself, and Claude Code can now take messages from Telegram, Discord and iMessage in a research preview. This guide compares the two on price, where each runs, what each can touch, approvals and memory, as of 28 November 2026, then shows how to run both, and where an office of AI teammates like Vestra fits.
Quick answer
- Pick OpenClaw for a personal assistant that lives in your chat apps, runs on your own machine, works with any model provider and costs nothing beyond the models you use.
- Pick Claude Code for software work: reading a codebase, editing files, running tests and opening pull requests, from the terminal, VS Code, JetBrains, the desktop app or the browser.
- Price: OpenClaw has no paid tier; you pay your model provider. Claude Code comes with Claude Pro ($20 a month, or $17 a month billed yearly), Max ($100), Ultra ($200) and Team and Enterprise seats.
- Run both: OpenClaw can use your Claude Code login as its Claude runtime, and its
openclaw attachcommand launches Claude Code with access to one OpenClaw session's tools. - For a team of agents on different engines under one lead: that is a different product. Vestra runs Claude Code, Codex and its own engine as teammates under one chief. It does not run OpenClaw.
Key takeaways
- OpenClaw is a self-hosted gateway between your chat apps and an AI agent. Its makers say it has "no subscription", "no hosted tier" and "no paid version".
- Claude Code is included in every paid Claude plan and shares that plan's usage limits with your Claude chats.
- OpenClaw can reach your whole computer (web, files, shell) or run sandboxed, your choice. Claude Code's default Manual mode asks before most edits, commands and network calls; newer versions start interactive sessions in auto mode, where a second model reviews actions.
- Both can run on a schedule. OpenClaw's automations run on your gateway machine. Claude Code's cloud scheduled tasks run on Anthropic's cloud, even with your computer off, at most once an hour.
- OpenClaw keeps memory as Markdown files on your disk. Claude Code reads project instructions from CLAUDE.md files.
- If you are moving from Claude Code to OpenClaw, OpenClaw imports your CLAUDE.md, MCP servers and skills, but leaves hooks, permissions and subagents for you to move by hand.
Contents
- What is the difference between OpenClaw and Claude Code?
- How do OpenClaw and Claude Code compare, side by side?
- How much do OpenClaw and Claude Code cost?
- Which one should you use for coding?
- Which one should you use as a personal assistant?
- Which one is safer to give access to your computer?
- How do the two handle the same task? A worked example
- Can you run OpenClaw and Claude Code together?
- What about Codex and Hermes Agent?
- How do you run Claude Code and Codex as teammates under one chief?
- Frequently asked questions
- Glossary
- Sources
What is the difference between OpenClaw and Claude Code?
OpenClaw is an assistant you host that acts across your chat apps and your computer. Claude Code is a coding agent made by Anthropic that works inside a codebase. OpenClaw is model-neutral and free; Claude Code runs on Anthropic's Claude models and comes with a paid Claude plan. One is built around messaging, the other around software.
OpenClaw, in its docs' words, is "a self-hosted gateway that connects your favorite chat apps" to AI agents. You run one Gateway process on your own machine or a server, and it becomes the bridge between apps like WhatsApp, Telegram, Discord, Slack, Signal and iMessage and an assistant that is always available. The site lists jobs like organising your inbox, sending emails, managing your calendar and checking you in for flights. It is MIT licensed and stewarded by the OpenClaw Foundation, an independent US non-profit, which says "there is no enterprise edition and no paid version".
Claude Code is "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools", per Anthropic's docs. It runs in the terminal, in VS Code and JetBrains IDEs, in the Claude desktop app and in the browser, and every surface shares the same engine, so a repo's CLAUDE.md files, settings and MCP servers work across all of them.
Definition: agent harness. The software around a model that lets it act: the loop that reads a task, picks a tool, runs it and checks the result. OpenClaw and Claude Code are both harnesses. They differ in which tools they hand the model and where they put it.
How do OpenClaw and Claude Code compare, side by side?
They differ most on where they run, what they cost and what they are built to touch. OpenClaw runs on your own hardware with any model and meets you in chat apps. Claude Code runs on your machine or Anthropic's cloud with Claude models and meets you in your editor. Both schedule work, keep memory and can ask before acting.
Checked on 28 November 2026 against each maker's own pages:
- Made by: OpenClaw: OpenClaw Foundation (non-profit), open source, MIT. Claude Code: Anthropic.
- Built for: OpenClaw: A personal or shared assistant in your chat apps. Claude Code: Coding: read, edit, test and ship software.
- Price: OpenClaw: Free; you pay your model provider. Claude Code: Included in Claude Pro ($20/mo), Max ($100), Ultra ($200), Team and Enterprise.
- Models: OpenClaw: Any: hosted, subscription-backed, gateway or local. Claude Code: Anthropic's Claude models.
- Where it runs: OpenClaw: Your Mac, Windows or Linux machine, or your server. Claude Code: Your machine (terminal, IDE, desktop app) or Anthropic's cloud (web).
- Where you talk to it: OpenClaw: WhatsApp, Telegram, Discord, Slack, Signal, iMessage and more (29 channels, per its site), a web dashboard, iOS and Android apps. Claude Code: Terminal, VS Code, JetBrains, desktop app, browser; phone via Remote Control; Telegram, Discord and iMessage via Channels (research preview).
- What it can touch: OpenClaw: Web, forms, files, shell commands; full access or sandboxed. Claude Code: Your codebase, shell commands, network; MCP servers and connectors.
- Approvals: OpenClaw: Exec approvals: allow once, always allow here, or deny. Claude Code: Permission modes: Manual asks first; auto mode uses a reviewing model.
- Memory: OpenClaw: Markdown files on your disk (daily notes and MEMORY.md). Claude Code: CLAUDE.md project and user instruction files.
- Scheduling: OpenClaw: Automations on your gateway. Claude Code: Cloud scheduled tasks (minimum 1 hour), Desktop scheduled tasks, /loop.
- Team use: OpenClaw: One shared gateway, sessions the team can open and steer. Claude Code: Team and Enterprise seats; Claude Tag routes Slack reports to pull requests.
How much do OpenClaw and Claude Code cost?
OpenClaw itself is free, with no paid tier; your cost is the AI model behind it, billed by whichever provider you connect. Claude Code is included in Claude's paid plans: Pro at $20 a month ($17 billed yearly), Max at $100 and Ultra at $200, with usage limits that your chats and coding share.
OpenClaw. The site says "No subscription. No hosted tier." The docs say you need "an API key from your chosen provider", and OpenClaw can also reuse some subscriptions. For Claude, it supports two routes: an Anthropic API key with usage-based billing, or your existing Claude Code login. OpenClaw's own docs warn that the second route draws from your Claude subscription's limits, and that an API key "is preferable for shared automation or predictable production spend". Your machine's running cost is yours too, since the gateway has to stay on.
Claude Code. Anthropic's pricing page lists:
- Free: $0, without Claude Code.
- Pro: $20 a month, or $17 a month billed yearly ($200 up front). Includes Claude Code.
- Max: $100 a month. Five times Pro's usage, plus $100 a month in API credits.
- Ultra: $200 a month. Ten times Pro's weekly usage, no five-hour limit for verified accounts, and $200 a month in API credits.
- Team: standard seats $25 a month ($20 billed yearly), premium seats $125 ($100 billed yearly), for 2 to 150 people.
- Enterprise: $20 a seat a month billed yearly, 20-seat minimum, plus usage at API rates.
Anthropic's pricing page says Claude Code "shares the same usage limits as the rest of your plan". For teams billed at API rates, Anthropic's cost guide gives its own figure: across enterprise deployments, "the average cost is around $13 per developer per active day and $150-250 per developer per month". That is Anthropic's reported average, not a quote.
Which one should you use for coding?
Use Claude Code for coding. It is built to read a whole codebase, edit files, run tests and commands, and hand work between your terminal, IDE, desktop app and phone. OpenClaw can write code too, and can drive Claude Code or Codex underneath, but its strength is reaching you in chat, not working inside a repo.
What Claude Code gives a developer, per its docs:
- Many surfaces, one engine: the CLI, VS Code and JetBrains extensions, a desktop app with visual diffs and side-by-side sessions, and cloud sessions in the browser.
- Hand-offs: start a task on the web or the Claude mobile app and pull it into your terminal with
claude --teleport, or continue a terminal session in the desktop app with/desktop. - Remote Control: keep a local session going from your phone or any browser. The session still runs on your machine, so the computer has to stay on. It works on Pro, Max, Ultra, Team and Enterprise, not with API keys.
- Automation: GitHub Actions and GitLab CI/CD, automatic code review on pull requests, and cloud scheduled tasks for jobs like morning PR reviews.
OpenClaw's coding story runs through other harnesses. Its docs describe a Codex harness that runs OpenClaw turns through the official Codex app-server, and a Claude CLI route that runs turns through your installed Claude Code. That is useful if you want to start coding work from WhatsApp. If you spend your day in an editor, Claude Code is the more direct tool.
Which one should you use as a personal assistant?
Use OpenClaw as a personal assistant. It lives in the chat apps you already use, works in DMs and group chats, remembers your preferences between conversations, and can browse, fill forms and run commands on your machine. Claude Code can receive chat messages in a research preview, but it is a coding tool first.
OpenClaw's site lists the jobs it is made for: inbox, email, calendar and flight check-ins, "all from WhatsApp, Telegram, or any chat app you already use". Its integrations page includes Gmail, GitHub, Obsidian, a browser and smart-home controls. Its showcase includes community setups for daily briefings, calendar conflicts and invoices. Mobile apps for iOS and Android pair with your own gateway for chat, voice and approvals.
Claude Code's chat side is narrower. Its Channels feature, in research preview, lets Telegram, Discord and iMessage push messages into a running session. Each channel is a plugin you install and set up with your own bot token, and Team and Enterprise organisations must switch it on. It is a doorway into a coding session, not a full assistant across your life admin.
Which one is safer to give access to your computer?
Neither is safe by default for everything; both let you choose how much they can do alone. OpenClaw can be given full system access or a sandbox, and asks for approval on commands by policy. Claude Code's Manual mode asks before most edits, commands and network calls, and its auto mode lets a second model review actions instead of you.
OpenClaw gives you three main controls, per its docs:
- Sandboxing: run group-chat sessions in Docker or Podman while your private DMs stay on your machine, and mount host folders read-only.
- Exec approvals: each command can be allowed once, always allowed in that folder with those exact arguments, or denied. Pending approvals show in chat apps like Slack, Telegram and Discord, and in the command line.
- Access lists: limit which phone numbers or accounts can message the agent, and require a mention in groups.
Claude Code sets this with permission modes. In Manual mode it "stops and asks you before most actions that edit files, run shell commands, or reach the network". In auto mode a classifier model reviews actions; from version 2.1.283 that is the starting mode for interactive terminal and VS Code sessions. A bypass mode skips checks and is refused in restricted setups.
The bigger risk difference is scope. OpenClaw is designed to reach your messages, inbox and accounts. Claude Code is designed to reach a codebase. An assistant with your email and your shell needs tighter rules than one inside a repo.
How do the two handle the same task? A worked example
This is a worked example from each product's docs, not a test we ran. The task: "Every weekday at 8 am, read new issues on my GitHub repo, write a short triage note, and send it to me on Telegram." OpenClaw does it end to end on your own machine; Claude Code does the triage in the cloud and needs extra setup to reach Telegram.
In OpenClaw, per its docs:
- Install with the one-line installer or a desktop app, then run
openclaw onboardand connect a model provider. - Connect Telegram as a channel (the docs call it the fastest) and pair your account.
- Give the agent GitHub access through its GitHub integration.
- Create an automation: the docs recommend automations for jobs like "Send daily report at 9 AM sharp", with their own schedule, delivery policy and history.
- Approve the commands it needs once, or set "always allow here" for the exact command.
The gateway machine has to be on at 8 am. The note arrives in Telegram, and the run's history sits on your machine.
In Claude Code, per its docs:
- On a paid Claude plan, create a cloud scheduled task from the web, the desktop app or
/schedulein the CLI. - The task runs on Anthropic's cloud against a fresh clone of the repo, with connectors set per task, in auto mode by default. It can also fire on GitHub events instead of a clock.
- The minimum interval is one hour, so a weekday 8 am schedule fits.
- For Telegram, the documented route is Channels, a research preview that pushes messages into a running session and needs a Telegram bot token. A cloud task posting its note as a GitHub comment needs no extra setup.
What the example shows. For "message me on my phone every morning", OpenClaw is the natural fit. For "triage my repo every morning, even with my laptop shut", Claude Code's cloud tasks are the natural fit.
Can you run OpenClaw and Claude Code together?
Yes, and OpenClaw's docs show three ways. OpenClaw can run its Claude turns through your installed, logged-in Claude Code. Its openclaw attach command launches Claude Code with temporary access to one OpenClaw session's tools. And it can import your Claude Code setup: CLAUDE.md instructions, MCP servers and skills.
- Claude Code as OpenClaw's Claude runtime: pick the Claude CLI route during
openclaw onboard. OpenClaw talks to the installedclaudeprogram and never reads or stores its login tokens. This draws on your Claude plan's limits. openclaw attach: launches Claude Code with a temporary MCP grant bound to one gateway session. OpenClaw starts Claude Code with a strict MCP config so your other MCP servers do not join, and revokes the grant when Claude Code exits.- Migrating:
openclaw migrate claude --dry-runpreviews an import. Project CLAUDE.md content goes into OpenClaw's AGENTS.md, your user CLAUDE.md into USER.md, MCP servers and skills come across, and Claude commands become skills. Claude hooks, permissions, subagents and CLAUDE.local.md stay in a report for you to move by hand.
A common pattern is OpenClaw as the front door on your phone and Claude Code as the worker on the code. Remember that both then draw on the same Claude limits if you use the Claude CLI route.
What about Codex and Hermes Agent?
Codex and Hermes Agent come up in the same searches. Codex is OpenAI's coding agent, Claude Code's closest rival, and OpenClaw can run turns through it. Hermes Agent, from Nous Research, is a free, open-source personal agent like OpenClaw that lives in chat apps, and OpenClaw can import a Hermes setup.
- Codex: OpenClaw's docs describe a Codex harness that runs OpenClaw turns through the official Codex app-server, with its own approval and sandbox presets. For a two-engine coding setup, see how to use Claude Code and Codex together.
- Hermes Agent: its site describes an agent that works across Telegram, Discord, Slack, WhatsApp, Signal, email and the command line, with persistent memory, natural-language scheduling, subagents and five sandbox backends. It is "free and open source under the MIT license", with optional paid Nous Portal tiers for model and tool credits. OpenClaw's docs include a previewed import from Hermes.
If you are weighing OpenClaw against other assistants for a business, our OpenClaw alternatives for businesses guide compares 12 options.
How do you run Claude Code and Codex as teammates under one chief?
Use an office of AI teammates rather than one harness. In Vestra, a chief runs a team of teammates, and each teammate runs on the engine you pick: Vestra's own, Claude Code or Codex. One can build on Claude Code while another reviews on Codex, under the same rules. Vestra makes Vestra, and it does not run OpenClaw.
OpenClaw and Claude Code are each one agent harness. If the work needs several agents on different engines, each with its own job, you need something above them that hands out work, holds the rules and keeps the receipts. That is what Vestra is for. What is live today, per Vestra's handbook:
- A chief and a team of teammates: you hire teammates by describing the job in a sentence, with routines and a morning brief.
- Any engine, per teammate: Vestra's own engine, Claude Code or Codex, picked by you or suggested by your chief. Switching engines keeps the teammate's job and memory.
- The same rules on every engine: daily and per-task spending caps, your yes on money and deletions, and every credit itemised on a receipt. One credit is one cent on every engine.
- A cloud computer where you watch the team work in a real browser and can take over, plus more than 2,000 apps connected in a click.
- Your chief in the app, Slack, Telegram and email, on the web and the Mac desktop app.
Plans start at $19 a month (Lite, up to 3 teammates) and run to Pro at $97, Max at $197 and Ultra at $497. New offices start with 1,000 free credits.
What is still being built: the office you can walk around, a chief for every person on a team, and reaching your chief over WhatsApp and iMessage are listed as "Building now". A phone and inbox for every teammate comes after that.
Where Vestra loses. If you want one free assistant on your own hardware with any model, OpenClaw does that and Vestra does not. If you only need one coding agent, a Claude plan with Claude Code is simpler and cheaper. Vestra fits when the job is a team of agents on different engines that need one lead. More in Vestra vs OpenClaw, Vestra vs Claude Code and what an AI agent engine is.
Frequently asked questions
Is OpenClaw better than Claude Code?
Neither is better overall; they do different jobs. OpenClaw is better as a personal assistant in your chat apps on your own hardware. Claude Code is better for writing and fixing code. Many people run both, with OpenClaw using Claude Code as its Claude runtime.
Is OpenClaw free?
Yes. OpenClaw is open source under the MIT licence, with no subscription, hosted tier or paid version, per its makers. You pay for the AI models it uses, through an API key or a supported subscription, and for the machine it runs on.
Does Claude Code come with the free Claude plan?
No. Anthropic's pricing page lists Claude Code from the Pro plan up ($20 a month, or $17 billed yearly). It is included in Max, Ultra, Team and Enterprise too, and it shares usage limits with the rest of your plan.
Can OpenClaw use my Claude subscription?
Yes, through the Claude CLI route: OpenClaw runs turns through your installed and logged-in Claude Code, so usage counts against your Claude plan. OpenClaw's docs recommend an Anthropic API key instead for shared automation or predictable spend.
Can I talk to Claude Code from Telegram or WhatsApp?
From Telegram, Discord and iMessage, yes, through Channels, which is in research preview and needs a running session. Anthropic's Channels docs do not list WhatsApp. OpenClaw supports WhatsApp, Telegram and many more chat apps natively.
Does OpenClaw work on Windows?
Yes. OpenClaw offers desktop apps for macOS, Windows and Linux, and a one-line installer for each. Its site notes Microsoft's work to run it natively on Windows in Microsoft Execution Containers.
Can I move my Claude Code setup to OpenClaw?
Mostly. openclaw migrate claude imports CLAUDE.md instructions, MCP servers, skills and commands, after a preview. Hooks, permissions, subagents and CLAUDE.local.md are copied into a report for you to move by hand.
Does Vestra run OpenClaw?
No. Vestra's live engines are its own, Claude Code and Codex, picked teammate by teammate under one chief. If you want OpenClaw specifically, run it yourself; if you want Claude Code and Codex working together as a team, that is what Vestra does.
Glossary
- Agent harness: the software around a model that lets it read a task, use tools and check results. OpenClaw and Claude Code are both harnesses.
- Gateway: OpenClaw's always-running process that links your chat apps, devices and the agent.
- Channel: a chat app connection. In OpenClaw, one of many apps like WhatsApp or Slack; in Claude Code, a research-preview plugin that pushes messages into a session.
- MCP (Model Context Protocol): an open standard for connecting AI tools to outside data and tools.
- Permission mode: Claude Code's setting for which actions it may take without asking.
- Exec approval: OpenClaw's yes or no on a shell command, once or always in one folder.
- CLAUDE.md: a file of standing instructions that Claude Code reads for a project or a user.
- Engine: in Vestra, what a teammate runs on: Vestra's own, Claude Code or Codex.
Sources
- OpenClaw: Home page
- OpenClaw: Docs overview
- OpenClaw: Anthropic provider (API key and Claude CLI routes)
- OpenClaw: Attach CLI
- OpenClaw: Migrating from Claude
- OpenClaw: Approvals CLI
- OpenClaw: Chat channels
- OpenClaw: Docs index, with channel approval pages
- OpenClaw: Sandboxing and memory FAQ
- OpenClaw: Automation
- OpenClaw: Codex harness
- OpenClaw: Blog
- Anthropic: Claude plans and pricing
- Anthropic: Claude Code overview
- Anthropic: Remote Control
- Anthropic: Channels
- Anthropic: Scheduled tasks
- Anthropic: Permission modes
- Anthropic: Manage costs effectively
- Nous Research: Hermes Agent
