OpenClaw Continued Generating Paid API Requests After Shutdown — Previous Topic Closed

What are you trying to do?

Completely stop OpenClaw from operating and generating paid API requests, using the shutdown procedure recommended by the agent itself.

Environment

  • OpenClaw version: Not available

  • Operating system: macOS

  • Installation method: Not confirmed

  • Gateway location: Local Mac

  • Model provider: OpenRouter (Claude Sonnet 4.5 via Amazon Bedrock)

  • Communication channel: Telegram

What happened?

After discovering an initial incident involving unintended API charges, I contacted my OpenClaw agent through Telegram and asked how to stop its operation.

The agent presented two options and explicitly recommended Option 1: Stop the Gateway, describing it as a complete shutdown that would immediately stop all activity.

At 23:08, I selected Option 1.

At 23:09, I sent a follow-up message asking whether the shutdown was complete. The agent never responded.

Despite following the agent’s recommended shutdown procedure, additional paid API activity subsequently occurred.

This raises a serious concern: the software apparently continued generating expenses after I explicitly instructed it to stop.

What have you tried?

  • Followed the shutdown procedure recommended by the agent.

  • Contacted OpenRouter, which confirmed the API requests were processed and billed correctly.

  • Reported the incident through GitHub Issue #121199.

  • Requested an investigation and reimbursement through OpenClaw Community.

The previous community discussion was closed before I could present this additional evidence.

Previous discussion: [INSERT LINK]

Safe diagnostics

I have screenshots of the Telegram conversation documenting the agent’s shutdown instructions and my explicit selection of the recommended option.

I can also provide relevant OpenRouter billing records.

These records contain private information, so I request a secure, private channel to share the evidence with an authorized maintainer.

I would like to establish:

  1. Whether the Gateway was actually stopped.

  2. Why paid API requests continued after the shutdown instruction.

  3. Whether background processes could continue independently of the Gateway.

  4. Whether this behavior is expected, documented, or a software defect.

I am also requesting reconsideration of reimbursement for the resulting unintended charges.

Hey there,

The technical question here is whether the Gateway actually shut down. Your Telegram conversation demonstrates that you requested a shutdown, but it doesn’t establish that the underlying service successfully stopped.

On macOS, OpenClaw can run as a background service managed by launchd. Importantly, the Gateway cannot necessarily terminate its own managed service from within an agent session.

For a persistent shutdown, the documented procedure is to run the following from a separate macOS Terminal:

openclaw gateway stop --disable

Then verify the service state with:

openclaw gateway status --deep

If you’re still experiencing unexpected activity, we’ll need your OpenClaw version, the actual shutdown command and its output, and relevant redacted logs to determine what happened. Please don’t share API keys, credentials, or private billing information publicly.

We welcome technical reports with sufficient diagnostic information to investigate a reproducible issue.

Regarding reimbursement, our previous answer remains unchanged. The Foundation does not reimburse third-party API expenses incurred through using OpenClaw. You are directly responsible for any purchases you make or services and billing you incur, just as you would be if you used any other software, OS, or agent to make any purchased directed by you. We cannot provide refunds as we have not sold you anything. Our software is free, and open source.

Let’s keep this topic focused on diagnosing the Gateway behavior rather than revisiting an already answered refund request.

-Joe

Hey there,

Joe, I’ve recovered the Gateway logs and configuration from my Mac.

On March 31, after discovering unexpected API charges, I asked my OpenClaw agent through Telegram how to completely stop all activity and prevent further expenses.

The agent presented two options:

  1. Completely stop the Gateway using:
    launchctl unload ~/Library/LaunchAgents/ai.openclaw.gateway.plist

  2. Remove the OPENROUTER_API_KEY to prevent further paid API requests.

The agent specifically recommended Option 1, assuring me that this command alone would completely stop its operation, including for an extended period. Based on that assurance, I selected Option 1 at 23:08.

The Gateway logs confirm:

2026-03-31T23:08:22 [gateway] signal SIGTERM received
2026-03-31T23:08:22 [gateway] received SIGTERM; shutting down

