Deploy LLMs to production in one command. VeloxML CLI is an open-source engine that provisions optimized serverless infrastructure directly in your own AWS/GCP account
6
stars
14
commits
Python
primary language
Sep 5, 2026
updated
Deploy open-source LLMs directly to your own AWS/GCP account with one command. Zero Docker, zero Kubernetes, scale-to-zero.
Contents
This repo is still under heavy development and the documentation is evolving. You're welcome to try it, but expect some breaking changes. Watch "releases" of this repo to receive a notification when we are ready for Beta. And give us a star if you like it!
# 1. Initialize a model service
veloxml init my-model
cd my-model
# 2. Deploy to AWS with scale-to-zero
veloxml deploy
# Output:
# Replica ready at http://34.201.45.12:8000
# Test your endpoint:
# curl -X POST http://34.201.45.12:8000/predict \
# -H "Content-Type: application/json" \
# -d '{"prompt": "Hello world"}'
This is a CLI and deployment engine that allows you to deploy open-source LLMs directly to your own cloud account (AWS/GCP) with a single command.
It works like this:
app.py) and hardware spec (veloxml.yaml)curl command.A few reasons:
@modal.function)use_spot: true), allowing you to serve models on AWS without burning $1,500+/mo on idle, unmanaged GPUs.Deploy a real, open-weights Small Language Model (Qwen/Qwen2.5-0.5B-Instruct) directly to your AWS account on a Spot instance (~$0.07/hr) in under 2 minutes.
pip install veloxml-deploy
veloxml check
mkdir llm-service
cd llm-service
app.pyPaste this into app.py:
from fastapi import FastAPI
from transformers import pipeline
app = FastAPI()
pipe = pipeline("text-generation", model="Qwen/Qwen2.5-0.5B-Instruct")
@app.get("/health")
def health():
return {"status": "ok"}
@app.post("/predict")
def predict(data: dict):
return {"response": pipe([{"role": "user", "content": data["prompt"]}], max_new_tokens=50)[0]["generated_text"][-1]["content"]}
veloxml.yamlPaste this into veloxml.yaml:
name: llm-service
compute:
cpus: 4+
memory: 8+
use_spot: true
runtime:
setup: pip install fastapi uvicorn "transformers<5.0.0" accelerate
Run:
veloxml deploy
VeloxML provisions the AWS Spot instance, installs dependencies, verifies the /health probe, and outputs your live replica URL.
Query your live inference API using curl:
curl -X POST http://<ENDPOINT_IP>:8000/predict \
-H "Content-Type: application/json" \
-d '{"prompt": "Say this is a test"}'
Output:
{
"response": "This is a test."
}
When finished testing, terminate all cloud compute to avoid lingering charges:
veloxml down --all
We welcome any issues, pull requests, and feedback. See CONTRIBUTING.md for local development setup.
This repo is licensed under Apache 2.0.
14 commits
Python
100.0%
Deploy LLMs to production in one command. VeloxML CLI is an open-source engine that provisions optimized serverless infrastructure directly in your own AWS/GCP account
6
stars
14
commits
Python
primary language
Sep 5, 2026
updated
Deploy open-source LLMs directly to your own AWS/GCP account with one command. Zero Docker, zero Kubernetes, scale-to-zero.
Contents
This repo is still under heavy development and the documentation is evolving. You're welcome to try it, but expect some breaking changes. Watch "releases" of this repo to receive a notification when we are ready for Beta. And give us a star if you like it!
# 1. Initialize a model service
veloxml init my-model
cd my-model
# 2. Deploy to AWS with scale-to-zero
veloxml deploy
# Output:
# Replica ready at http://34.201.45.12:8000
# Test your endpoint:
# curl -X POST http://34.201.45.12:8000/predict \
# -H "Content-Type: application/json" \
# -d '{"prompt": "Hello world"}'
This is a CLI and deployment engine that allows you to deploy open-source LLMs directly to your own cloud account (AWS/GCP) with a single command.
It works like this:
app.py) and hardware spec (veloxml.yaml)curl command.A few reasons:
@modal.function)use_spot: true), allowing you to serve models on AWS without burning $1,500+/mo on idle, unmanaged GPUs.Deploy a real, open-weights Small Language Model (Qwen/Qwen2.5-0.5B-Instruct) directly to your AWS account on a Spot instance (~$0.07/hr) in under 2 minutes.
pip install veloxml-deploy
veloxml check
mkdir llm-service
cd llm-service
app.pyPaste this into app.py:
from fastapi import FastAPI
from transformers import pipeline
app = FastAPI()
pipe = pipeline("text-generation", model="Qwen/Qwen2.5-0.5B-Instruct")
@app.get("/health")
def health():
return {"status": "ok"}
@app.post("/predict")
def predict(data: dict):
return {"response": pipe([{"role": "user", "content": data["prompt"]}], max_new_tokens=50)[0]["generated_text"][-1]["content"]}
veloxml.yamlPaste this into veloxml.yaml:
name: llm-service
compute:
cpus: 4+
memory: 8+
use_spot: true
runtime:
setup: pip install fastapi uvicorn "transformers<5.0.0" accelerate
Run:
veloxml deploy
VeloxML provisions the AWS Spot instance, installs dependencies, verifies the /health probe, and outputs your live replica URL.
Query your live inference API using curl:
curl -X POST http://<ENDPOINT_IP>:8000/predict \
-H "Content-Type: application/json" \
-d '{"prompt": "Say this is a test"}'
Output:
{
"response": "This is a test."
}
When finished testing, terminate all cloud compute to avoid lingering charges:
veloxml down --all
We welcome any issues, pull requests, and feedback. See CONTRIBUTING.md for local development setup.
This repo is licensed under Apache 2.0.
14 commits
Python
100.0%