Synopsis
Description
Starts an HTTP REST API server for cluster and node scheduling workflows. This allows other services to query llmfit’s model compatibility analysis programmatically. The API is designed for:- Kubernetes schedulers and operators
- Multi-node orchestration systems
- CI/CD pipelines
- Infrastructure-as-code tools
- Monitoring and observability platforms
Options
string
default:"0.0.0.0"
Host interface to bind. Use “0.0.0.0” to listen on all interfaces, or “127.0.0.1” for localhost only.
integer
default:"8787"
Port to listen on.
string
Override GPU VRAM size (e.g., “32G”, “32000M”, “1.5T”).
integer
Cap context length used for memory estimation (tokens). Must be >= 1.
Usage Examples
Start Server
Override Detection
Production Deployment
API Endpoints
Health Check
System Information
List Compatible Models
limit(integer): Maximum results to returnn(integer): Alias forlimitperfect(boolean): Show only perfect fitsmin_fit(enum): Minimum fit level (perfect,good,marginal,too_tight)runtime(enum): Filter by runtime (any,mlx,llamacpp)use_case(enum): Filter by use case (general,coding,reasoning,chat,multimodal,embedding)provider(string): Filter by provider namesearch(string): Search querysort(enum): Sort column (score,tps,params,mem,ctx,date,use)include_too_tight(boolean): Include models that are too tightmax_context(integer): Context length cap for memory estimation
Top Recommendations
/api/v1/models
Response: Same format as /api/v1/models
Model by Name
name(string): Model name or partial name
/api/v1/models
Response: Same format as /api/v1/models
