Skip to main content
Every open-source model on Bytez is available as a Docker image. Pull it, run it, and make requests to localhost.
Images are hosted on Docker Hub under the bytez namespace. The image name matches the model ID with / replaced by _.
Find model IDs at bytez.com/models or via the List Models API.
This runs the container in the background. Get your API key at bytez.com/api/key.View logs
To run attached and watch logs directly, replace -d with -it. Press Ctrl+C to stop.
Environment VariablesDocker Options
Run on GPU
Run on CPU
Cache Weights LocallyAvoid re-downloading weights on every run by mounting a local directory:
If you’re going to create the same model container multiple times, then for large models (70B+), caching is highly recommended. Downloads can take hours otherwise.
Once the container is running, send POST requests to /run.Chat Models
StreamingSet "stream": true to receive tokens as they’re generated:
Different model tasks require different inputs. Here’s a quick reference:

Full HTTP Reference

See complete request/response params and examples for all 30+ task types.
Create a self-contained image with weights baked in - no internet required at runtime.Step 1: Run the container once to download weights
Wait for the model to fully load (check with docker logs -f my-model). Once ready, stop it:
Step 2: Save as a new image
Step 3: Run offline (no internet needed)
To verify it’s truly offline, add --network none to the run command.
Optional: Export for another machine
Container won’t startCheck that Docker is installed and running. For GPU support, ensure you have NVIDIA drivers and the NVIDIA Container Toolkit installed.Out of memoryTry DEVICE=auto to split the model across GPU and CPU memory. For large models, you may need more VRAM or system RAM.Slow first requestThe first request loads model weights into memory. Subsequent requests are fast. Use weight caching (-v mount) to speed up container restarts.Model only works with specific DEVICE settingSome models only support auto, cuda, or cpu. If one doesn’t work, try another.

Need Help?

Discord

Get live support from the community