footer{text-align:center;padding:2rem;font-size:0.75rem;font-family:var(--font-mono);color:var(--cream-muted);border-top:1px solid var(--bg3)} footer a{color:var(--cream-muted)}footer a:hover{color:var(--cream)} .sig{font-family:var(--font-serif);font-style:italic;color:var(--leather-light);font-size:0.9rem}
Self-Hosted

Self-hosted LLM proxy. Your data stays yours.

Stockyard runs on your machines. Prompts, completions, traces, and audit logs stay on your network. No SaaS dependency, no third-party data sharing, no vendor lock-in.

Nothing to sign up for

$ curl -fsSL stockyard.dev/install.sh | sh ✓ Stockyard installed (~25MB) $ stockyard Proxy: http://localhost:4200/v1 Console: http://localhost:4200/ui # That's it. No account, no API key to Stockyard, no telemetry.

One static binary. One SQLite file for state. Download, run, done.

Every prompt and completion. Stockyard proxies requests to LLM providers, but the proxy itself runs locally. Your request content is never stored or processed by a Stockyard server.

All traces and cost data. Lookout writes traces to your local SQLite database. Query them through the API or dashboard without sending data anywhere.

Audit ledger entries. Brand's tamper-proof hash chain lives in your database. You control access and retention.

Provider API keys. Keys are encrypted with AES-256-GCM in SQLite. They never appear in logs or API responses.

No phone-home
Stockyard does not send telemetry, analytics, or usage data. On the free tier, there are zero outbound calls to Stockyard infrastructure. Full details →

No external services required

Most LLM proxy tools need Redis for caching, Postgres for state, Docker for isolation, and sometimes a dedicated queue. Stockyard needs none of these. Everything is compiled into one binary using pure-Go SQLite.

This matters for self-hosting because fewer dependencies means fewer things to secure, patch, monitor, and keep running. Your attack surface is one process and one file.

~25MB binary + one .db file = complete system

Stockyard runs on bare metal, VMs, containers, or PaaS. If it runs Linux, it runs Stockyard. Common deployment targets include Railway, Fly.io, a VPS, or a Raspberry Pi in a closet. The binary is statically compiled with no CGO dependencies — it runs on any Linux system without installing libraries.

# Docker (if you want it) $ docker run -v ./data:/data stockyard/stockyard # Or just copy the binary to your server $ scp stockyard your-server:/usr/local/bin/ $ ssh your-server stockyard

Cloud option exists too

If you don't want to self-host, Stockyard Cloud runs the same binary on managed infrastructure. But the self-hosted version is the same code, same features, same binary. There's no "enterprise edition" that locks features behind hosting requirements.

Self-host in under a minute.

Download the binary. Run it. Your LLM proxy is live, your data stays local, and you control everything.

Install Stockyard
Security → Proxy-Only Setup → Why SQLite →
GitHub·Changelog·BSL 1.1

Frequently Asked Questions

Why self-host an LLM proxy instead of using a SaaS?
Self-hosting means your prompts, completions, and traces never leave your network. No third-party sees your data. You also avoid per-request SaaS pricing, which can add up at scale.
What infrastructure do I need to self-host Stockyard?
Any machine that can run a Go binary. Stockyard is a single ~25MB file with embedded SQLite. No Redis, no Postgres, no Docker required. Runs on a VPS, bare metal, or Kubernetes.
Can I deploy Stockyard on Railway, Fly.io, or Render?
Yes. Stockyard runs on any platform that supports Docker or Go binaries. It ships with a production Dockerfile and deploys to Railway, Fly.io, Render, or any container platform.
Is self-hosted Stockyard free?
Yes. The Community tier is free forever with unlimited requests, all middleware modules, and all provider integrations. Paid tiers add specialized products, not capacity.
Explore: Best self-hosted proxy · One binary · Audit logs · Why SQLite
Stockyard also makes 150 focused self-hosted tools — browse the catalog or get everything for $29/mo.