Which is the best open model for [Julia] coding? And practical, and still reasonably good

GLM 5.3 just released which is supposedly good at security work and doesn’t simply throw up its hands and say “nope” like Anthropic. I’m running an audit on gRPCServer.jl as we are getting it ready for release, will have to see what it comes up with. If it pans out I’m thankful to finally have a model for this as an open source maintainer.

GLM 5.3 just released which is supposedly good

GLM 5.3 is a really strong open weight model, costs around half of sonnet if not a third and solves many things as well as if not better. I use it a lot with my startup getslaide.com - for the hosted version, simply because of pricing etc. (but it also proved to be better and more consistent in local testing)

Let us know the result! :slight_smile:

It found a DoS attack in gRPCServer.jl that could bring the server down in a single message, a correctness bug that could result in a hang/deadlock for response streaming in gRPCClient.jl, and found several bypasses allowing for arbitrary code execution in a plan mode plugin for Pi that I had been developing. Keep in mind I had already done many rounds of hardening in gRPCClient.jl so all low hanging fruit had been eliminated. gRPCServer.jl is much newer, so it hasn’t had nearly as much attention.

It was interesting seeing GLM 5.3 do its adversarial testing, coming up with all kinds of inputs to poke at different parts of the system. It did this in a way I havn’t seen Anthropic models be willing to do; they seem to just more or less only focus on the code itself and avoid anything that could lead to a reproducible exploit.

One more update, I’m running Qwen 3.8 27b 8bit locally on vLLM. This model is seriously impressive considering its size, it seems to actually be better than Deepseek V4 Flash in my experience. I had it build an a modern X11 terminal emulator focused on fast rendering without GPU acceleration, and it built it overnight from like 8 different design requirements. A few rounds later I have full TUI applications running inside it (herdr + pi), resize working properly, etc. I’ve also been using it to make improvements for DocumenterLandingPage.jl and it’s been doing a great job there as well.

I recall you sharing a research paper a few months ago regarding distributed training or inference.

@Palli FYI, I just found the papers poasted by you on this topic. They are about DisTrO, SuperScaler, DeepSpeed, Megatron, Alpa, DoReMi. Mostly in your posts (number 11/8/4) of the original thread.

These are my favorites so far, the qwen models are really good and run faster, the orinth model is 9b params and is slower than the MOE qwen model

Slap some markdown rendering over the Llama.cpp library and im good to go


I can also pipe my julia repl context to the LLM and get a repsonse in a seperate window with explaination. Its lame to other people probably but Its my workflow…

The NVIDIA research project Agentic Variation Operators (AVO) addresses this challenge of building a general-purpose agent architecture. AVO was first demonstrated on difficult software engineering and GPU-kernel optimization tasks, where success requires far more than generating code in a single response.
..
GPU-kernel optimization and the ARC-AGI-3 benchmark appear very different on the surface.

One involves source code, compilers, profilers, and throughput. The other involves unfamiliar interactive environments in which an agent must infer the effects of available actions, discover objectives, and act efficiently enough to make progress.

But the underlying computational pattern is similar.
..
Using Claude Opus 5, AVO completed the full 25-environment public set with a 100.00 RHAE score, solving all 183 levels in 6,624 environment actions.
..
The most important result was not simply the 100.00 score, but that the same agent architecture transferred from highly specialized GPU-kernel optimization to a very different interactive reasoning task.

Ox Alpha model is claimed frontier, and (still) free to use (and most used with DeepSeek harness at OpenRouter):

It’s most used on all the harnesses right now or near the top, with e.g. Claude Code (most used with it last few days): DeepSeek Harness | OpenRouter and App & Agent Rankings | OpenRouter

EDIT: I managed to use this model a bit for free, coding Julia, with Deepseek harness through openrouter, until I got: This turn failed 404: {"message":"Thank you for participating in the Stealth Ox Alpha testing period. This model was ZAI's GLM-5.3 Flash. Use it now: https://openrouter.ai/z-ai/glm-5.3-flash","code":404}

https://z.ai/blog/glm-5.3-flash

I’m running an Intel Arc Pro B60 through Julia and getting about 17 tok/s on Qwen3 27B. That seems low. I expected at least 30 tok/s as a baseline. From what I’ve read, the gap comes down to firmware and Intel’s attention kernels, not the hardware itself.

For comparison, what do people get running the same model with llama.cpp on CUDA cards? Are 5090s really doing over 250 tok/s, or is that only with a smaller model or heavier quantization?

As a frail human I cannot parse Gen Z prose. Here’s the Gemini translation for human consumption:

EDIT: REMOVED because this post got blocked because of AI, which I used to translate the question into something readable. It wasn’t spammy and did contain useful information. I find it unfortunate that AI is being blamed for slop when I’m trying to add value here.

I also asked Gemini to answer the question in OP’s style:

EDIT: ALSO REMOVED an AI generated Gen Z answer. I thought it was humorous, and it was as intelligible as OP’s original question.

Apologies to all discoursers for use of AI. I know it’s frowned upon to post with AI (which I’m pretty certain OP did NOT do :wink: ), and perhaps even worse to answer them as such. This is offered in good humor as a comment on the times.

