Developer API & CLI
Script every launch. Scoped API keys, a REST API and a single-file CLI — the same pricing and routing as the dashboard.
Sign in to create API keys.
CLI
curl -fsSL https://cloudflux.dev/cli.sh -o /usr/local/bin/cloudflux && chmod +x /usr/local/bin/cloudflux cloudflux login --key "$CLOUDFLUX_API_KEY" cloudflux catalog # GPUs, prices, runtimes cloudflux ps # your instances cloudflux launch --gpu h100 --count 1 --runtime vllm --model meta-llama/Llama-3.1-8B-Instruct --hours 2 cloudflux stop <job-id>
REST API
Base URL https://cloudflux.dev/api/public/v1 · header Authorization: Bearer cfx_live_…
| Endpoint | Scope |
|---|---|
| GET /catalog | public |
| GET /jobs | compute:read |
| POST /launch | compute:launch |
| POST /jobs/:id/stop | compute:launch |
curl -H "Authorization: Bearer $CLOUDFLUX_API_KEY" https://cloudflux.dev/api/public/v1/jobs
curl -X POST https://cloudflux.dev/api/public/v1/launch \
-H "Authorization: Bearer $CLOUDFLUX_API_KEY" -H "Content-Type: application/json" \
-d '{"gpu":"h100","gpu_count":1,"h100_variant":"sxm","runtime":"vllm","est_hours":2}'API launches run the same checks as the website: plan limits, team spending limit, wallet balance and SSH key (your default key is used if you don't pass ssh_key_id). Errors come back as 422 with a plain-language reason.
Application-ready runtimes
Every instance boots straight into a working service. Checkpoints in /workspace/checkpoints sync to zero-egress storage every 15 minutes and restore automatically after failover.
- vLLM inference server
OpenAI-compatible API on port 8000 with token auth
vllm/vllm-openai:latest - Ollama workstation
Local LLM runtime with REST API on port 11434
ollama/ollama:latest - ComfyUI studio
Image/video generation UI on port 8188
ghcr.io/ai-dock/comfyui:latest - PyTorch + JupyterLab
CUDA PyTorch sandbox with JupyterLab on port 8888
runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04