---
title: "Deploy free-the-claw"
description: "Free Openclaw via Nvidia NIM + Claude Code"
category: "Bots"
url: https://railway.com/deploy/free-the-claw
---

# Deploy free-the-claw

Free Openclaw via Nvidia NIM + Claude Code

**[Deploy free-the-claw on Railway](https://railway.com/template/free-the-claw)**

- **Creator:** Paul Gadi's Projects
- **Category:** Bots
- **Total deploys:** 74

## Template content

### openclaw

- **Source:** polats/free-the-claw
- **Public domain:** Yes

### claude-code-free

- **Source:** https://github.com/polats/free-the-claw

## Documentation

# Deploy and Host free-the-claw on Railway

A self-hosted AI chat setup using [openclaw](https://github.com/openclaw/openclaw) with free NVIDIA NIM models via [claude-code-free](https://github.com/Alishahryar1/claude-code-free).

## About Hosting free-the-claw

For persistent hosting, deploy on [Railway](https://railway.com) with two services from this repo. You will probably need the Hobby Plan ($5/month) as the free tier may not be enough for the image size.

1. Click the **Deploy on Railway** badge above, or create a new project manually
2. Add two services, both pointing to the **`deploy` branch** of this repo (a GitHub Action auto-flattens submodules into this branch on every push to main):

   **claude-code-free**
   - Dockerfile path: `Dockerfile.claude-code-free.railway`
   - Port: `8082` (private networking only)
   - Add your env vars: `NVIDIA_NIM_API_KEY`, `MODEL`

   **openclaw**
   - Dockerfile path: `Dockerfile.openclaw.railway`
   - Port: `18789` (public networking)
   - Env vars: `PROXY_URL=http://claude-code-free.railway.internal:8082`, `ANTHROPIC_API_KEY=sk-placeholder`, `OPENCLAW_GATEWAY_TOKEN=`, `MODEL`
   - Add a persistent volume mounted at `/home/node/.openclaw`

3. Enable public networking on the openclaw service
4. Open `https://.up.railway.app/?token=`

## Common Use Cases

- A safe and fast alternative to deploying Openclaw

## Dependencies for free-the-claw Hosting

- Hobby Plan ($5 / month)

### Deployment Dependencies

Get a free NVIDIA NIM API key from https://build.nvidia.com/settings/api-keys

## Why Deploy free-the-claw on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying free-the-claw on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Aug ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Aug ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/free-the-claw
