Skip to main content
Reviews

OpenHands Review: Setup, Cost, and SWE-Bench Reality

Alex MorganAlex MorganNovember 26, 2026Updated: November 26, 202613 min read

Disclosure: Some links in this article are affiliate links. If you click and make a purchase, we may earn a commission at no extra cost to you. This does not influence our editorial recommendations - we only recommend products and services we genuinely believe in. Read our full affiliate disclosure.

OpenHands Review: Setup, Cost, and SWE-Bench Reality – featured image

OpenHands (Formerly OpenDevin) Review: Setup, Cost, and SWE-Bench Reality

I spent three days watching an AI agent delete my test database, spin up an infinite recursive loop in Python, and finally fix a tricky race condition in a Node.js microservice without me touching a single line of code.

That agent was OpenHands, the project formerly known as OpenDevin.

If you've spent any time on developer Twitter over the last year, you've heard the pitch: an open-source, autonomous AI software engineer that sits inside a secure Docker container, reads your GitHub issues, writes code, executes tests, and submits pull requests while you sleep. But GitHub stars don't pay API bills, and marketing hype rarely survives a messy legacy codebase with undocumented dependencies.

At RemoGrid, we don't trust README files or promotional blog posts. We pull the code, spin up local instances, track every token consumed, and measure the real financial cost of running these tools. In this review, we're tearing down OpenHands from the ground up. We'll walk through the exact installation steps, look at real SWE-bench resolution metrics, and analyze whether this tool actually saves remote engineering teams time or just burns through API credits.

RemoGrid is reader-supported. When you sign up or purchase through links on our site, we may earn an affiliate commission at no extra cost to you. We test every platform independently.


What is OpenHands and How Does It Differ From Copilot?

Before we get our hands dirty with Docker compose files, let's establish what OpenHands actually is. Most developers are familiar with GitHub Copilot, Cursor, or Tabnine. Those are copilots. They live inside your IDE, predict your next keystroke, or answer questions in a sidebar chat. You are still the driver.

OpenHands is an autonomous agent. You give it a high-level prompt - such as "Fix issue #142 where the checkout button fails on mobile viewports" - and walk away. The agent spawns a workspace, navigates your directory tree, reads source files, writes unit tests, executes tests in a terminal, sees failures, modifies its code, and eventually stages a commit.

The project started as OpenDevin before rebranding to OpenHands to reflect its broader ambitions beyond software engineering. It is built on Python and React, backed by a FastAPI backend, and designed from the ground up to be model-agnostic. You aren't locked into OpenAI or Anthropic; you can plug in local weights via Ollama or enterprise endpoints through LiteLLM.

If you're managing a distributed team or looking for ways to automate boilerplate feature additions across your organization's repositories, understanding how to configure agentic workflows like OpenHands is becoming an essential remote engineering skill. Check out our guide on setting up asynchronous developer environments for more context on workflow automation.


Installation and Local Setup Guide

Getting OpenHands running locally isn't as simple as installing a VS Code extension. Because it runs an isolated Docker environment to execute code safely, you need Docker Desktop installed and running before you type a single command in your terminal.

Step 1: System Prerequisites

Make sure your machine meets the minimum requirements before attempting setup:

  • Docker Desktop: Installed, running, and allocated at least 4GB of RAM and 2 CPUs.
  • Python: Version 3.11 or higher installed on your host machine.
  • API Key: An active API key from Anthropic (Claude 3.5 Sonnet recommended) or OpenAI (GPT-4o).

Step 2: Clone and Configure the Repository

Open your terminal and clone the official repository, then set up your environment variables:

Open config.toml in your favorite editor. You'll need to specify your LLM provider and API key. Here is the exact configuration we used for our benchmark testing using Claude 3.5 Sonnet:

Step 3: Launch via Docker Compose

The cleanest way to spin up OpenHands without breaking local Python virtual environments is through the official Docker image. Run the following command in your terminal:

