---
title: "Discussion on \"Hosting AI Model Mistral 7B on Linux without GPU and Query from React Component.\" | Hashnode"
description: "Discussion on \"Hosting AI Model Mistral 7B on Linux without GPU and Query from React Component.\". Why pay for AI tokens when you can self host on your laptop."
url: "https://hashnode.com/posts/hosting-ai-model-mistral-7b-on-linux-without-gpu-and-query-from-react-component/661ec8e8fcde075ffb49d830"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hosting AI Model Mistral 7B on Linux without GPU and Query from React Component.](https://blog.defaultcoder.com/hosting-ai-model-mistral-7b-on-linux-without-gpu-and-query-from-react-component?utm_source=hashnode&utm_medium=feed)

Why pay for AI tokens when you can self host on your laptop.

Apr 16, 2024 · 8 min read · blog.defaultcoder.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#mistralai](https://hashnode.com/tag/mistralai)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#model](https://hashnode.com/tag/model)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)

## Written by

[Ajeet Sinha](https://hashnode.com/@defaultcoder)

@defaultcoder

  
[View profile](https://hashnode.com/@defaultcoder)

I am Default Coder

## Responses 1

Markdown supported · ⌘↵ to post

[Ted](https://hashnode.com/@turma)

[Apr 17, 2024](https://hashnode.com/posts/hosting-ai-model-mistral-7b-on-linux-without-gpu-and-query-from-react-component/661ec8e8fcde075ffb49d830/comment/661ffa9760a9e0463756fbb2)

Why doesn’t it require GPU? I thought llama.cpp needs that anyway?

[Ajeet Sinha](https://hashnode.com/@defaultcoder)

[Apr 17, 2024](https://hashnode.com/posts/hosting-ai-model-mistral-7b-on-linux-without-gpu-and-query-from-react-component/661ec8e8fcde075ffb49d830/comment/661ffa9760a9e0463756fbb2#reply-662005742d7619afd97b5114)

Yes , GPU is optional, I was able to run it even on mobile phone after compiling without GPU support.

[Ted](https://hashnode.com/@turma)

[Apr 17, 2024](https://hashnode.com/posts/hosting-ai-model-mistral-7b-on-linux-without-gpu-and-query-from-react-component/661ec8e8fcde075ffb49d830/comment/661ffa9760a9e0463756fbb2#reply-66200e8952d82bd0cf27b237)

[Ajeet Sinha](https://hashnode.com/@defaultcoder) Cool, good to know, thanks 👍 gonna give it a try
