Free OpenClaw Gateway with Local LLM on Oracle Cloud

A developer on r/openclaw detailed a method to run OpenClaw Gateway with a local large language model (LLM) for free using Oracle Cloud's free tier. The approach avoids paying for LLM tokens by hosting both components on a cloud instance.
Infrastructure Setup
The solution uses Oracle Cloud's free tier. The ideal free instance shape is VM.Standard.A1.Flex, offering an ARM-based Ubuntu instance with 4 OCPUs, 24GB RAM, and 200GB SSD. However, availability is limited as these machines are only free when someone else deletes their instance.
The author opted for the VM.Standard.A2.Flex shape instead. This shape is not permanently free, but Oracle provides $300 in credits for new accounts, which can cover the cost of running a 4 OCPU, 24GB RAM, 200GB SSD ARM Linux server for approximately six months.
Configuration Steps
- Generate an instance with the specified resources using the VM.Standard.A2.Flex shape.
- Oracle provides a minimized Ubuntu for ARM instances. After starting the instance, run
sudo unminimizeto get a regular Ubuntu version, which is required for the LLM and OpenClaw. - The author recommends skipping the Docker version of OpenClaw, stating it is hard to configure, and instead installing the native version.
- Install the Qwen3.5 27B A3B 4-bit model locally on the instance.
- Configure OpenClaw to use this local LLM.
Remote Management
To manage the cloud setup remotely, the author uses an app called "QCAI," available on the Apple App Store and Android. Configuration involves:
- Installing Tailscale VPN on the cloud instance.
- Modifying the OpenClaw
openclaw.jsonconfiguration file to allow access from the QCAI app.
The QCAI app provides a dashboard for OpenClaw and a "claw-portal" browser-based interface for accessing OpenClaw output, which the author notes is better than using a Telegram text channel. The setup also allows running Claude Code on the Oracle Gateway, with the iOS app providing an interface for remote execution.
The result is a 24/7 OpenClaw Gateway with a local LLM and Claude Code, running for free for six months using the initial Oracle Cloud credits.
📖 Read the full source: r/openclaw
👀 See Also

Practical Multi-Agent System Architecture Advice from Experience
A developer shares five specific patterns for building multi-agent AI systems based on experience running a 7-agent daily system: start with one agent, use an orchestrator pattern, implement shared memory with JSON files, route models by task, and add confirmation loops.

Method for Transferring User Context from ChatGPT to Claude
A Reddit user shares a two-prompt method for extracting a detailed cognitive profile from ChatGPT and creating a portable AI constitution to transfer to Claude, addressing the difficulty of porting between AI systems.

Access GPT-5.4 via Codex subscription in OpenClaw
A Reddit post details how to configure OpenClaw to use GPT-5.4 through an OpenAI Codex subscription by modifying the openclaw.json configuration file and restarting the gateway.

Making an MCP Server Install Itself: Three Hosts, Three Mechanisms, Gotchas
A deep dive into programmatically installing MCP servers across VS Code, Cursor, and Claude Code — covering APIs, file writes, and edge cases like malformed JSON, atomic writes, and idempotent updates.