---
title: "Running your first AI model with ollama"  
description: "This blog is for providing the basic understanding and knowledge about what a model is and how to download and use the model and also working with first model."  
author: "Yash Srivastava"  
published: 2026-06-02  
updated: 2026-06-02  
canonical: https://answers.mindstick.com/blog/343/running-your-first-ai-model-with-ollama  
category: "technology"  
tags: ["ollama", "ai model"]  
reading_time: 2 minutes  

---

# Running your first AI model with ollama

## what is model?

AI model is a trained program who learns from the pattern and designed to generate response of users question. Ollama enables Large Language Models (LLM) to work on the local computers or in any local system.\
example:-

- Llama 3
- Mistral
- Gemma
- DeepSeek

## Downloading and Running Llama 3

After installation of ollama we have to download an [Artificial Intelligence](https://www.mindstick.com/services/artificial-intelligence) ([AI](https://www.mindstick.com/services/artificial-intelligence)) model. Llama is one of the popular models.

command:-

```plaintext
ollama run llama 3
```

ollama → ollama use to call the software.\
run → It starts the model.\
llama 3 → this is the name of the model.

## Giving your first prompt

After starting the model now you are allowed to ask the question. The question or Instruction given by the user is called prompt.

*example:*

```plaintext
what is Artificial Intelligence?
```

*Example Response:*

```plaintext
Artificial Intelligence (AI) is a branch of computer science that focuses on creating machines and software capable of performing tasks that normally require human intelligence.
```

## how to stop the model

when you get done with Model and when want to end chat session then the model can be stopped by a basic command-

```plaintext
ctrl + c
```

read more about ollama:

previous topic : [Basic requirements and installing ollama](https://answers.mindstick.com/blog/338/basic-requirements-and-ollama-installation-process)\
next topic: [Understanding ollama models](https://answers.mindstick.com/blog/344/understanding-ollama-models)

---

Original Source: https://answers.mindstick.com/blog/343/running-your-first-ai-model-with-ollama

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
