Home Projects WebGPT
WebGPT

WebGPT

by 0hq · GitHub

Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.

# gpt# nanogpt# transformers# webgpu
View on GitHub
⭐ Stars
3.8k
🍴 Forks
223
📜 License
License not specified
📅 Created
2023
🔄 Last commit
2 yr ago
🏷️ Category
gpt
💻 Language
You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
WebGPT — GitHub preview card
📈 Star history
3 7933 790
2026-07-072026-07-22
📄 About

Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.

Frequently asked questions

What is WebGPT?

Run GPT model on the browser with WebGPU. An implementation of GPT inference in less than ~1500 lines of vanilla Javascript.

Is WebGPT open source?

WebGPT is an open-source project.

Is WebGPT free?

Yes. WebGPT is free and open source — you can use, modify and self-host it.

🏅 Maintainer of this project?
OpenSourceAI badge — WebGPT

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![OpenSourceAI](https://opensourceai.tech/badge.php?tool=0hq-webgpt)](https://opensourceai.tech/project/0hq-webgpt.html)
More badge options →
🧬 Related projects🧬 View the DNA map →