Ollama · Server and deployment

Keep a model loaded longer

Keep models in memory for an hour after the last request instead of the default five minutes.

OLLAMA_KEEP_ALIVE=1h ollama serve

Official Ollama documentation

More server and deployment commands

All server and deployment commands · Ollama cheatsheet

Was this page helpful?