Running a model in Ollama loads it into memory and sends a prompt through the local inference runtime. It is the simplest end-to-end check that the model is installed, the server can load it, and a response can be produced.
Use the exact model name from ollama list. A model can take time to load on the first request, and thinking-capable models may print a reasoning trace before the final answer.
Keep smoke-test prompts small. Once the model returns a known short answer, move longer prompts or application-specific tests into the relevant workflow.
Related: How to pull an Ollama model
Related: How to list running Ollama models
Related: How to stop a running Ollama model
$ ollama list NAME ID SIZE MODIFIED gpt-oss:20b 17052f91a42e 13 GB 6 months ago
$ ollama run gpt-oss:20b "Return only OK." Thinking... ##### snipped ##### OK
$ ollama run gpt-oss:20b "Summarize Ollama in five words."
Local model runner and API.
$ ollama ps NAME ID SIZE PROCESSOR CONTEXT UNTIL gpt-oss:20b 17052f91a42e 12 GB 100% GPU 131072 4 minutes from now
$ ollama stop gpt-oss:20b
Related: How to stop a running Ollama model