EDIT: Is removal of AI content genuinely better?

You copy pasted what I said to an AI then replied with even more generated AI, the kv cache is optimized, the model and 32k context fit in the b60. Its still slow. The moe models like qwen3:4b get 90/toks. Moe always faster than dense models?

Why dont you post what gemini says to do to optimize this model for my card then..

My only intent was humor, as I have zero expertise here. I already deleted my Gemini chat, so I’m afraid I cannot share it.

A small opinion from me is that yes, MoE should always be faster than same-size dense models, since there should be smaller matrix multiplications from a single expert. I also think Gemini was saying that speculative decoding helps a lot.

And a gentle nudge: I do honestly have a hard time reading text with poor spelling, capitalization, and punctuation. If I use an AI to understand it, couldn’t you feed it to an AI to either write a better question or even answer it?

The typed decision models are very fast, responses 20 - 50ms, they are alot of work though, I edit the typed decision here to see the responses when I click decide, or type a json file into the loader. Nimble is the bigger 9b version of Laya and is 2x slower but has a far larger vocabulary. The responses are so fast for Laya that it can play a game through the exposed API and a harness.

That’s interesting. Decision models are all the rage right now, and will probably improve a ton in the near future. If it took you a long time to get it working, just wait and there will soon be an ergonomic tool for it. As foundation models get more and more huge, we’ll also have increasingly efficient tools/models that run fine locally.

BTW thanks for re-writing your earlier post(s), much more readable now. My earlier AI translation got blocked :frowning:

The inference engine matters a lot as well.
Take a look at strata, which IIRC is optimized for qwen3.8-flash-next

If you’re still interested, check out: Qwen3.8 27B on Intel Arc Pro B60 24GB: TIGHT FIT, ~14 tok/s. vs Can Qwen3.8 27B Run on RTX 5090 32GB? YES, ~82 tok/s.
As apo383 pointed out, token generation can be improved using eg MTP. An internet search will get you where you want. I don’t think you can do anything about the slow prefill though, and 32K context length is a bit meh these days.
For Qwen3.8-27b, on dual RTX 4090s I saw TG around 30-40 tps, but I was running the FP8 quant in VLLM with tp=2, and the PCI bus is the constraining factor in that set-up. But TBH, I feel that the smaller models, while they can be good, still lack “intelligence”/reasoning ability and so can be a little frustrating to use at times. But I saw enough from that model to take a chance and invest in hardware that is able to run more capable LLMs. And I’m happy I did. Good luck with your set-up!

This matches what I could max out for the intel arc b60 was 17/toks. The b60 is very good, the qwen3:4b gets 90/toks(average for any MOE) and my only comparison on a higher card I can test is that model and a 5060 that gives 112/toks. Im going to test Strata later today. That splits the 24g of vram and 64g of ram if I understand it correctly.

Alot work just to get a b60…

FWIW these guys made a benchmark with fairly recent github issues that were then fixed, to figure out if LLMs could fix the bug: LongTail-SWE

The most represented language is Julia!

The important thing is that you enjoy your job, and have time for your hobbies!

Thanks for the deep rabbit hole on this one!
I got my local AI to build a “harness” so that I could run the benchmarks locally through opencode. It’s quite fascinating reading the reasoning traces.

I’m wondering how other people interpret the results. For example, do people see the lower scores for non-frontier open weight models and conclude they’re useful or useless?
My current local AI model is DeepSeek-v4-flash-0731 and I find it to be a very good assistant. Not perfect, but none are, and you will always need to verify any model’s claims and results - IMO. Its solve rate for the benchmark tasks certainly falls short of the frontier models, but that’s expected, and in practice it’s a solid performer - it just needs a little more human input. Based on these results, I’ll certainly be moving over to DeepSeek-v4.1-flash-1017. Here’s a further breakdown of the Julia results that people may find interesting. Take the cost estimates with a pinch of salt - people should do their own analysis:

Longtail-SWE Julia cross-model analysis

Source: nebius/Longtail-SWE-trajectories (HF datasets), config default, split train, all 11 parquet shards (6,666 rows total). Julia subset: 11 models × 27 tasks × 3 runs = 891 runs. Computed with DuckDB reading the shards directly (remote, column-projected).

The trajectory blob in each row carries its own usage.tokens (input/output/reasoning/total) and wall_time_seconds - every aggregate below comes from those, not estimates.


1. Julia leaderboard — Pass@1 and consistency histogram

model 3/3 2/3 1/3 0/3 total resolv Pass@1
gpt-6.1-sol 24 2 0 1 76 93.8%
claude-opus-5.5 21 2 3 1 70 86.4%
gpt-5.6-sol 21 2 2 2 69 85.2%
kimi-k3.1-pro 16 8 1 2 65 80.2%
gpt-5.6-luna 17 5 2 3 63 77.8%
deepseek-v4.1-flash 19 2 2 4 63 77.8%
kimi-k3 18 4 0 5 62 76.5%
glm-5.3-flash 10 6 6 5 48 59.3%
deepseek-v4-flash 11 5 4 7 47 58.0%
qwen3.8-27b 2 9 7 9 31 38.3%
qwen3.6-27b 4 0 1 22 13 16.0%

