Home Projects WebGPT
WebGPT
JavaScript

WebGPT

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

by 0hq · GitHub
Stars
Forks
Created
Last commit
Category
Language
gptnanogpttransformersJavaScript
View on GitHub
In plain words

Run a GPT model directly in your web browser using JavaScript, demonstrating AI capabilities.

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-08-31
📈 Track WebGPT

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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

WebGPT has 3.8k stars on GitHub. It has been forked 223 times. WebGPT is written mainly in JavaScript. It has been in active development since 2023. Its main topics are gpt, nanogpt, transformers, webgpu.

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.

What language is WebGPT written in?

WebGPT is written mainly in JavaScript.

🏅 Maintainer of this project?
olud.ai badge — WebGPT

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

[![olud.ai](https://olud.ai/badge.php?tool=0hq-webgpt)](https://olud.ai/project/0hq-webgpt.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.