GPT4All has a built-in local server that speaks the OpenAI API, so any OpenAI-compatible client can talk to your local model. It is off until you turn it on in Settings, and it listens on localhost only — by design.
Enable the server in Settings
Open GPT4All, go to Settings, then the Application tab, and turn on Enable Local Server. The server starts on port 4891 — 1984 reversed — and serves http, never https, on localhost only. There is no IPv6 ::1 support: clients must use 127.0.0.1 or localhost. Confirm it is up with curl http://localhost:4891/v1/models.
Settings -> Application -> Enable Local Server
curl http://localhost:4891/v1/models
# port 4891, http only, localhost only, no IPv6 ::1
Localhost-only is a safety feature, not a limitation to work around: the server has no authentication, so anyone who can reach the port can use your model. Keep it on localhost, and use a proper server if you need network access.
Try it: four checks
| Check | What you should see | If you do not see it |
|---|---|---|
| Setting on | Enable Local Server is on in Settings | Application tab |
| Port 4891 | The server listens on 4891 | 1984 reversed |
| Models list | curl /v1/models returns your models | Load a model first |
| Localhost only | Only localhost can reach it | That is by design |
Expected result. We checked the GPT4All Local API Server wiki, which describes the Settings > Application > Enable Local Server toggle, port 4891, localhost-only http, and no IPv6 ::1. We did not enable the server on this machine.
Limits
This guide covers enabling the server only. The server has no authentication and is localhost-only. We did not test any setting ourselves.