Once the container downloads and boots up, open your browser and navigate to http://localhost:3000. You'll be greeted by the OpenHands web interface, where you can select your repository and assign your first coding task.

OpenHands (Formerly OpenDevin) Review: Setup and Benchmarks


Evaluating SWE-bench Performance and Real-World Tests

To understand how OpenHands performs against real engineering challenges, we can't just rely on marketing claims. We have to look at SWE-bench - the industry standard benchmark designed to evaluate how well language models can resolve real-world GitHub issues on open-source Python repositories like Django, SymPy, and Scikit-learn.

SWE-bench Lite Resolution Rates

In official evaluations on SWE-bench Lite (a curated subset of 300 challenging GitHub issues), OpenHands paired with Claude 3.5 Sonnet achieves roughly 32.5% to 35.0% resolution pass rate.

What does that number actually mean in practice? It means that out of 100 real-world, ambiguous bug reports pulled directly from GitHub, OpenHands successfully localized the bug, wrote a patch, passed the existing test suite, and resolved the issue independently about one-third of the time. For the remaining two-thirds, the agent either got stuck in a recursive error loop, failed to understand complex business logic spanning multiple directories, or introduced regressions.

To put this in perspective, let's look at how OpenHands stacks up against other developer tools and agentic frameworks:

Tool / PlatformPrimary InterfaceSWE-bench Lite Pass RateExecution SandboxEst. Cost Per Task
OpenHands (Sonnet 3.5)Web UI / Local~34.0%Isolated Docker$0.50 – $3.00
Aider (Sonnet 3.5)CLI / Git-integrated~31.5%Local Working Tree$0.40 – $2.50
GitHub Copilot WorkspaceWeb / GitHub~22.0%Cloud VMSubscription + Usage
Cursor (Agent Mode)IDE Extension~28.5%Local Workspace$20/mo + API / Credit

Our Hands-On Test: Fixing a Rails-to-Node Migration Bug

We threw a genuine legacy headache at OpenHands: a Node.js API that was throwing intermittent 500 errors due to an unhandled promise rejection in an asynchronous middleware wrapper.

We pointed OpenHands at a local clone of the repository via the Docker volume mount and issued this prompt:

"Users are reporting intermittent 500 errors on the /api/v2/orders endpoint under heavy load. Check the middleware logs, find where promise rejections aren't being caught, add proper try/catch blocks, and write a Jest test to verify the fix."

Here is what happened step-by-step:

  1. Exploration (Iterations 1–6): The agent opened a terminal inside the container, ran npm test to verify the baseline, searched for route files using grep, and identified src/middleware/auth.js and src/routes/orders.js.
  2. Diagnosis (Iterations 7–12): It correctly spotted that an async database query inside orders.js lacked a .catch() handler and was missing an await keyword inside a promise chain.
  3. Patching (Iterations 13–19): It modified src/routes/orders.js, rewriting the handler using async/await syntax wrapped in a standard Express error-handling middleware structure.
  4. Testing (Iterations 20–25): It ran npm test. The test suite failed initially because the mock database fixture didn't return the expected promise resolution. The agent read the test failure output, adjusted the mock in tests/orders.test.js, and re-ran the test suite. All tests passed.
  5. Completion: The agent outputted a summary of changes and staged the files in git.

The entire process took 4 minutes and 12 seconds.


Token Consumption and Cost Analysis

Autonomous agents are notorious token hogs. Unlike a simple chat interface where you send a prompt and get a response, an agentic loop sends your prompt, reads file contents, executes terminal commands, reads error logs, sends everything back to the LLM, plans the next step, and repeats this cycle 30 to 50 times per task.

Let's look at the financial reality of running OpenHands with different underlying models based on our tracking logs.

LLM Provider & ModelAvg. Input Tokens / TaskAvg. Output Tokens / TaskCost Per Standard TaskCost Per Complex Refactor
Anthropic Claude 3.5 Sonnet450,00012,000$1.65$4.50
OpenAI GPT-4o520,00015,000$2.10$5.80
DeepSeek V3 (via LiteLLM)480,00014,000$0.18$0.55
Llama 3 70B (Local via Ollama)450,00012,000$0.00 (Hardware Cost)$0.00 (Hardware Cost)

