Self-hosted app·Self-hosted AI
Netron hosting in Switzerland a private model viewer on a VPS in ALP1.
Netron hosting on a Swiss VPS in ALP1: Docker and Caddy with a login, the RAM trap in Netron's built-in server, and the plan to pick, from $22.99/mo.
- Python
- Caddy
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port20 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $206.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 6 vCPU, 8 GB RAM
- 320 GB NVMe local storage
- 20 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
Yes. Netron runs well on our Cloud VPS Pro plan (6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB of monthly transfer, $22.99 a month) with Debian 13, in Docker, behind Caddy. What matters most is how Netron's own web server behaves: it has no authentication, it serves every file in the folder that holds your model, and it reads the whole model into memory for each download. Never expose it directly. Put a reverse proxy in front that handles the login and serves the model bytes from disk, and give each model a directory of its own.
02/06
What Netron is.
Netron is an open-source viewer for machine-learning model files, written and maintained by Lutz Roeder under the MIT licence. It draws the graph of a saved model, with operators, tensor shapes, attributes and weights, so you can check what an export actually produced. ONNX, TensorFlow Lite, PyTorch, TorchScript, Core ML, OpenVINO, Keras and Safetensors are fully supported; GGUF, MLIR and ncnn are experimental. Besides desktop builds and the web version at netron.app, the project publishes a Python package whose netron command serves one model over HTTP. The current PyPI release is 9.3.4, from 31 October 2026.
It does not train or run inference, and it needs no GPU. If you only inspect your own files on your own laptop, the desktop app is enough. A hosted instance earns its keep when models already live on a server, when several people need the same multi-gigabyte file without passing copies around, or when an outside reviewer should get a URL and a password instead of a file transfer.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Requirements and sizing.
Parsing and graph layout happen in the viewer's browser, so the server's CPU barely matters and the colleague opening a 5 GB model needs the memory on their own machine. What sizes the VPS is the way Netron's Python server sends that file. In source/server.py (main branch, read on 4 November 2026) the /data/ handler calls read() on the whole model and writes it in one response, with no streaming and no range requests. The server is threaded, so two people opening a 3 GB model at once make it hold about 6 GB of RAM (theoretical, before Python's own overhead). On 8 GB that is the ceiling; on the 2 GB Starter the first large model fails.
The fix costs nothing: let Caddy answer /data/* straight from disk. Caddy streams files, so memory stays flat whatever the model weighs, and Netron only renders the page. RAM then stops being the constraint and two other numbers take over. Disk fills faster than people expect once a library holds ONNX external-data files or four quantisations of one LLM; Pro has 320 GB of NVMe. Transfer on our VPS plans is counted against the monthly allowance, not unmetered, and every open is a full download, because Netron adds a cache-busting cb= parameter to each request. With 20 TB and a 4 GB model, that is about 5,000 opens a month (theoretical).
| Plan | vCPU / RAM | NVMe | Transfer / month | Price / month | Where it fits |
|---|---|---|---|---|---|
| Starter | 2 / 2 GB | 80 GB | 10 TB | $6.99 | One small model, Caddy serving /data/ |
| Standard | 4 / 4 GB | 160 GB | 15 TB | $12.99 | A few models, no conversion work |
| Pro | 6 / 8 GB | 320 GB | 20 TB | $22.99 | A team library plus export and conversion scripts |
| Power | 12 / 16 GB | 640 GB | 40 TB | $42.99 | Converting larger PyTorch checkpoints on the server |
We recommend Pro because the box rarely stays a pure viewer: someone inspects a broken export, then runs torch.onnx.export on the same machine to fix it, and the converter loads the whole checkpoint into RAM. If you will serve one small ONNX file and nothing else, buy Starter; we would rather you did. Only ports 80 and 443 need to be open; Netron's 8080 stays on the internal Docker network.
04/06
Deploying it on a VPS in ALP1.
Order Pro with Debian 13 through the Cloud VPS Pro deploy link; the server is built in ALP1, our site in the Swiss Alps. Point a DNS A record such as netron.example.com at its IPv4 before starting Caddy, or the certificate request fails. Install Docker Engine and the compose plugin from Docker's Debian repository, then create /srv/netron/ with the three files below and a models/current/ folder holding the model, its sidecar files and nothing else.
The Netron project publishes no Docker image, so build one and pin the version, so a rebuild next month does not quietly change what you run:
FROM python:3.13-slim
RUN pip install --no-cache-dir netron==9.3.4
USER nobody
EXPOSE 8080
ENTRYPOINT ["netron", "--host", "0.0.0.0", "--port", "8080"]The 0.0.0.0 binding applies inside the container only; compose publishes no port for Netron, so only Caddy can reach it.
services:
netron:
build: .
command: ["/models/model.onnx"]
volumes:
- ./models/current:/models:ro
restart: unless-stopped
caddy:
image: caddy:2
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./models/current:/srv/model:ro
- caddy_data:/data
restart: unless-stopped
volumes:
caddy_data:Caddy does the three jobs Netron does not: TLS, a login, and serving the model from disk.
netron.example.com {
basic_auth {
team <bcrypt-hash>
}
header Content-Security-Policy "connect-src 'self'"
handle_path /data/* {
root * /srv/model
file_server
}
handle {
reverse_proxy netron:8080
}
}Generate the hash with docker run --rm -it caddy:2 caddy hash-password, which prompts instead of leaving the passphrase in your shell history, paste it in, and run docker compose up -d --build. To show another model, replace the contents of models/current/, change the filename in command and run docker compose up -d again.
The Content-Security-Policy header protects your users rather than your server. In the current source, Netron's interface enables telemetry whenever the page carries a real version number, which the Python server writes in. It then sends events by navigator.sendBeacon to analytics.google.com and queries ipinfo.io to decide on a cookie notice, without waiting for the visitor's answer. With connect-src 'self' the browser blocks both while the same-origin model still loads.
Without Docker, install python3-venv and put netron==9.3.4 in a venv under /opt/netron, since Debian 13 refuses a bare pip install into the system Python. Run netron --host 127.0.0.1 --port 8080 /srv/model/model.onnx from a systemd unit as an unprivileged user and keep the same site block with reverse_proxy 127.0.0.1:8080; Caddy older than 2.8 spells the directive basicauth.
05/06
Cost.
| Item | Price |
|---|---|
| Cloud VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbps | $22.99 / month |
| Same plan billed yearly (about −25 %) | $206.99 / year, ≈ $17.25 / month (theoretical) |
| With daily backups (+20 %) | ≈ $27.59 / month (theoretical) |
| Extra IPv4 | $2 / month |
| Object storage, 1 TB S3-compatible bucket | $7.96 / month |
Daily backups are worth 20 % more only when this VPS holds the only copy of your models, which is rare: weights come from a training run or a registry. It is cheaper to keep every version in an S3-compatible object storage bucket, reached by endpoint and access keys, and copy the one you need into models/current/ with rclone copy; Netron cannot read S3 itself.
Payment is in crypto only (Monero, Bitcoin, Tether, Ethereum, Litecoin and others), priced in US dollars. Top-ups run from $25 to $5,000 with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, so a $250 top-up credits $287.50, about twelve months of Pro (theoretical). The unused paid part is refundable within 14 days, and opening an account is no-KYC: an email address is enough. Everything else is on the pricing page.
06/06
Limits and what remains your job.
Access control is yours. Netron has no login, and a new hostname shows up in public certificate-transparency logs as soon as Caddy requests its certificate, so an instance without the authentication block is found quickly. Netron resolves any path under /data/ inside the model's directory, and Caddy's file_server serves its root the same way: point either at a home directory and /data/.ssh/id_ed25519 becomes a valid URL.
The files must be yours to share. Many weights carry licences that restrict redistribution, leaked proprietary weights are not yours to publish, and in Switzerland making a work available online without permission is not allowed. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Under article 39d of the Copyright Act, a provider must prevent a repeat upload only when the work was already made available unlawfully through the same service, the provider was notified, and the service creates a particular risk of infringement.
Caddy's access log and the credential list hold your colleagues' usernames and IP addresses, which makes you their controller under the revised Federal Act on Data Protection, in force since 1 September 2023. Colleagues in the EU are no transfer problem: on 15 January 2024 the European Commission confirmed Switzerland's adequate level of protection.
Your contract is with Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements with the United Kingdom and Australia only, none with Switzerland. That is one input to your threat model, not a promise that no foreign request can reach your data; the Swiss jurisdiction page covers the rest. For questions, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProRecommendedProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Is there an official Netron Docker image?
No. The project publishes desktop builds, netron.app and the netron package on PyPI, and the package is all a container needs. A five-line Dockerfile on python:3.13-slim with pip install netron==9.3.4 does the job; pin the version and check PyPI before each rebuild.
Can I run netron --host 0.0.0.0 on a public IP and skip the proxy?
It starts, and it is a bad idea: plain HTTP, no authentication, every file in the model's directory readable under /data/, and each download held whole in RAM. Bind Netron to localhost or a private Docker network and let Caddy handle TLS, login and file serving.
Does a Netron server need a GPU or much CPU?
No. The browser parses the file and lays out the graph; the server only delivers the page and the model. A huge graph is slow on the viewer's laptop, not on the VPS.
How do I show several models at once?
One Netron process serves one model. Give each model its own folder and Netron service in the compose file, and one Caddy site block per subdomain with its own /data/ root. Since Caddy serves the bytes, each extra Netron process only renders a page.
Can Netron open models directly from object storage?
Not through the S3 API; the server takes a file path. Keep versions in a bucket and copy the one you need into the served folder with rclone or aws-cli, which is simpler than an rclone mount when every open downloads the full file anyway.
Can I pay without identifying myself?
Yes: no-KYC, an email address is enough, and payment is in crypto only. Model licences, the complaints procedure and Swiss law apply all the same.
Sources
Every fact on this page, with its source
Consulted 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised Federal Act on Data Protection, in force since 1 September 2023Fedlex, RS 235.1
- Making works available online without permission is not allowed in Switzerlandige.ch
- Copyright Act art. 39d, in force since 1 April 2020 (RO 2020 1003)Fedlex, LDA · verified 31 Oct 2026
EU and other countries
- EU adequacy review of Switzerland, 15 January 2024 (decision 2000/518/EC remains in force)European Commission
- CLOUD Act executive agreements: United Kingdom and Australia onlyUS Department of Justice · verified 31 Oct 2026
Industry, providers and software
- Netron repository and README: formats, install options, MIT licencegithub.com/lutzroeder/netron
- Netron server: whole-file read in the /data/ handler, no authentication, model-directory path check, version written into the pagesource/server.py
- Netron command line: --host (default localhost) and --portsource/__init__.py
- Netron interface: telemetry gated on the version tag, ipinfo.io consent lookup, cb= cache-bustingsource/browser.js
- Netron telemetry transport: navigator.sendBeacon to analytics.google.comsource/base.js
Other references
- Netron 9.3.4 on PyPI, released 31 October 2026pypi.org/project/netron
- Swico Code of Conduct Hosting, new version in effect from 1 April 2025IT-Reseller, 13 March 2025
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
