See this guide:
Then… why do you want to host LLMs?
For others, see Using Discourse and LibreTranslate without AI which is related.