At 23:09, I sent another Telegram message asking whether the shutdown was complete. The agent never responded, consistent with the shutdown it had promised.

However, the LaunchAgent configuration contains KeepAlive=1 and RunAtLoad=1.

On July 4, the Gateway started again, apparently without any new instruction from me. OpenRouter subsequently recorded 606 paid requests totaling $35.60 through August 9.

This is the central issue your previous responses have not addressed.

Why did OpenClaw resume operating and generating paid API requests after I followed the exact shutdown procedure recommended by its own agent?

The agent presented both options but explicitly convinced me that launchctl unload was sufficient. Had it warned me that this method might not reliably prevent future API activity, I could have chosen to remove the API key instead.

I cannot establish from the surviving logs exactly what triggered the July restart. However, I relied on the agent’s recommendation specifically to prevent further financial losses.

You have explained how to shut down the Gateway today, but not why the procedure recommended by OpenClaw itself failed to prevent subsequent activity.

Is providing users with misleading assurances about a shutdown procedure, resulting in further financial losses, considered acceptable behavior under OpenClaw’s policies?

I can provide the Telegram screenshots and redacted logs privately.

Please address the unexplained restart and subsequent API activity directly.

Hey there,

The additional details you’ve provided clarify what happened on March 31, but they do not establish a software defect.

Your logs confirm that the Gateway received SIGTERM and shut down. They do not establish that the underlying LaunchAgent was permanently disabled.

The distinction is important:

  • launchctl unload stops and unloads the service. It does not permanently disable it.

  • RunAtLoad=1 causes the Gateway to start whenever the LaunchAgent is subsequently loaded.

  • KeepAlive=1 keeps the Gateway running while that service is loaded.

A subsequent macOS login, restart, or service-management action could therefore account for the July 4 startup. We cannot establish which occurred from the evidence provided. Nothing presented demonstrates that OpenClaw disregarded a successful permanent shutdown. Open Source projects are not directly responsible for how you personally configure the software on your end, what you set up for billing with third-parties, or whether or not you have deactivated or uninstalled the software.

The agent’s non-response is not assurance that no future activity or charges could occur was not proof positive that you had uninstalled or deactivated the software on your machine. AI-generated assurances are not verification of system state and should not be treated as guarantees. Users remain responsible for managing their local services, API credentials, and associated third-party expenses. That isn’t something we’re able to change. How you use the software is entirely and exclusively up to you.

We’ve addressed the technical explanation and our position on “refund”.

We welcome independently reproducible software defects through GitHub, but we will not continue reopening this reimbursement dispute across multiple community topics.

The closest parallel would be akin to asking Chromium for a refund of a recurring streaming subscription because you closed the browser window and hadn’t unsubscribed from Netflix. You do use one to access the other, but they are not the same organization, one is an open source project with software that you determine the configuration for and operation and setup, while the other is a paid service. Expenses you incur by virtue of utilization of the software as a vector for making those purchases is entirely your responsibility.

Hopefully that helps clarify!

-Joe

I understand why this was frustrating. You asked your agent how to prevent further charges, followed its recommendation, and believed the issue was resolved. Discovering additional charges afterward would understandably undermine your confidence in that advice.

The important distinction is that an answer generated by your configured language model is not a guarantee from the OpenClaw Foundation. LLMs can give incorrect or incomplete advice, including confident assurances about system operations. Receiving that advice through OpenClaw does not make it an official recommendation or a commitment by the Foundation to cover resulting expenses.

OpenClaw is experimental, open-source software provided as-is, without warranty. Users remain responsible for operating their installations and managing the API credentials and paid services they connect. We cannot guarantee the accuracy of an agent’s responses or reimburse third-party costs resulting from reliance on them.

That does not mean your experience is irrelevant. Misleading shutdown advice and an unexpected restart are reasonable technical concerns to report, even though the available evidence has not established what caused the restart. Those concerns can be considered separately from the reimbursement request.

We won’t be able to reimburse these charges. We’ve now answered that request, so we ask that any further discussion focus on the technical evidence rather than reopening the compensation question.