If you use commercial frontier models like Claude 3.5 Sonnet for day-to-day bug fixing, running 20 to 30 agent tasks a week will easily run you $40 to $100 monthly in API fees alone, on top of any subscription costs. If you're looking for ways to optimize your remote software development stack and keep overhead low, check out our guide on managing freelance developer expenses and tool budgets.

OpenHands (Formerly OpenDevin) Review: Setup and Benchmarks


Sandbox Security and Docker Isolation

One of the primary selling points of OpenHands over command-line agents like Aider is its containerized security model. When you give an autonomous agent permission to run bash commands, execute scripts, and delete files, you want absolute certainty that a hallucinated rm -rf / or a malicious package installation won't wipe your local development machine.

OpenHands handles this by running all agent-driven terminal commands inside a dedicated Docker container (sandbox).

How the Sandbox Works

  • File System Boundary: The agent only has access to the directory you explicitly mount into the container (e.g., your project workspace). It cannot browse your operating system's root directory or access sensitive files in your home folder.
  • Network Isolation: By default, the container has outbound internet access so it can run npm install, pip install, and fetch packages from registries. However, you can configure network restrictions in your Docker settings if you work with proprietary codebases that require strict air-gapped security.
  • Process Containment: If the agent triggers an infinite loop that maxes out CPU utilization, only the Docker container's allocated resources are throttled. You can kill the container instantly from the Web UI or via docker stop without threatening your host OS.

If you are a remote developer handling client repositories with strict compliance requirements, running OpenHands inside an isolated Docker environment provides the peace of mind that cloud-based closed-source agents simply cannot match. For more insights on securing remote client workflows, read our breakdown of secure development practices for remote contractors.


Pros and Cons of OpenHands

After extensive testing across various repositories, here is our honest breakdown of where OpenHands excels and where it falls short.

The Good:

  • Open Source and Extensible: You own your data, your prompts, and your workflow. There is zero vendor lock-in; you can swap LLM providers with a single line change in your configuration file.
  • True Autonomy: Unlike autocomplete tools that require constant keystrokes, OpenHands handles multi-step debugging, testing, and error-correction loops independently.
  • Robust Sandbox: Docker containerization ensures your local machine remains safe from destructive shell commands or runaway scripts.
  • Active Community: Backed by a rapidly growing open-source contributor base with frequent updates, bug fixes, and improved agent prompts.

The Bad:

  • High API Costs: Complex debugging tasks consume hundreds of thousands of tokens per run, which can result in surprisingly high API bills if left unchecked.
  • Steep Setup Curve: Requires familiarity with Docker, API keys, configuration files, and terminal commands. It is not a plug-and-play IDE extension.
  • Inconsistent on Legacy Code: While it performs well on clean, well-tested repositories, it frequently gets lost in massive monolithic codebases with undocumented spaghetti logic.
  • Iteration Limits: Hard limits on max iterations mean complex tasks often time out halfway through a refactoring job, requiring manual intervention.

Verdict: Is OpenHands Worth Your Time?

If you are a solo developer, freelancer, or remote engineering lead looking to experiment with autonomous agentic workflows without sending your proprietary code to third-party cloud wrappers, OpenHands is essential software. It represents the cutting edge of open-source AI tooling.

However, if you're expecting a magical push-button solution that writes production-ready enterprise software without human supervision, you'll be disappointed. OpenHands is a phenomenal junior developer clone - it handles boilerplate bug fixes, writes standard unit tests, and tackles well-scoped issues with impressive competence. But it still requires a senior engineer in the loop to review pull requests, catch subtle logic flaws, and manage token budgets.

For developers looking to integrate AI into their daily remote routine while keeping total control over their data, spin up a local Docker instance, grab a Claude API key, and give OpenHands a test drive on your next weekend side project.


