# Transformers.js

8 Hacker News commenters recommended Transformers.js and 2 criticized it, November 2025 to November 2026. It was recommended in 6 of 13 months.

**Verdict:** Developers recommend it as the go-to way to run machine learning models in the browser, with WebGPU support and many models since v4.

## Why people recommend it

- Preferred over other options (2 comments): "I suggest using Transformers.js instead these days." ([source](https://news.ycombinator.com/item?id=49541147)) "Transformers(.js) approach looks better for me" ([source](https://news.ycombinator.com/item?id=48459512))

## Alternatives hackers recommend

- [PyTorch](https://hackerapproved.com/p/pytorch.md): 131 recommend
- [MLX](https://hackerapproved.com/p/mlx.md): 75 recommend
- [JAX](https://hackerapproved.com/p/jax.md): 49 recommend
- [OpenCV](https://hackerapproved.com/p/opencv.md): 46 recommend
- [tinygrad](https://hackerapproved.com/p/tinygrad.md): 40 recommend

## Cite as

Hacker Approved, "Transformers.js", https://hackerapproved.com/p/transformers-js/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
