# Suggestion for adding ai functions with discourse ai

**URL:** <https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209>\
**Category:** Forum and website feedback\
**Created:** [March 18, 2025, 7:01pm UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209 "2025-03-18T19:01:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![motive2791](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/motive2791/32/79752_2.png) [@motive2791](https://discourse.slicer.org/u/motive2791)\
**Post date:** [March 18, 2025, 7:01pm UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209/1 "2025-03-18T19:01:07Z")

</div>

discourse plugin supports ai now with many functions, like ai search, summary, related

may be our forum can add these function

> **[Discourse AI](https://meta.discourse.org/t/discourse-ai/259214)**
>
> :discourse2: Summary Integration between AI features and Discourse 🌐 Website Discourse AI Features | Discourse - Civilized Discussion 🛠 Repository Link GitHub - discourse/discourse-ai 📖 Install Guide How to install plugins in Discourse ...

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 18, 2025, 7:54pm UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209/2 "2025-03-18T19:54:19Z")

</div>

Agreed, it would be great to make this available. Unfortunately it’s not free.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 18, 2025, 8:09pm UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209/3 "2025-03-18T20:09:19Z")

</div>

Is there still cost to pay for self-hosted ones like Slicer forum? Or are you talking about API token cost? If the latter, JetStream2 might be of use: [Overview - Jetstream2 Documentation](https://docs.jetstream-cloud.org/inference-service/overview/#which-models-do-you-offer)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/1/f139ef67d3dc30c25dc60872f35ecfe163d6d481.png)

Discourse AI seems to interface all of those three models JS2 offer: [Discourse AI - Large Language Model (LLM) settings page - Site Management - Discourse Meta](https://meta.discourse.org/t/discourse-ai-large-language-model-llm-settings-page/319903)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 19, 2025, 4:29am UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209/4 "2025-03-19T04:29:43Z")

</div>

Yes, API tokens cost money. There are about 6000 page views per day. Very rough estimate: assuming $0.03 per interaction and average one interaction per page view would cost $5400/month. There are about 1800 signed-in user visits per month, so if we charged users a few dollars per month for AI usage that would cover the costs.

Discourse indeed supports vLLM, so it may be possible to use Jetstream2 for free AI features. To try, we would need Model id, URL, API key:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/9/b9c4d0f083c41f0b6e1c6f209e170726d2d61395.png)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 19, 2025, 4:33am UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209/5 "2025-03-19T04:33:41Z")

</div>

> [@lassoan](#):
>
> Discourse indeed supports vLLM, so it may be possible to use Jetstream2 for free AI features. To try, we would need Model id, URL, API key:

I don’t really know much about LLMs and their API. This is what I found on their website. Hope it helps: [Access the APIs - Jetstream2 Documentation](https://docs.jetstream-cloud.org/inference-service/api/#api-endpoints)

They are a very supportive group and have weekly office hours on ever Tuesday 2p (ET). They might be able to help you.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 19, 2025, 8:26pm UTC](https://discourse.slicer.org/t/suggestion-for-adding-ai-functions-with-discourse-ai/42209/6 "2025-03-19T20:26:44Z")

</div>

It’s a great idea to use the JS2 servers. Unfortunately I couldn’t get them to work with discourse but they do work well and you can get a lot of detailed info about Slicer from either the Llama or DeepSeek models they expose through Open WebUI.
