LiteLLM Proxy Status Check
Check the health, configuration, and runtime status of the local LiteLLM proxy.
Steps
- Check systemd service status
systemctl --user status litellm-proxyConfirm it shows
active (running). Note uptime, memory usage, and PID. - Check health endpoint
curl -s http://127.0.0.1:4000/health | python3 -m json.toolVerify all models show as healthy with zero unhealthy endpoints.
- List available models
curl -s http://127.0.0.1:4000/v1/models | python3 -m json.toolList all model IDs the proxy is serving.
- Show configuration
cat ~/.config/litellm/config.yamlDisplay the current model list, project, location, and settings.
- Show service configuration
cat ~/.config/systemd/user/litellm-proxy.serviceDisplay the systemd unit including the credentials path and startup command.
- Check recent logs (only if there are issues)
journalctl --user -u litellm-proxy --no-pager -n 20
Report Format
Present a summary table:
| Item | Status |
|---|---|
| Service | active/inactive, uptime |
| Health | healthy/unhealthy endpoint count |
| Models | list of model names |
| Port | 4000 |
| Credentials | service account email from key file |
| Config | ~/.config/litellm/config.yaml |
Troubleshooting
If the service is not running:
systemctl --user start litellm-proxy
If the service fails to start, check logs:
journalctl --user -u litellm-proxy --no-pager -n 50
Changelog
See CHANGELOG.md for version history.