v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBCustom Models
Upload a custom model
Upload custom model weights to the namespace.
Requirements:
- Organization must be on Enterprise tier
Supported Model Formats:
- safetensors: SafeTensors format (recommended for transformers)
- onnx: ONNX Runtime format
- pytorch: PyTorch state_dict or TorchScript
- huggingface: HuggingFace model directory
Base Images (auto-selected based on format):
- mixpeek/serve-gpu:latest: For safetensors, pytorch, huggingface (includes torch, transformers)
- mixpeek/serve-minimal:latest: For ONNX (includes onnxruntime only)
Important: Models run in fixed base images. You cannot install additional pip packages. All required frameworks (torch, transformers, onnxruntime) are pre-installed.
post/v1/namespaces/{namespace_id}/models
Path parameters
namespace_idstring required
Response
Successful Response