LastChat icon indicating copy to clipboard operation
LastChat copied to clipboard

Local LLM support

Open dynodevv opened this issue 7 months ago • 2 comments

Describe the Feature Request

Google recently released Gemma 4, including 2 really small yet smart models, Gemma 4 E2B and E4B. These models are specifically optimized to run on smartphones quite quickly. I personally have a phone with a mid-range chip (CMF Phone 1) and the E2B version runs great. My idea basically is that it would be nice if we could download these two models in LastChat, and then use them as we would with models from inference providers. Google also made LiteRT which LastChat could use to integrate the models into the app, since it would handle running the model itself, etc.

Usage Scenario

It would be a nice and private alternative to cloud-based APIs, and it would even work without internet, which is awesome!

Alternatives Considered

None

dynodevv avatar Apr 16 '26 13:04 dynodevv

Local models come with a lot of settings that somehow have to be displayed to the user. I tried implementing local models into LastChat the last few weeks but I stumbled into multiple different issues while doing it and decided to leave it be for now. I hope that's not too disappointing

Cocolalilal avatar May 12 '26 21:05 Cocolalilal

Support for local models just now got added to LastChat in 1.4.6!

Cocolalilal avatar Sep 19 '26 21:09 Cocolalilal