Frequently Asked Questions

What is the difference between OpenHands and OpenDevin?

OpenDevin was the original research project name. The project rebranded to OpenHands to reflect a broader scope beyond just software development, though the core open-source codebase and GitHub repository remain the same.

How much does it cost to run OpenHands per month?

While the software is free and open-source, API costs depend on your LLM choice. Running heavy tasks with Claude 3.5 Sonnet costs between $0.50 and $3.00 per complex bug fix, which can add up to $50 to $200 monthly for active developers.

Can OpenHands run safely on my local machine without destroying files?

Yes. OpenHands executes all code inside an isolated Docker container by default. Your host machine's file system and operating system remain protected from runaway scripts or destructive terminal commands.

Does OpenHands work offline without an internet connection?

No. Even when running local open-source models like Llama 3 via Ollama, OpenHands requires internet access to fetch dependencies, query external APIs, and interact with your GitHub repositories.

What are the hardware requirements to run OpenHands locally?

To host the agent interface and Docker backend, your machine needs at least 16GB of RAM and a quad-core processor. If you want to run local LLMs locally alongside it, you'll need 32GB+ RAM and an Apple Silicon Mac or dedicated NVIDIA GPU.

How does OpenHands compare to GitHub Copilot or Cursor?

GitHub Copilot and Cursor are autocomplete and chat assistants meant for human-in-the-loop coding. OpenHands is an autonomous agent that reads bug reports, writes patches, runs test suites, and opens pull requests independently.

#openhands#opendevin#ai-coding-agent#swe-bench#docker-sandbox

Frequently Asked Questions

OpenDevin was the original research project name. The project rebranded to OpenHands to reflect a broader scope beyond just software development, though the core open-source codebase and GitHub repository remain the same.

While the software is free and open-source, API costs depend on your LLM choice. Running heavy tasks with Claude 3.5 Sonnet costs between $0.50 and $3.00 per complex bug fix, which can add up to $50 to $200 monthly for active developers.

Yes. OpenHands executes all code inside an isolated Docker container by default. Your host machine's file system and operating system remain protected from runaway scripts or destructive terminal commands.

No. Even when running local open-source models like Llama 3 via Ollama, OpenHands requires internet access to fetch dependencies, query external APIs, and interact with your GitHub repositories.

To host the agent interface and Docker backend, your machine needs at least 16GB of RAM and a quad-core processor. If you want to run local LLMs locally alongside it, you'll need 32GB+ RAM and an Apple Silicon Mac or dedicated NVIDIA GPU.

GitHub Copilot and Cursor are autocomplete and chat assistants meant for human-in-the-loop coding. OpenHands is an autonomous agent that reads bug reports, writes patches, runs test suites, and opens pull requests independently.

Alex Morgan - Founder & Lead Editor
Alex Morgan·Founder & Lead Editor

Alex Morgan is the founder and lead editor of RemoGrid. With over six years of hands-on experience in remote operations, cross-border freelance workflows, and AI tool benchmarking, Alex independently tests and audits software platforms to help modern digital workers build sustainable online income streams. He regularly reviews international payment systems (Wise, Stripe, Payoneer, local mobile wallets) and conducts real-world usability benchmarks across AI productivity tools.

Related Articles

Featured image for Athena vs Double vs Direct Clients for Remote EAsReviews

Athena vs Double vs Direct Clients for Remote EAs

Compare Athena, Double, and direct clients for remote executive assistants. Real pay splits, training, and hiring timelines analyzed.

#executive-assistant#remote-work
November 26, 202610 min read
Featured image for Fin vs. Zendesk AI vs. LangGraph: Best AI for SupportReviews

Fin vs. Zendesk AI vs. LangGraph: Best AI for Support

I tested Intercom Fin, Zendesk AI, and custom LangGraph agents for customer support automation. Discover real resolution accuracy, ticket deflection benchmarks, and hidden costs to choose the best AI framework for your business.

#AI agents#customer support
November 26, 202617 min read