New Tool Radar

Local AI

How to Set Jan’s Local API Server Timeout for Long Replies

Raise the timeout on Jan's local API server so a long generation is not cut off before the model finishes.

Schematic diagram with four steps: open the server settings, find the timeout, raise it for long generations, then confirm a long reply finishes.

A long reply takes a long time, and a client that gives up early reports a timeout instead of an answer. Jan’s local API server has a timeout setting: raise it when your generations are long, so the server waits for the model instead of cutting the call short.

Raise the timeout in the server settings

In Jan’s local API server settings, find the timeout setting and raise it to cover your longest expected reply — a slow model on a long prompt can take minutes, not seconds. The timeout is a server-side wait: it says how long the server will keep working on a request before giving up. Set it generously for long-form work and tighter for interactive chat.

Jan -> Settings -> Local API Server -> Timeout: raise it for long generations
# a slow model on a long prompt can take minutes

A timeout is not a speed fix: if every reply hits the timeout, the model is too slow for the job, and a longer timeout just waits longer for the same late answer. Raise the timeout for genuinely long work, and pick a faster model or shorter prompt when the wait itself is the problem.

Try it: four checks

Check What you should see If you do not see it
Setting found The timeout is in the server settings Check the Local API Server panel
Timeout raised The new value saves Restart the server if it needs it
Long reply finishes A long generation completes Compare with the old timeout
No early cut Replies are not cut off mid-sentence Raise it further if they are

Expected result. We checked the Jan local API server docs, which describe the timeout setting among the server’s options. We did not change the setting on this machine.

Limits

This guide covers the timeout setting only. A timeout cannot make a slow model fast. We did not test any setting ourselves.

Sources

See all