Consistency = tasks resolved 3/3 (guaranteed), 2/3, 1/3, 0/3. 27 tasks × 3 runs each per model
(81 runs/model). Pass@1 = total resolutions / 81.


2. Token volumes (Julia suite, 81 runs/model)

Reported usage.tokens summed across runs. Note: input totals include scaffold context re-sends (the swarm-like scaffold re-reads the growing transcript each turn), so they are large multiples of net new content — which also means most of that input is served from prompt cache. cached_input is populated for most models (88–97% of input; see §4 - glm and deepseek-v4-flash report 0, the others don’t).

model input output (+reasoning) total avg / run
glm-5.3-flash 3,700M 8.1M 3,707M 45.8M
deepseek-v4-flash 2,435M 19.5M 2,449M 30.2M
qwen3.8-27b 2,038M 72.8M 2,077M 25.6M
deepseek-v4.1-flash 2,044M 17.6M 2,056M 25.4M
kimi-k3 1,464M 14.1M 1,472M 18.2M
gpt-5.6-luna 1,204M 7.2M 1,208M 14.9M
qwen3.6-27b 694M 2.8M 696M 8.6M
kimi-k3.1-pro 614M 4.9M 617M 7.6M
claude-opus-5.5 474M 3.4M 477M 5.9M
gpt-5.6-sol 357M 2.4M 359M 4.4M
gpt-6.1-sol 268M 3.1M 270M 3.3M

The cheap-flash models burn 5–14× more input tokens than the frontier ones (glm 3.7G vs gpt-6.1-sol 0.27G). Low rate per token buys enormous context churn.


3. Wall time (Julia suite, avg/run)

model avg wall model avg wall
deepseek-v4-flash 229 min gpt-5.6-luna 72 min
qwen3.8-27b 250 min claude-opus-5.5 50 min
glm-5.3-flash 151 min kimi-k3.1-pro 48 min
deepseek-v4.1-flash 111 min qwen3.6-27b 42 min
kimi-k3 93 min gpt-5.6-sol 38 min
gpt-6.1-sol 30 min

4. Estimated cost per resolved task

Prices ($/1M input / output / cache-hit; midpoints of user-provided ranges):
claude-opus-5.5 $4.00/$20.00/c$0.20 · gpt-6.1-sol $2.00/$10.00/c$0.10 · gpt-5.6-sol $4.00/$20.00/c$0.40 · gpt-5.6-luna $0.20/$1.20/c$0.02 · kimi-k3.1-pro $0.245/$8.60/c$0.20 · kimi-k3 $0.19/$16.00/c$0.18 · deepseek-v4-flash $0.09/$0.20/c$0.02 · deepseek-v4.1-flash $0.145/$0.51/c$0.0035 · glm-5.3-flash $0.095/$0.289 · qwen3.8-27b $0.15/$1.88/c$0.037 · qwen3.6-27b $0.297/$2.63.

Costing model: the trajectory reports per-run cached_input (fraction of input served from prompt cache). Cache-hit tokens are billed at the cache rate, non-hit input at the standard input rate. Models whose provider reports no cache hits (deepseek-v4-flash, glm-5.3-flash) don’t benefit; everyone else is 88–97% cached, which is why their corrected costs collapse.

model cost/suite $/resolve resolved Pass@1
gpt-5.6-luna $38 $0.61 63 77.8%
deepseek-v4.1-flash $44 $0.70 63 77.8%
gpt-6.1-sol $79 $1.04 76 93.8%
kimi-k3.1-pro $167 $2.57 65 80.2%
gpt-5.6-sol $249 $3.61 69 85.2%
claude-opus-5.5 $264 $3.78 70 86.4%
deepseek-v4-flash $223 $4.75 47 58.0%
glm-5.3-flash $354 $7.37 48 59.3%
qwen3.8-27b $238 $7.69 31 38.3%
kimi-k3 $489 $7.89 62 76.5%
qwen3.6-27b $213 $16.40 13 16.0%

GPT long-context surcharge (>272K prompts)

GPT-5.6/6.1 Sol and Luna reprice any request whose prompt exceeds 272K tokens (2× input / 1.5× output across that request). The dataset stores only run aggregates, not per-request sizes, so the impact can’t be computed exactly - the following is a bound. Worst case (every token billed at LC rates): luna $0.61→$1.14, gpt-6.1-sol $1.04→$1.87, gpt-5.6-sol $3.61→$6.86. Only the tail requests of long runs plausibly cross 272K, so the realistic shift is a fraction of that; the ordering of the top three is preserved either way.

Caveats: midpoints for ranged prices; input totals include context re-sends (which is exactly what makes cache-hit rates so high); per-model cached_input availability is provider/cohort-dependent (v4.1’s ds41-bundle runs report it, v4-flash’s original-cohort runs don’t — real-world caching may exist there too, so v4-flash’s $4.75 is an upper bound).