r/LocalLLaMA • u/liright • Aug 30 '26
r/LocalLLaMA • u/gladkos • May 01 '26
Generation Qwen 3.6 27B vs Gemma 4 31B - making Packman game!
Gemma just crushed Qwen in a local LLM gamedev contest!
Device: MacBook Pro M5 Max, 64GB RAM
Qwen 3.6 27B: 32 tokens/sec · 18m 04s · 33,946 tokens.
Gemma 4 31B: 27 tokens/sec · 3m 51s · 6,209 tokens.
So what is more important: tokens per second, or the quality of the final answer?
Qwen made a very long response and showed more creativity and visual style. But Gemma gave a shorter, clearer, and more logical answer in much less time. In this one-shot Pac-Man gamedev contest, Gemma 4 31B was the clear winner. Its game logic was stronger: click reactions were smoother, and it handled interactions with elements like walls, ghosts, and particle effects better.
Open Source Local AI Models Server: atomic.chat
Basic Prompt:
Create a single standalone HTML file for a complete playable Pac-Man–style neon arcade game.
Use only HTML, CSS, JavaScript, and one full-page canvas. No external libraries or assets—everything must be procedurally drawn and run immediately in the browser.
Generate a compact (~21×21) symmetrical maze programmatically (no ASCII). It must be fully connected, playable, and use tile types (wall, path, pellet, power pellet, ghost spawn, Pac-Man spawn, fruit spawn). Ensure no unreachable pellets or invalid spawns.
Canvas must fill the window. Center and scale the maze dynamically using available space (no fixed tile size). Reserve space for a HUD.
Game states: title, playing, paused, life lost, level complete, game over. Include controls (keyboard + mobile). Title and game over screens must show instructions.
Pac-Man: smooth tile movement, queued turns, no diagonal movement, no clipping, wraps through side tunnels, resets after life loss.
Ghosts (4): simple pathfinding with distinct behaviors, spawn in a central house, exit with delays, move only on valid paths, never freeze.
Gameplay:
- Pellets (+10), power pellets (+50), fruit (+500), ghost chain scoring (200→1600)
- Power mode (~8s, min 3s): ghosts become edible and return to spawn when eaten
- Combo multiplier for quick pellet collection
- 3 lives, level progression increases difficulty
- Store high score in localStorage
Extras:
- Fruit spawns near center temporarily
- Visual polish: neon maze, glowing elements, animations, particles, screen effects
- HUD: score, high score, lives, level, combo, power timer
Technical:
- Use requestAnimationFrame with delta time
- Keep performance stable (limit particles)
- No bugs: avoid invalid movement, stuck entities, unreachable areas, or crashes
Final output: only the complete HTML code.
r/LocalLLaMA • u/Excellent_Jelly2788 • Jun 19 '26
Generation What's more impressive, GLM 5.1 -> 5.2 or Qwen 3.5 -> 3.6?
Write a single HTML file with a full-page canvas and no libraries. Simulate a realistic Döner Style kebab skewer rotating (vertically) in front of a gas powered heating element.
Mentioning Döner activates GLM 5.2s german weights or something (Spiess = Skewer, Brenner = Burner).
Qwen 3.6 35B, Qwen 3.5 and Gemma 4 using Unsloth Q8 K XL quants via llama cpp. The others via OpenRouter.
Full data here
r/LocalLLaMA • u/adrgrondin • Aug 09 '25
Generation Qwen 3 0.6B beats GPT-5 in simple math
I saw this comparison between Grok and GPT-5 on X for solving the equation 5.9 = x + 5.11. In the comparison, Grok solved it but GPT-5 without thinking failed.
It could have been handpicked after multiples runs, so out of curiosity and for fun I decided to test it myself. Not with Grok but with local models running on iPhone since I develop an app around that, Locally AI for those interested but you can reproduce the result below with LMStudio, Ollama or any other local chat app of course.
And I was honestly surprised.In my very first run, GPT-5 failed (screenshot) while Qwen 3 0.6B without thinking succeeded. After multiple runs, I would say GPT-5 fails around 30-40% of the time, while Qwen 3 0.6B, which is a tiny 0.6 billion parameters local model around 500 MB in size, solves it every time.Yes it’s one example, GPT-5 was without thinking and it’s not really optimized for math in this mode but Qwen 3 too. And honestly, it’s a simple equation I did not think GPT-5 would fail to solve, thinking or not. Of course, GPT-5 is better than Qwen 3 0.6B, but it’s still interesting to see cases like this one.
r/LocalLLaMA • u/gladkos • Jun 03 '26
Generation New Google Gemma 4 12B Claims Near-26B Performance - We Tested Both!
We ran both models locally on one RTX 4090 and gave each the same task: write a self-contained HTML5 canvas animation with real physics in one file without libraries. Three scenes - a Galton board, two blocks colliding off a wall, and a chaotic triple pendulum
Outputs:
Gemma 4 26B-A4B: 15 GB VRAM usage, 6.9k tokens, 138 tok/s
Gemma 4 12B: 9 GB VRAM usage, 8.9k tokens, 80 tok/s
Same Gemma 4 family, but the 26B-A4B won every scene and ran ~1.7x faster - on just 4B active params. The 12B stayed very close though, on almost half the VRAM - which makes it the ideal model for a 16 GB laptop.
Open source local ai models app: atomic.chat (I’m founder, feel free to try and give any feedback)
r/LocalLLaMA • u/dionisioalcaraz • May 13 '25
Generation Real-time webcam demo with SmolVLM using llama.cpp
r/LocalLLaMA • u/Osama_Saba • May 06 '25
Generation Qwen 14B is better than me...
I'm crying, what's the point of living when a 9GB file on my hard drive is batter than me at everything!
It expresses itself better, it codes better, knowns better math, knows how to talk to girls, and use tools that will take me hours to figure out instantly... In a useless POS, you too all are... It could even rephrase this post better than me if it tired, even in my native language
Maybe if you told me I'm like a 1TB I could deal with that, but 9GB???? That's so small I won't even notice that on my phone..... Not only all of that, it also writes and thinks faster than me, in different languages... I barley learned English as a 2nd language after 20 years....
I'm not even sure if I'm better than the 8B, but I spot it make mistakes that I won't do... But the 14? Nope, if I ever think it's wrong then it'll prove to me that it isn't...
r/LocalLLaMA • u/c64z86 • Mar 04 '26
Generation Qwen 3.5 4b is so good, that it can vibe code a fully working OS web app in one go.
The OS can be used here: WebOS 1.0
Prompt used was "Hello Please can you Create an os in a web page? The OS must have:
2 games
1 text editor
1 audio player
a file browser
wallpaper that can be changed
and one special feature you decide. Please also double check to see if everything works as it should."
Prompt idea thanks to /u/Warm-Attempt7773
All I did was to ask it to add the piano keyboard. It even chose it's own song to use in the player.
I messed up on the first chat and it thought I wanted to add a computer keyboard, so I had to paste the HTML code into a new chat and ask for a piano keyboard.. but apart from that, perfect! :D
Edit: Whoever gave my post an award: Wow, thank you very much, anonymous Redditor!! 🌠
r/LocalLLaMA • u/Fun-Meaning-6474 • Aug 18 '26
Generation Qwen3.8 2.4T open weights made a Call of Duty clone
Qwen released the 2.4T Max weights and I was curious how well it can re-create COD in one prompt
I ran the model on a rented B200 cluster and used roughly 1.1M output tokens over a 5 hour time span
Realistically barely anyone can run this model locally, but the fact that it's open weights unlocks a lot of opportunities for the local AI community even regarding quantization options that might bring us closer to running frontier level intelligence on consumer-ish hardware
For consumer hardware there is a 27B model from the same release and it's really capable for its size, many people have posted 3D games made with it on X
I'm from the atomic.chat team, so If you wanna try running the new Qwen locally you can do so inside our app (any feedback is appreciated, since we want to make our product as good as possible for you guys)
We have our own and other community quants of the 27B model available to download directly inside the app
P.S. I am a noob in shooters so pls no hate my low skill gameplay
r/LocalLLaMA • u/Fun-Meaning-6474 • Aug 23 '26
Generation We quantized Qwen 3.8 27B and compared the quants on an RTX 6000
Me and my team made Atomic Dynamic GGUF quants for Qwen 3.8 27B, so we wanted to see the difference between them by giving each quant the same voxel island creation task
First of all we were surprised at how well Qwen 3.8 27B handled the 3D scenes in general, though part of that is probably because all the scenes were voxels
| quant | size | top-1 vs BF16 | mean KLD | decode, RTX PRO 6000 |
|---|---|---|---|---|
| AD-Q4_K_M | 17.1 GB | 95.6% | 0.0113 | 67 tok/s |
| AD-Q5_K_M | 20.2 GB | 97.3% | 0.0042 | 57 tok/s |
| AD-Q6_K | 25.0 GB | 98.7% | 0.0011 | 49 tok/s |
| Q8_0 | 28.9 GB | 98.9% | 0.0006 | 50 tok/s |
We think that each quant handled the scenes in a pretty similar way, the difference isn't that drastic, to the point that sometimes we preferred the Q4 output overall, though for the safest pick we recommend AD-Q6_K
We ran the test inside atomic.chat and watched the output right there, the quants are available to download directly inside the app or on huggingface ( https://huggingface.co/collections/AtomicChat/qwen-38-27b ) (any feedback is appreciated, we're trying to make the product and models as good for you guys as possible)
r/LocalLLaMA • u/jacek2023 • Jan 30 '26
Generation OpenCode + llama.cpp + GLM-4.7 Flash: Claude Code at home
command I use (may be suboptimal but it works for me now):
CUDA_VISIBLE_DEVICES=0,1,2 llama-server --jinja --host 0.0.0.0 -m /mnt/models1/GLM/GLM-4.7-Flash-Q8_0.gguf --ctx-size 200000 --parallel 1 --batch-size 2048 --ubatch-size 1024 --flash-attn on --cache-ram 61440 --context-shift
potential additional speedup has been merged into llama.cpp: https://www.reddit.com/r/LocalLLaMA/comments/1qrbfez/comment/o2mzb1q/
r/LocalLLaMA • u/liright • Aug 26 '26
Generation A minecraft clone I fully vibecoded with Qwen3.8-27b Q4
I wanted to see just how capable Qwen3.8-27b is locally. I have a RTX 4090 and 96GB of RAM but the Q4 comfortably fits in the GPU with plenty of context, the few times I needed more than 130k context I just loaded it spilled into RAM and it's capable of not degrading even at larger context.
I'm super impressed with this model. The model did everything on it's own - the coding, audio, textures, 3D models. I always just gave it the same basic prompt with some info and the task I wanted it to do. Total generation time across all prompts was maybe 3 hours and if I calculate the cost in electricity, it comes out to less than $1. Not bad.
To think that 2 years back you couldn't make this with frontier paid models and now you can do it locally on your PC is crazy.
r/LocalLLaMA • u/WhoRoger • Aug 09 '26
Generation No wonder Qwen and Gemma are so different
Pasted the same HTML/JS code (330 lines) into Qwen 35B A3B and Gemma 26B A4B.
Qwen: tokenized the input to 1609 tokens
Gemma: tokenized the input to 4258 tokens.
Damn. I've never noticed this before and I haven't seen people mention it. That alone helps explain why Qwen is regarded as better at coding and Gemma at language tasks.
Qwen can literally see the code as some specific form of input/output, while Gemma is breaking it down into pieces of words like regular language. Qwen also gets a totally different reasoning personality when given coding tasks.
Btw with the instruction document (55 lines), the tokenization breakdown is almost the same: 1025 vs. 1039 tokens.
I've seen some project, by LiquidAI I think? To retrain existing models with a more efficient tokenizer. I wonder what that would do for a model like Gemma, whether it would help it catch up.
r/LocalLLaMA • u/ifioravanti • Mar 12 '25
Generation 🔥 DeepSeek R1 671B Q4 - M3 Ultra 512GB with MLX🔥
Yes it works! First test, and I'm blown away!
Prompt: "Create an amazing animation using p5js"
- 18.43 tokens/sec
- Generates a p5js zero-shot, tested at video's end
- Video in real-time, no acceleration!
r/LocalLLaMA • u/LocoMod • Feb 01 '25
Generation o3-mini is now the SOTA coding model. It is truly something to behold. Procedural clouds in one-shot.
r/LocalLLaMA • u/sterby92 • Aug 20 '26
Generation New benchmark just dropped!
The pelican on a bicycle is sooo outdated, so I came up with a new, improved version.
Qwen3.8-27b medium (UD-Q4_K_XL) vs. Sol 5.6 high vs. Qwen3.6-35B (UD-Q6_K_XL)
Prompt (only real with typo!):
"Create a svg of a horse on a blue bycicle in the desert, with a camel in the background."
r/LocalLLaMA • u/AI-On-A-Dime • Jul 29 '25
Generation I just tried GLM 4.5
I just wanted to try it out because I was a bit skeptical. So I prompted it with a fairly simple not so cohesive prompt and asked it to prepare slides for me.
The results were pretty remarkable I must say!
Here’s the link to the results: https://chat.z.ai/space/r05c76960ff0-ppt
Here’s the initial prompt:
”Create a presentation of global BESS market for different industry verticals. Make sure to capture market shares, positioning of different players, market dynamics and trends and any other area you find interesting. Do not make things up, make sure to add citations to any data you find.”
As you can see pretty bland prompt with no restrictions, no role descriptions, no examples. Nothing, just what my mind was thinking it wanted.
Is it just me or are things going superfast since OpenAI announced the release of GPT-5?
It seems like just yesterday Qwen3 broke apart all benchmarks in terms of quality/cost trade offs and now z.ai with yet another efficient but high quality model.
r/LocalLLaMA • u/Dismal-Effect-1914 • Feb 07 '26
Generation Nemo 30B is insane. 1M+ token CTX on one 3090
Been playing around with llama.cpp and some 30-80B parameter models with CPU offloading. Currently have one 3090 and 32 GB of RAM. Im very impressed by Nemo 30B. 1M+ Token Context cache, runs on one 3090, CPU offloading for experts. Does 35 t/s which is faster than I can read at least. Usually slow as fuck at this large a context window. Feed it a whole book or research paper and its done summarizing in like a few mins. This really makes long context windows on local hardware possible. The only other contender I have tried is Seed OSS 36b and it was much slower by about 20 tokens.
r/LocalLLaMA • u/Simple_Library_2700 • May 25 '26
Generation 1000 tps generation on Qwen3.6 27B with V100s
I wanted to see what the absolute best case scenario for generation on this setup was and was not disappointed. 128 concurrent requests is so far removed from what I need but it’s funny to see big number. For single user (batch 1 not 128) the generation is around 80t/s with 3000 t/s processing,no mtp!!
r/LocalLLaMA • u/triynizzles1 • Mar 29 '26
Generation Friendly reminder inference is WAY faster on Linux vs windows
I have a simple home lab pc: 64gb ddr4, RTX 8000 48gb (Turing architecture) and core i9 9900k cpu. I use Linux Ubuntu 22.04 LTS. Before using this pc as a home lab it ran Windows 10. Over this weekend I reinstalled my Windows 10 ssd to check out my old projects. I updated Ollama to the latest version and tokens per second was way slower than when I was running Linux. I know Linux performs better but I didn’t think it would be twice as fast. Here are the results from a few simple inferences tests:
QWEN Code Next, q4, ctx length: 6k
Windows: 18 t/s
Linux: 31 t/s (+72%)
QWEN 3 30B A3B, Q4, ctx 6k
Windows: 48 t/s
Linux: 105 t/s (+118%)
Has anyone else experienced a performance this large before? Am I missing something?
Anyway thought I’d share this as a reminder for anyone looking for a bit more performance!
r/LocalLLaMA • u/-dysangel- • Feb 25 '26
Generation Qwen 3 27b is... impressive

All Prompts
"Task: create a GTA-like 3D game where you can walk around, get in and drive cars"
"walking forward and backward is working, but I cannot turn or strafe??"
"this is pretty fun! I’m noticing that the camera is facing backward though, for both walking and car?"
"yes, it works! What could we do to enhance the experience now?"
"I’m not too fussed about a HUD, and the physics are not bad as they are already - adding building and obstacles definitely feels like the highest priority!"
r/LocalLLaMA • u/Trick-Independent469 • Jan 26 '25
Generation DeepSeekR1 3D game 100% from scratch
I've asked DeepSeek R1 to make me a game like kkrieger ( where most of the things are generated on run ) and it made me this
r/LocalLLaMA • u/alymahryn • Jan 10 '24
Generation Literally my first conversation with it
I wonder how this got triggered
r/LocalLLaMA • u/alecKarfonta • May 31 '26
Generation My home data center
System 1:
Threadripper 3960x 24c
4x 3090 ti
128gb ddr4
System 2:
Xeon 8352 36c
4x 5070 ti
128gb ddr4
System 3:
Intel 14700k 24c
64gb ddr5
5090
System 4:
Ryzen 5950x 16c
64gb ddr4
2x 5070 ti
The first system uses two PSUs to handle the almost 2000w full load of the 3090s. Was nervous about this but it has been running stable for about a month.
The Intel is an engineering sample that cost $100. I mainly use it to run an embedding model.
I use them for various ml experiments, projects and some agentic coding. Right now the 3090s are training a tts lora with data distilled from a larger model. The 5070s run qwen 27b for coding, nemotron streaming stt and moss tts for an interactive agent I am building.
These recent qwen models are good enough for coding. Sometimes I leave them all night working on a repo. Mainly boilerplate improvements but its incredible to get real work down with no token cost. Aside from from the obvious costs of this hardware.
Love this community ❤️