# How we built CLAI City: a 3D AI city that runs in any browser

> Source: <https://dev.to/claicity/how-we-built-clai-city-a-3d-ai-city-that-runs-in-any-browser-1nlk>
> Published: 2026-11-30 09:05:50+00:00

**Key takeaway:** Merging every static mesh sharing a material into one mesh per district, while tagging and skipping moving objects, cut draw calls from about 7,700 to 3,200 and roughly halved frame time.

CLAI City is a living 3D city that runs at [claicity.cotentlab.com](https://claicity.cotentlab.com), with no download and no app store. We call it **the world's first AI city that works, teaches and hires.** Here's how it's put together and what we learned getting it to run smoothly on an ordinary laptop.

Our first full build sent about 7,700 draw calls per frame and stuttered even on a new MacBook. The fix was a small "bake" step. After a district is built, we walk its scene graph and merge every static mesh that shares a material into one mesh. Anything that moves (rotors, wheels, screens, people) is tagged and skipped. That brought it down to roughly 3,200 calls and roughly halved frame time.

The exam questions are picked and checked on the server, so answers can't be read from the page. Each certificate gets an ID like `CTL-AI-2611-XXXXXX` and a QR code that opens a public verify page.

A smoother first load and more districts.

CLAI City is in private beta. Join the waitlist at **[claicity.cotentlab.com](https://claicity.cotentlab.com)**.

*CLAI City by CoTent Lab — The World's First AI City That Works, Teaches & Hires.*
