# Model does not exist

**URL:** <https://community.crewai.com/t/model-does-not-exist/5033>\
**Category:** General\
**Tags:** agent, task\
**Created:** [March 29, 2025, 12:04pm UTC](https://community.crewai.com/t/model-does-not-exist/5033 "2025-03-29T12:04:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![maxmoura](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/maxmoura/32/4206_2.png) [@maxmoura](https://community.crewai.com/u/maxmoura)\
**Post date:** [March 29, 2025, 2:04pm UTC](https://community.crewai.com/t/model-does-not-exist/5033/2 "2025-03-29T14:04:26Z")

</div>

Hope this helps:

```python
from crewai import LLM
import os

os.environ['HUGGINGFACE_API_KEY'] = '<your-hf-key>'

llm = LLM(
    model='huggingface/mistralai/Mistral-7B-Instruct-v0.3',
    api_base=('https://api-inference.huggingface.co/models/'
              'mistralai/Mistral-7B-Instruct-v0.3'),
    temperature=0.7
)

response = llm.call("Say 'hi Aadishree' in 300 chars. "
                    "She's a member of the CrewAI community!")

print(f'\n[🤖] {response.strip()}\n')

```

---

_[View the full topic](https://community.crewai.com/t/model-does-not-exist/5033)._
