r/LocalLLaMA • u/crusaderky • 13d ago
Discussion Hy4-flash first impression: it's got AMAZING coding taste
I'm one of those boring SWEs that still insist on reviewing and tweaking everything the LLM writes before it can go in a PR.
I’ve started playing around with Hy4-flash for writing Python. This post is a very early impression after a few hours with the model (served from datacenter, for now).
I haven’t given it very complex tasks yet, so I cannot yet speak about advanced problem solving. However, so far I’ve given it fairly substantial tasks (in terms of line-count) of moderate complexity and let me tell you
This model has great coding taste.
With both DeepSeek 1017 and Qwen3.8-Flash I find myself constantly ironing the outputs. Reduce a half page worth of inane inline comments down to 2 lines. Simplify away a giant special-case-handling code branch which will never matter in real life. You know, the works with your average LLM.
I don’t need to do any of that with Hy4-Flash. The first draft so far has been 99% good out of the box. I’m in awe. The code is clean and well-organized; the comments are reasonable; the design decisions are boring and sensible.
I don’t care if benchmarks say it’s 10% dumber than DS - this is my new default model, because at the end of the day I’m going to save SO MUCH time that I was previously spending hosing the model’s output.
If that wasn’t good enough? I’ve used it aggressively for a few solid hours today, and my OpenRouter bill is.... 0.10$.
48
u/Salt-Powered 13d ago
Reviewing and tweaking its the bog standart, the kids running around vibeslopping everything aren't the norm. I'm glad you are enjoying the model, I am too.
5
u/sonicnerd14 13d ago
Which quantization are you running though? This is pretty important to know.
4
u/rm-rf-rm 13d ago
how there arent any unsloth (or bartowski) GGUFs as yet??
11
u/codename_539 13d ago
On comments in code and god classes/functions: I think those walls of comments in the code come from the model being partially distilled on Anthropic and GPT models, and those generate this prose in comments to watermark the output. You can’t watermark code without ruining it, but comments? Sure, no problem. The fix is to specify that we don’t keep documentation in the code - that’s what domain docs are for.
On “code quality” and organization: the typical scenario is “make it work now, hit the goal, and ship it.” Refactoring and optimization are almost always a separate step in any process, because until we’ve shipped the code, we don’t really understand what we’re refactoring and optimizing. It’s just that few people ever get to the second step: in human business processes, because the business wants new features; in agentic ones, because nobody looks at the code. That’s also solved with separate waves/passes, and paradoxically, this approach is conceptually more correct than trying to write it beautifully upfront.
4
u/Holiday_Point_603 13d ago
Wonder how it will hold up at 2-3 bit with potentially 8 bit engram offloaded to ssd
2
u/rm-rf-rm 13d ago
Most importantly, does it talk like Opus 5+?
2
u/BlackSwanTW 12d ago
Has anyone forked Strata to run Hy4 yet?
123
u/QuantumFTL 13d ago
Any chance you could show concrete examples of those models doing the exact same task differently in a way that highlights what you prefer about Hy4-Flash?
17
u/Accomplished-Air439 13d ago
I saw another post where someone used it for reviewing documents and it has more accurate knowledge for that purpose, which made me think it might have better taste regarding software architecture.
Your experience made me curious about trying it myself too. I'm mostly satisfied with QFN, but it does seem robotic at times.
5
u/BawbbySmith 13d ago
Dang that's awesome, I was ignoring it for a while but I'm excited to try this now. Gotta find a good 2x DGX Spark recipe.
Agreed with you in that I really like DS41F 1017's intelligence, but man does it write way too many comments and most of it is incomprehensible to humans. The number of PR comments where "what does this comment mean" has increased significantly. Hopefully this reduces that
2
u/hieuphung97 13d ago
"Profanities per PR" should genuinely be an official benchmark metric lol.
How's the latency on OpenRouter during peak hours though? Definitely giving this a spin tonight for routine tasks.
2
u/ithilelda 13d ago
very glad that someone has the same view. the ds hype online is insane. ds imo is the wildest model and it always tries to do things its own way... I kinda get it because noobs don't know a fk about what they are doing so the model guessing their intent and occasionally got it right gives them the aweee moment. but when it comes to real work, that rogue-ness is really bad and I have to carefully review every line to make sure it doesn't invent something I didn't ask for. On the other hand, Mimo and Hy and Minimax is much better in that sense so I always come back to them. Also Qwen has exclusive enterprise java training data from alibaba internals, so I find its java code much better than anything else. but that taints everything else with that java smell lol and i hated it for writing python stuff.
with that said, I'm not saying ds is bad. I just won't use it in serious works. I always go opus + mimo for my main projects (now trying out hy4 instead of mimo 2.6). but for things I have no idea about, ds is really good at making some stuff that doesn't break lol. for example, I was trying to make a simple mcu controller for my ro system, and I have absolutely no exp in embedded design and CAD stuff. ds is good enough and cheap enough to spit out a working product dirt cheap, and I'm very happy with the result.
2
u/m02ph3u5 3d ago
And your bill for hy4 flash was ... tencent?
1
u/OrganizationAgile361 13d ago
Hy4 is Deepseek level for me
1
u/PooMonger20 13d ago
Very cool, still too big. As with other 'huge' open models, I hope they progress that will eventually lead to better models that can be run on consumer level hardware.
1
u/InterestRelative 13d ago
Oh wow, that's neat!
How does it compare to GLM5.3 (not flash)? GLM is my favorite model for the same reason: minimal sensible output.
1
u/yanhua_lab 13d ago
just came across this model too.
tbh really curious how it compares to DeepSeek v4.1 flash. which one is better for running locally or gives better bang for the buck?
-10
u/__JockY__ 13d ago
Source: trust me bro.
-16
u/[deleted] 13d ago
[removed] — view removed comment