You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Reddit issue] Remote access to the back-end API calls #17819
Question - Running a local model in unsloth desktop with remote/lan access enabled for testing.
API key has been generated and coming in by reverse proxy through a filtered firewall.
Using the openai POST requests all work as per normal but I found that the remote user can also access the back-end api/inference commands and load/unload models on demand. Including downloading ones that aren't local.
I assumed that the settings under API/Model auto-switch being disabled would stop this? Or am I looking in the wrong area to control this?
Fixed! An Unsloth API key used to have the same access as your account, so anyone holding it could also load, unload and download models; Model auto-switch only controls whether a chat request can switch models. In #17833, after you press Create token in Settings > API you can now set the key to Inference only. Such a key can chat with and list the loaded models, but it cannot load, unload or download models, change settings, create keys or run server-side tools.
To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.
Activity
danielhanchen commentedon Nov 16, 2026
Fixed! An Unsloth API key used to have the same access as your account, so anyone holding it could also load, unload and download models; Model auto-switch only controls whether a chat request can switch models. In #17833, after you press Create token in Settings > API you can now set the key to Inference only. Such a key can chat with and list the loaded models, but it cannot load, unload or download models, change settings, create keys or run server-side tools.
To update: Unsloth Desktop will have an update banner. For Studio, use
unsloth studio update. For Docker, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.Studio: add inference only API keys (unslothai#17833)