Meshca AI
A browser workspace that runs language models on your own device instead of sending prompts to a server.
- Runtime
- ONNX Runtime Web with WebGPU
- Model
- LiquidAI LFM2.5-1.2B-Thinking (ONNX)
- Earlier
- MLC and WebLLM; GGUF and ONNX with Qwen and Gemma 3n
The idea
Most AI apps send every prompt to someone else's server. Meshca loads a model in the browser and keeps inference on your device, so you control where prompts are processed.
How it changed
The first version ran models client-side with MLC and WebLLM, mainly Qwen and Gemma 3n in GGUF and ONNX formats. I later moved inference to ONNX Runtime Web with WebGPU and LiquidAI's LFM2.5-1.2B-Thinking model, with model loading and cache controls.
Along the way I explored 1-bit quantization, the trade-offs between model size and speed, and prompt-injection detection with response filtering.
- Download model
- Cache
- WebGPU inference
- Chat
The hard part
Running locally moves the problems onto the device. How big is the first download? Can you tell the model is still loading? What happens without WebGPU? Can you clear the cached weights? Those questions shaped the loading and cache controls more than the model did.