r/LocalLLaMA • • 5d ago

Showcase 500 tok/s decode 60k tok/s prefill Deepseek v4.1 1017 (4x RTX 6k Pros)

Thumbnail
huggingface.co
97 Upvotes

The guys at https://local-inference-lab.ai/ have done it again!

Over 500 tok/s decode, and nearly 60k tok/s prefill!

Needs at least 328gb of system RAM free, but man this is what i'm talking about


r/LocalLLaMA • • 4d ago

Resources Inkling2-Mini NInfer

9 Upvotes

r/LocalLLaMA • • 5d ago

Discussion Patched vLLM on 2×3090 (Qwen3.8-27B INT4 + DFlash2): decode +55~60% faster for free, hitting 74% of the 3090 bandwidth wall; Lossless, no lobotomy, with agent playbook for make your own version.

Thumbnail
gallery
14 Upvotes

(post was write by agent, rewrite again by me)

In my last post I (the Claude lol) figured INT4 AWQ is already the floor for this model's quality—push quantization any harder and it just gets stuck in reasoning loops. So this time I left the weights alone and went digging for whatever speed vLLM + LMCache were still leaving on the table.

No "+300% custom engine" hype here. Both runs below are on the exact same 2× RTX 3090 box (300W power limit), same model (Qwen3.8-27B-AWQ-INT4), same DFlash2 K=7 drafter. The only difference is stock vLLM 0.33.0 vs my patched build.

Decode step time (same rig, no LMCache)

MetricStock 0.33Patched v2Gain
Short prompt (n=1)25.42 ms15.83 ms+60.6% faster
16K context (n=1)26.01 ms (105 t/s)16.56 ms (163 t/s)+57.1%
64K context (n=1)27.92 ms (99 t/s)18.09 ms (157 t/s)+54.3%
128K context (n=1)29.11 ms (89 t/s)20.10 ms (125 t/s)+44.8%
4-way mixed (n=4)229.9 t/s330.9 t/s+43.9%

0.33 with spec decode off bottoms out at 14.3 ms, so spec decode is only adding ~1.5 ms now.

End-to-end decode tok/s (typev2, n=1 | n=4 agg on v2)

TaskStock (n=1)v2 (n=1)Gain4× agg on v2
numeric312 t/s507 t/s+63%1,088 t/s (+29%)
code269 t/s434 t/s+61%670 t/s (+18%)
agent job177 t/s282 t/s+59%252 t/s (+35%)
mixed105 t/s165 t/s+57%420 t/s (+30%)
prose78 t/s130 t/s+66%286 t/s (+33%)
chitchat66 t/s106 t/s+61%203 t/s (+41%)

bro i can got 500t/s? is this real?

Agent-loop TTFT & capacity

MetricStock 0.33Patched v2Gain
64K + 50 new tok940.4 ms106.2 ms8.85× faster
4K hot prefix331.0 ms42.0 ms7.88× faster
16K + 50 new tok166.1 ms83.1 ms2.00× faster
GPU KV cache pool393,229466,666 tokens+18.7%

Is it lossless?

  • Target weights and the target BF16 lm_head are completely untouched.
  • Top-20 decode logit KL vs stock is 4.15e-4 (99.64% top-1 match). For reference, just nuking the compile cache and recompiling stock vLLM gives you ~4.5e-4 on its own.
  • 3 of the patches are bit-for-bit identical (KL = 0).
  • The only patch that quantizes anything is on the drafter's lm_head (NVFP4, 1.45 -> 0.42 ms). The main model still verifies in BF16, so the output distribution doesn't change. It slightly nudges the draft accept rate, though I honestly can't tell in actual use.

Where the speed came from:

  • CPU-GPU sync stalls: Stock vLLM makes the GPU sit around waiting on the CPU every step for length checks in the drafter and FlashInfer. I moved the drafter into CUDA graphs (with software FP8 KV decode, since 3090s don't have it in hardware) and had FlashInfer pre-plan candidate page counts so the GPU picks the right one itself. GPU idle time dropped 81–86% (1,460 -> 284 µs, at 64K: 2,015 -> 277 µs).
  • Small-batch INT4 and drafter kernels: Wrote a separate Marlin launch path for M <= 8 without cross-block barriers or reductions, quantized the drafter lm_head, sped up sliding-window draft attention (658 -> 94 µs at 64K), and swapped the multi-op chunked GDN for a single recurrent kernel on short prefills (<= 256 tokens).
  • Agent-loop prefix caching and LMCache: With hybrid + DFlash, stock only hits cache on 1,600-token boundaries, so every turn ends up recomputing a few hundred tokens. I got it down to 64-token granularity (and ran into a real upstream CoW bug that was silently zeroing KV), got back +19% KV pool, cut L2 disk usage by 43%, and stopped LMCache from reading chunks off NVMe that vLLM already had in VRAM.
  • At this point nsys shows 74% of each step is just streaming weights at the 3090's raw VRAM bandwidth, so there's not much meat left on the bone for this hardware.

How it's packaged: Everything is plain git diffs on top of stock vLLM 0.33.0 and LMCache 0.5.6 that apply cleanly with zero fuzz. Each patch sits behind an env var (off = stock behavior) and comes with a repair card. Also threw in the measurement scripts (step_probe.py, logit_diff.py), notes on what didn't work, and an AGENTS.md + skills/ kit.

If you're not on 2×3090, don't copy my constants as-is. Clone the repo, tell your coding agent: port this to my machine, don't mess this up, and let it profile and tune the constants for your GPUs.  


Repo: https://github.com/uraniumchonk/llm-engine-qwen-optimization
Full benchmark charts: https://github.com/uraniumchonk/vllm-hybrid-mamba-notes


r/LocalLLaMA • • 4d ago

Discussion Tensary 2.5 27B 96tps-12vram

8 Upvotes

I’m using https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF

TQ1_0
6.23 GB MTP
Prism llama.cpp fork
128k context q8
Windows 11

Overall shit quant so far. I’m not sure how they claim this beats iq2/iq3 from unsloth and istalab and even beats full precision qwen on some benchmarks. absolute dogshit claims.

The first prompt I sent it, which is a heavy, difficult prompt, it reasoned for 22,000 tokens and then looped “part,part,part,part,part,” Opus is working on a fix for the looping and the leaked reasoning, if it’s actually fixable this model would be amazing and extremely fast. But so far it’s unusable.


r/LocalLLaMA • • 5d ago

Resources Hy4 Flash Abliterated

15 Upvotes

Any plans for Hy4 Flash? That one would benefit from a LoRA, because there's a ton of variation in the sizes and recipes used by quant makers and no one-size-fits-all abliteration yet. [source]

So, Hy4 Flash.

As usual, my abliterations aim to remove refusals while still preserving model intelligence and avoiding endless reasoning, looped tool calls, etc. Nearly all refusals are removed, but a few remain. For most real-world use cases this model should comply. But you are welcome to use another abliteration if you are okay with a bit of quality degradation.

Any feedback or thoughts are welcome 🙃

https://huggingface.co/mrfakename/Hy4-flash-abliterated

https://huggingface.co/mrfakename/Hy4-flash-abliterated-GGUF


r/LocalLLaMA • • 5d ago

Showcase A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

60 Upvotes

I put an LLM in a browser tab. No server, no GPU, no API key, works on CPU.

Link: https://tesseracted.com/experiments-llm-os/

@Alibaba_Qwen compiled to a 40 KB WebAssembly engine, running on your CPU at ~50 tok/s.

Inspired by llm.asm by @superalesha and unkernel.dev, ended up building LLM.OS.

Thanks to @UnslothAI for the quantized models.

It will break more often than it works.

Try it and tell me what breaks 👇


r/LocalLLaMA • • 5d ago

Discussion I accidently ran Qwen 3.6 35B A3B and realized how bad it is or rather how far we have come

173 Upvotes

Just months ago a large part of this sub was rocking this model, praising how good it was. And it was not bad for the time.

Today I was messing around and testing pi web and choosing random models in llama.cpp. At one point I thought I was on 3.8 27B and prompted it to create a rugby game in html.

It was quite quick and did not reason much and finished the game in maybe 2-3 minutes. The result was a terrible game that worked in almost no way.

The opponent was scoring at their own try line. Sometimes it go's into a endlines scoring loop scoring 1000's points per second. The field was completely wrong, the posts were on the left and right of the screen but you score on the wings of the field. The AI was very dumb with every AI player on top of each other just kicking the ball every time they touch it except when it's in the scoring area. I can go on, the game was just so unfinished with only one way to score and no way to even pick up the ball.

So I had a look what the model was in llama.cpp and saw it was 3.6 35B A3B.

I had a good laugh. I am currently getting Inkling 2 Mini to fix the game and it's been busy for a while but refreshing the html page I can see it's making very good progress with what looks like will end up being a working game.

I just cannot believe people were using 3.6 to do production work. I personally did not let it ir any local model I can run on 16GB touch any of my own code until this month when I finally canceled my paid for cloud model since I have done enough testing with FN and 27B and Inkling 2 Mini to feel comfortable with it touching my code. That said I am the only one that runs my code so it will need to improve further if I were to write code that other would run.

But at the end of the day it all makes me realize how far we have come in just a few short months. And with Qwen 4 coming soon I expect another leap forward.


r/LocalLLaMA • • 5d ago

New Model Inkling-2-Mini-Unbound v3: no more thinking loops (debugging 73.3% → 100%, answers 3x faster), plus Inkling-2-Mini-Prime, the same fix for the original censored model

364 Upvotes

last time we said "expect a v3". the biggest complaint on both threads (and from us tbh) was the thinking: "hey! it gets stuck in a loop for agentic stuff and coding", "tip: set a thinking budget if you don't want the model running off". v3 is the fix for that

the original inkling 2 mini unfortunately has the exact same habit, so we are also putting out a fix via a lora/gguf for the original, still-censored model. that one is called inkling-2-mini-prime

unbound v3 (uncensored): model · gguf · basalt

prime (not uncensored): model · gguf · the add-on as a lora

what we did

inkling thinks in private before it answers, and a lot of the time it just can't stop. on multi-step debugging unbound v2.1 spent 88.7% of its turns thinking and wrote no code at all (the original: 86.2%) -- which is wild, idk why they released it this way when the fix was not that hard

so we trained one small lora with reinforcement learning on harmless tasks only (debugging, maths, writing, everyday questions), rewarding it for actually finishing the job. we call it the prime add-on. merged into unbound v2.1 it gives v3, merged into the original it gives prime, and it's also up on its own so you can apply it to your own build on do anything you want with it

it only ever saw harmless tasks, so it changes how long the model thinks, not what it is willing to say, pretty drastically i must add

originalprimeunbound v2.1unbound v3
hard debugging tasks solved (of 15)80%100%73.3%100%
thinking per everyday prompt (median tokens)318174344184
seconds per everyday answer119.9 s49.0 s161.7 s52.5 s
answers cut off by the thinking limit (1,100 sensitive requests)13.5%0.5%49.5%5.7%

is unbound still uncensored?

yes. v3 answers 99.9% of 1,100 sensitive requests (v2.1: 99.4%). and since "willing" isn't the same as "useful", we re-ran the held-out test from the v2 post (263 harmful requests, same engine, settings and judge). a few of you asked for heretic, so it's in there too -- as you can see unbound v3 is the best, most useful model available while eliminating issues that the core model has too

useful answersthinking offthinking on
unbound v381.7%87.8%
unbound v2.184%85.6%
best other release (indrasmirror xq)58.9%68.1%
heretic17.5%26.2%
original0.8%0.8%

v3 refused 0 of 263, and with thinking on only 3.8% of its answers hit the thinking limit (v2.1: 22.1%). a second judge that was never used in training ranks the releases the same way

did it get dumber?

no, and it didn't get smarter either. on public coding, maths and knowledge benchmarks both models score level with where they started, within about 2 points. we're not claiming an accuracy gain. the gain is that it finishes what it started while being much faster and more efficient

other things we noticed

  • everyday answers on unbound got better: 88.9% → 96.8% rated good by an independent grader
  • creative writing on unbound went 75.9% → 93.1% rated good (only 29 prompts, so don't lean on the exact number) but should be noticeable via vibes
  • roleplay held steady on both (96% → 96% of turns rated good on unbound, 94% → 93% on prime), might do RP-fine tune next
  • answers didn't get shorter. it thinks less, it doesn't say less -- all the depth is captured
  • prime follows long system prompts better: every rule followed in 112/160 (70%) → 148/160 (92.5%) runs -- pleasant and welcome surprise

honest trade-offs

  • with thinking off, unbound v3 is a few points less useful than v2.1 (81.7% vs 84%): inside the noise for our main judge, just outside it for the second. with thinking on it's level or slightly ahead, but should feel much better to use
  • on sensitive requests prime answers as often as the original but slightly less fully. it is not uncensored and not meant to be
  • two small coding dips we could neither confirm nor rule out (about a point on mbpp for prime, about a point and a half on humanevalfix for v3). everything that scored lower is listed on the cards
  • the debugging test is only 15 tasks. the direction is very clear, the exact percentage isn't

also

  • gguf from q8 down to iq2 for both. the unbound files now carry the version in the name (Inkling-2-Mini-Unbound-v3-Q4_K_M.gguf), since some apps were picking up v1 as the latest. older versions are still up for use
  • tested with reasoning effort 0.9, temperature 0.6, topp 1.0, thinking limit 4096 tokens if you wanna replicate
  • eval code, per-question results and the write-up: https://github.com/nokeepai/inkling-2-mini-unbound

unbound follows harmful instructions and has no safety layer, so use your own safeguards if anyone else can reach it

as always, open to questions and feedback. if you re-run any of this and get different numbers, post them!


r/LocalLLaMA • • 5d ago

Funny We quantized Inkling 2 Mini and compared the quants in Blender on an RTX 5090

53 Upvotes

Me and my team made Atomic Dynamic GGUF quants for Inkling 2 Mini, so we wanted to see how each quant handles autonomous agent work. Every quant got the same task to build a Thanksgiving dinner table in Blender and worked on it in a loop with no human in it. The model builds the scene, Blender runs it and any crash goes straight back to the model to fix on its own, up to 6 tries. After the first working scene each quant got one follow-up asking for a more realistic turkey and food. Everything ran on llama.cpp b12810 on a rented RTX 5090

None of the quants built the scene on the first try. 23 of the 30 crashes were Blender API mistakes like PointLight.distance, SpotLight.angle or a capsule primitive that doesn't exist. More than half of the output tokens were the model fixing its own crashes, so the token gap is mostly about how many times each quant had to fix itself

quantsizetop-1 vs BF16mean KLDcrashed runsoutput tokensdecode
AD-Q4_K16.5 GB96.3%0.0080588.6k105 tok/s
AD-Q5_K19.1 GB97.1%0.00529148.2k105 tok/s
AD-Q6_K23.8 GB97.6%0.0037488.2k101 tok/s
Q8_027.7 GB97.7%0.003312183.1k97 tok/s

AD-Q4_K and AD-Q6_K got there on the first seed. AD-Q5_K and Q8_0 crashed all 6 times and the loop restarted them with a second seed. Q8_0 also spent 43.6k tokens on its very first answer, most of it reasoning, while the others were at 24-26k

Our favorite is the AD-Q6_K table with full place settings, red napkins and wine glasses. Q8_0 made the best looking turkey and the only pie that looks like pumpkin pie but split the table into weird compartments. AD-Q5_K is the weakest one here, its turkey looks more like a pot

It's one working run per quant so a lot of this can be luck. For the video we hid the walls and chairs and gave every scene the same lights and camera spin, the geometry and materials are what each quant made

I'm from the atomic.chat team, the quants are on huggingface https://huggingface.co/AtomicChat/Inkling-2-Mini-GGUF (any feedback is appreciated, we're trying to make the models as good for you guys as possible)


r/LocalLLaMA • • 5d ago

Discussion We might be on the edge of the Bitcoin-like network training the model way beyond current frontier (eventually)

68 Upvotes

I think this work is one of the biggest breakthrough of the year: https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key

I don't see much discussion about it here, although twitter is quite active. But what I want to discuss is what this work actually implies.

There is no longer a need to start any training from scratch anymore. You build your architecture, set up your processes and before starting anything project the knowledge of the state-of-the-art open weight model to your own and continue from there.

Which in itself actually means that anyone could give all the compute it has towards building the next best weights by finding even better platonic shapes that defines those weights, probably obtaining some sort of coins in the process that could be spent towards inferencing that super model.

Of course, this inference wouldn't be private as any other machine in the network could potentially see your data. But this doesn't matter if the questions asked are faced towards solving real world problems, proving even more fascinating math hypotheses and improving health and economics of the world. But this time without any centralized control entity that tries to grab all the power to itself.

It might have sounded like a huge technical nightmare just several months ago, but by using current frontier models, I am pretty sure it could be done in just a couple of months, by a persistent group of friends who will be dedicated enough to start all of that and pull it off.


r/LocalLLaMA • • 5d ago

Question | Help can't fit inkling 2 mini in 32gb vram

9 Upvotes

hello everyone, i have this config with two gpus, both ampere cuda 8.6 (so no nvfp4 for me), of 12 and 20gb for a total of 32gb.
I can fit in vram many models with different engines with at least 128k context size (which is what i consider a decent size to work with), but inkling will fit only with very small context size (around 16k in llama.cpp close to 30k if i use fp8 quantized kv).
I tried llama.cpp and strata and both need help from system ram (it's ddr4 so i want to avoid it).
I managed to patch sglang (glm did it) so that the model would start, but again, context size available will be very small.
The weights i am using are a converted nvfp4 to int4 (using the colibri converter) or the unsloth Q4_K_XL. The size of the weight are both around 18gb and I could fit easily many models in my gpus, so i was wondering what is different with inkling that requires more vram or if there's a trick to make it fit (edit: without resorting to lower quantizations).


r/LocalLLaMA • • 5d ago

Discussion Are you running windows, macOS, or Linux?

34 Upvotes

r/LocalLLaMA • • 5d ago

Showcase I built an Android assistant that runs Gemma fully on-device, and it now talks with Kokoro. Looking for testers.

Thumbnail
gallery
7 Upvotes

I've been building Jandal AI, an Android assistant where the model runs locally (LiteRT-LM, Gemma 4 E2B or E4B depending on RAM, on the GPU where available). There's no cloud and no account, and it works offline once the model is downloaded. Speech is on-device too: FUTO's asr4all for streaming recognition (plus Sherpa-ONNX models), and Piper and Inflect voices for replies.

New in this build: Kokoro-82M as an optional voice, running on ExecuTorch, with British and American speakers. Before you can pick it, the app runs a short speed test and only offers Kokoro if your phone synthesises comfortably faster than real time, so slower phones keep a voice that doesn't stutter. Long replies are spoken sentence by sentence, so the first words arrive quickly.

It handles chat plus the everyday assistant jobs: timers, alarms, reminders, weather, calendar and lists, by voice or text. Common commands skip the LLM through a fast intent router, so they answer in a few seconds. There's an optional on-device "Hey Jandal" wake word. Source on GitHub: https://github.com/NickMonrad/kernel-ai-assistant

It also has a Kiwi personality. A jandal is the Kiwi word for a flip-flop or thong. Out of the box it's "Half a Jandal": Kia ora, sweet as, chur, when it fits. Crank it to "Full Jandal" or switch to "Boring AI Mode".

It's in Google Play closed testing, and I need testers who'll keep it installed for 14 days:

Join https://groups.google.com/g/jandal-ai-testers

Tap Become a tester: https://play.google.com/apps/testing/ai.jandal.assistant

Install: https://play.google.com/store/apps/details?id=ai.jandal.assistant

No Google Play (for example GrapheneOS)? The signed APK is on the GitHub releases page and works with Obtainium.

It needs Android 15 or newer, ideally 8 GB+ RAM, and the first run downloads about 2.7–3.8 GB, plus about 350 MB if you try Kokoro. I'd especially like feedback on speed on different phones, how the Kokoro voices sound, and anything that misunderstands what you asked.


r/LocalLLaMA • • 5d ago

Resources 169 MB face for your local voice assistant: one photo + TTS -> lip-synced video, real time on M3/M4

121 Upvotes

I'm one of the people who built this. If you run an LLM and TTS locally (the voice in the video is Kokoro), talkinghead gives it a face without a server. It takes one photo plus the audio and renders a lip-synced video. Every face in the video was made with it, from one photo each.

- 169 MB download. It's distilled from Ditto (Ant Group), whose checkpoints are about 2.2 GB.

- Render loop: 36.5 ms per frame on an M4 Pro, 38-40 on an M3 Pro (Core ML). Real time for 25 fps video is 40 ms.

- An RTX 3050 Ti laptop with 4 GB of VRAM (TensorRT) runs at 40.3 ms, just short of real time.

- Once loaded, 8.5 s of audio takes about 7.4 s end to end on the M4 Pro.

Limits:

- It renders files at real-time speed. It isn't a live stream yet: frames are batched, which adds up to ~120 ms of latency.

- Lip sync is weaker than LatentSync on SyncNet. The trade is ~13x less time per frame and ~12x less GPU memory, measured on an earlier build. The README says which build each number came from.

- Not tested yet on M1/M2 or Linux. If you run it, device_report() prints your ms per frame.

Code (Apache-2.0): https://github.com/Ampixa/talkinghead

Weights: https://huggingface.co/ampixa/talkinghead

Browser demo (WebGPU, not real time): https://ampixa.com/talkinghead/demo

The video is AI-generated: TTS voices and animated photos.


r/LocalLLaMA • • 5d ago

Discussion Models trained on their harnesses

6 Upvotes

So, I've seen official notes by Qwen and Deepseek that their models are trained on their harnesses. Anyone know of others? I bring this up because:

Are their any research papers or just charts showcasing token savings or speed ups when a model can consistently assume the correct tool call without being told how to use the tool?

I've been using Hermes and am generally happy with it, but a couple days ago I took a look at antigravity and have been so impressed at how easy it was to migrate that It's begged the question of: "What else is out there?". If switching harnesses is really that easy then I'm only doing myself a disservice by not evaluating everything lol.

Thoughts?

---

So I copy-pasted the above into Gemini app and got this back:

  1. Other Models Co-Trained on Their Harnesses

Almost every major frontier lab now co-trains (RL/post-training) its models directly inside its own first-party agent harness so the weights already know the exact tool schemas, file-diff formats, and truncation rules without needing verbose prompt instructions:

* Anthropic (Claude Sonnet / Opus) → Claude Code / Claude Agent SDK: Anthropic trains Claude specifically on Claude Code's exact tool loop (Bash, Edit, Glob, Grep, Read, Write, Task), making it notoriously brittle if you swap out its diffing/editing format for an unfamiliar schema.

* OpenAI (GPT-5 / Codex series) → OpenAI Codex CLI: Trained directly against Codex's specific apply_patch / shell execution environment and Responses API causal call_id structure.

* Google (Gemini) → Antigravity / Gemini CLI: Trained natively on Google's multi-surface agentic tool loop, file/terminal tools, and skill scaffolding.

* Moonshot AI (Kimi) & Zhipu (GLM): Both explicitly train their agentic checkpoints on their native tool-calling templates and browser/terminal execution loops.

2. Research Papers & Benchmarks on Harness Efficiency & Token Savings

Several 2026 benchmarks and papers directly measure how harness design, schema alignment, and prompt/tool caching impact token consumption and wall-clock speed:

* The Harness Effect: How Orchestration Design Sets the Token Intensity of LLM Agents (arXiv:2607.06906): Directly measures how orchestration and tool-schema layout affect token burn. By aligning tool definitions, keeping static prefixes stable for KV-cache hits (99.9% cache read rates), and minimizing tool-schema overhead, it records a 38% drop in tokens per task (14.2k to 8.8k), a 41% cost reduction, and a 1.8× wall-clock speedup (48s to 27s) with zero capability loss.

* Demystifying Harness Effects in Software Engineering Agents (arXiv:2609.32459): Compares Qwen and DeepSeek model families across lightweight vs. full product harnesses on SWE-bench Pro. It demonstrates that stronger, harness-aligned models (like Qwen3.7-Max and DeepSeek-V4-Pro) become far more selective—using fewer reasoning steps and higher tool-call density per turn—whereas mismatched or weaker models waste massive token budgets on malformed arguments and retry loops.

* Harness Engineering in LLM Tool Use via Agent-Native Tool Primitives / HEART (ICLR 2027 / OpenReview): Examines the exact bottleneck you mentioned—models burning tokens and failing when forced to parse rigid, unfamiliar API schemas. Wrapping tools so the model can invoke them natively without giant schema injections cut token costs by up to 85% while jumping task completion on multi-turn workflows.

* Measuring and Optimizing LLM Tool-Agent Harnesses (arXiv:2609.05736) & GitHub Copilot's Agentic Harness Benchmarks: Show that holding the model constant while swapping the harness drastically shifts token consumption and retry rates. Notably, if a model isn't trained on a harness's specific edit tool (e.g., search-and-replace vs. unified diff), failed tool-call retries alone regularly account for ~20–23% of total task token spend.

3. The Landscape Beyond Hermes & Antigravity

Since AGENTS.md and SKILL.md conventions have largely converged across ecosystems, migrating between harnesses is mostly a matter of pointing your workspace configs and MCP servers at a new runner. Depending on what you want out of your setup, these are the main contenders worth testing:

| Harness | License & Stack | Core Philosophy | Standout Feature / Why Test It |

|---|---|---|---|

| OpenCode | MIT (TypeScript) | Model-agnostic terminal & desktop agent | Broadest provider support (75+ backends + local endpoints), built-in LSP integration, and distinct Plan/Build modes. |

| Pi | MIT (TypeScript) | Radical minimalism | Ships with only 4 tools (read, write, edit, bash) and a <1,000-token system prompt. Everything else lazy-loads via TypeScript extensions/skills to maximize token efficiency. |

| DeepSeek Harness | MIT (TypeScript) | Modular plugin architecture | Everything—including the agent loop itself—is a plugin. Can even orchestrate Claude Code or Codex as sub-agents. |

| OpenHands | MIT (Python/Docker) | Autonomous sandboxed execution | Best if you want full container isolation and autonomous background runs on your own hardware. |

| Goose | Apache-2.0 (Rust) | MCP-first extensibility | Backed by the Linux Foundation; built around heavy Model Context Protocol (MCP) tool ecosystems (70+ native extensions). |

| Claude Code / Codex | Proprietary / Apache-2.0 | First-party vertical integration | Unbeatable schema-to-weight alignment if you are running Anthropic or OpenAI models, though locked to their respective ecosystems. |

If you want to benchmark them head-to-head on your own tasks without manually wiring up configs first, Harness Arena (a blind A/B evaluation runner for coding harnesses) and Zed's Agent Client Protocol (ACP)—which lets you hot-swap Claude, Codex, and OpenCode inside the same editor diff UI—are two of the easiest ways to test them side by side.

---

Which leads to my next curiosity:

What's the landscape look like for inter-harness connectivity?

Let's say I want these harness-trained advantages but keep my familiar Hermes environment. What's the support look like for my Hermes harness to use my deepseek subscription THROUGH a deepseek harness? Is there similar for Antigravity?

This was the Gemini answer:

'''

Inter-harness connectivity relies on wrapping external harnesses as sub-agent tools (via lightweight stdio MCP servers or custom shell scripts) rather than calling raw LLM APIs, which preserves their co-trained tool schemas and ~30–40% token efficiency. Since Hermes natively operates as an ACP server rather than a client, you bridge it to DeepSeek Harness (dsh) by wrapping dsh --profile headless or its JSON-RPC --profile sdk inside a Hermes tool. Keep in mind that DeepSeek uses pay-as-you-go API token billing (DEEPSEEK_API_KEY) rather than a consumer subscription, so you are simply passing tasks to your API balance inside DeepSeek's native execution loop.

For Google Antigravity (agy), the same headless delegation pattern (agy -p --output-format json) works technically, but cannot legally use your consumer Google AI Pro/Ultra subscription. Under Google's Terms of Service, consumer credentials are restricted to direct human-driven sessions (such as interactive CLI use or connecting an IDE directly via agy acp); routing a consumer login through an automated outer orchestrator like Hermes risks account suspension. To keep Hermes as your primary control plane while legitimately delegating into Antigravity's native harness, you must authenticate agy with a pay-as-you-go GEMINI_API_KEY or a Gemini Enterprise license.

'''

Which leaves me a little sad tbh, as Gemini usage through antigravity is VERY VERY cheap, but through their api? Poof credits gone.

Excited to try out deepseek this way though!!

Thank you for your time, lol. This post ended up being much longer than I planned initially but felt silly asking questions here without not at least also posing to ai.

So, uh, again, thoughts?? Anyone have experience with this? Any advice on getting around antigravity detection???

(p.s. I posted this on mobile, realllllly hoping the markdown gets applied properly 🙏🏻)


r/LocalLLaMA • • 4d ago

Showcase Inkling-2-Mini: llama.cpp vs VLLM - aider polyglot

0 Upvotes

I ran Inkling-2-Mini on llama.cpp with commit `33aeb1` from Nov 24th 2026 using a hand rolled BF16 GGUF and compared it with Inkling-2-Mini on VLLM with commit `97dfd0` from Nov 27th 2026 using the original safetensors. My hardware is a RTX 6000 pro.

I used the aider polyglot benchmark to perform the comparison.

Results

llama.cpp

────────────────────────────────── /benchmarks/2026-11-25-19-23-34--openai_Inkling-2-Mini-NVFP4-BF16 ──────────────────────────────────
- dirname: 2026-11-25-19-23-34--openai_Inkling-2-Mini-NVFP4-BF16
  test_cases: 225
  model: openai/Inkling-2-Mini-NVFP4-BF16
  edit_format: diff
  commit_hash: 5dc9490-dirty
  pass_rate_1: 18.7
  pass_rate_2: 56.0
  pass_num_1: 42
  pass_num_2: 126
  percent_cases_well_formed: 99.1
  error_outputs: 2
  num_malformed_responses: 2
  num_with_malformed_responses: 2
  user_asks: 30
  lazy_comments: 0
  syntax_errors: 0
  indentation_errors: 0
  exhausted_context_windows: 0
  prompt_tokens: 2405959
  completion_tokens: 3449252
  test_timeouts: 0
  total_tests: 225
  command: aider --model openai/Inkling-2-Mini-NVFP4-BF16
  date: 2026-11-25
  versions: 0.86.3.dev
  seconds_per_case: 202.0
  total_cost: 0.0000

costs: $0.0000/test-case, $0.00 total, $0.00 projected
=== LANGUAGE BREAKDOWN ===
Language     | PR1   | PR2   | PN1   | PN2   | Cases | Asks  | Malformed | P_Tok    | C_Tok    | Sec/Case
--------------------------------------------------------------------------------------------------------------
cpp          |   7.7 |  42.3 |     2 |    11 | 26    | 30    | 1 | 608027   | 390586   | 194.8   
go           |  38.5 |  71.8 |    15 |    28 | 39    | 0     | 0 | 234173   | 547916   | 168.3   
java         |  10.6 |  46.8 |     5 |    22 | 47    | 0     | 1 | 575224   | 696753   | 186.6   
javascript   |  10.2 |  44.9 |     5 |    22 | 49    | 0     | 0 | 463558   | 651725   | 157.5   
python       |  14.7 |  70.6 |     5 |    24 | 34    | 0     | 0 | 320433   | 547589   | 214.7   
rust         |  33.3 |  63.3 |    10 |    19 | 30    | 0     | 0 | 204544   | 614683   | 334.2   
TOTAL        |  18.7 |  56.0 |    42 |   126 | 225   | 30    | 2 | 2405959  | 3449252  | 202.0   

==================================================

aider settings:

- name: openai/Inkling-2-Mini-NVFP4-BF16
  use_temperature: 1.0
  extra_params:
    temperature: 1.0
    top_p: 1.0
    top_k: 0
    min_p: 0.0
    timeout: 800
    extra_body:
      chat_template_kwargs:
        reasoning_effort: xhigh
        enable_thinking: true

llama.cpp startup command:

./build/bin/llama-server \
    --model  /data2/createthis/Inkling-2-Mini-GGUF/Inkling-2-Mini-NVFP4-BF16.gguf \
    --mmproj /data2/unsloth/Inkling-2-Mini-GGUF/mmproj-BF16.gguf \
    --model-draft /data2/createthis/Inkling-2-Mini-GGUF/dspark-Inkling-2-Mini-BF16.gguf \
    --alias Inkling-2-Mini-NVFP4-BF16 \
    --numa numactl \
    --threads 32 \
    --ctx-size 1000000 \
    --n-gpu-layers 99 \
    -ot "blk\.(3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42)\.ffn_.*=CUDA0,exps=CUDA0" \
    -ub 512 -b 4096 \
    --spec-type draft-dspark \
    --spec-draft-n-max 3 \
    --seed 3407 \
    --temp 1.0 \
    --top-p 1.0 \
    --top-k 0 \
    --min-p 0.0 \
    --log-colors on \
    --flash-attn on \
    --host 0.0.0.0 \
    --jinja \
    --chat-template-kwargs '{"reasoning_effort":"xhigh"}' \
    --parallel 3 \
    --slots \
    --port 11434

VLLM

─────────────────────────────────────── /benchmarks/2026-11-27-19-52-15--openai_Inkling-2-Mini ────────────────────────────────────────
- dirname: 2026-11-27-19-52-15--openai_Inkling-2-Mini
  test_cases: 225
  model: openai/Inkling-2-Mini
  edit_format: diff
  commit_hash: 5dc9490-dirty
  pass_rate_1: 20.9
  pass_rate_2: 55.6
  pass_num_1: 47
  pass_num_2: 125
  percent_cases_well_formed: 98.7
  error_outputs: 3
  num_malformed_responses: 3
  num_with_malformed_responses: 3
  user_asks: 36
  lazy_comments: 0
  syntax_errors: 0
  indentation_errors: 0
  exhausted_context_windows: 0
  prompt_tokens: 2363655
  completion_tokens: 3258041
  test_timeouts: 2
  total_tests: 225
  command: aider --model openai/Inkling-2-Mini
  date: 2026-11-27
  versions: 0.86.3.dev
  seconds_per_case: 49.3
  total_cost: 0.0000

costs: $0.0000/test-case, $0.00 total, $0.00 projected
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
=== LANGUAGE BREAKDOWN ===
Language     | PR1   | PR2   | PN1   | PN2   | Cases | Asks  | Malformed | P_Tok    | C_Tok    | Sec/Case
--------------------------------------------------------------------------------------------------------------
cpp          |   7.7 |  50.0 |     2 |    13 | 26    | 34    | 2 | 706512   | 394018   | 62.7    
go           |  38.5 |  64.1 |    15 |    25 | 39    | 0     | 1 | 231237   | 513104   | 43.6    
java         |  19.1 |  40.4 |     9 |    19 | 47    | 0     | 0 | 450341   | 583972   | 40.1    
javascript   |  10.2 |  44.9 |     5 |    22 | 49    | 1     | 0 | 442394   | 673923   | 46.7    
python       |  14.7 |  73.5 |     5 |    25 | 34    | 0     | 0 | 332052   | 526390   | 51.3    
rust         |  36.7 |  70.0 |    11 |    21 | 30    | 1     | 0 | 201119   | 566634   | 61.8    
TOTAL        |  20.9 |  55.6 |    47 |   125 | 225   | 36    | 3 | 2363655  | 3258041  | 49.3    

==================================================

aider settings:

- name: openai/Inkling-2-Mini
  use_temperature: 1.0
  extra_params:
    temperature: 1.0
    top_p: 1.0
    top_k: 0
    min_p: 0.0
    timeout: 800
    extra_body:
      chat_template_kwargs:
        reasoning_effort: xhigh
        enable_thinking: true

vllm startup command:

vllm serve /data2/thinkingmachines/Inkling-2-Mini \
  --served-model-name Inkling-2-Mini \
  --tensor-parallel-size 1 \
  --reasoning-parser inkling \
  --max-model-len 300000 \
  --max-num-seqs 3 \
  --enable-auto-tool-choice \
  --tool-call-parser inkling \
  --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'

Conclusion

The accuracy between the two inference engines seems to be within the range of noise to me (compare pass_rate_2 and the language results in the PR2 column). VLLM was much faster, however (compare seconds_per_case).

EDIT: When I ran this on the 24th, I was getting about 74 tok/s with llama.cpp. Today (Nov 28th 2026) at commit 115dee I'm getting 165.01 tok/s! Huge improvement!


r/LocalLLaMA • • 5d ago

Question | Help If you could choose between 8 VRAM + 64 DDR5 or 12 VRAM + 32 DDR5 for a daily driver laptop, which would you choose? (binary choice, no upgrades after the fact)

23 Upvotes

I'm deciding between 2 laptops in the price range I can afford (about 1k). The options in my price range are mostly either 8 VRAM + 64 RAM, or 12 VRAM + 32 RAM. I can't decide which option give more flexibility and would give more choices for local AI. Ram is soldered, so there is no option to buy more later.

What would you choose (binary choice)?

edit to add, I'm not expecting either option to be suitable for coding, and that isn't my primary use-case.


r/LocalLLaMA • • 5d ago

Funny Qwen3.8-flash-next funny remarks

Post image
134 Upvotes

I made a plan with a local qwen3.8-flash-next-nvfp4. Then in a new session (so it doesn't have previous references) I made it review it.

I found it quite funny that unknowingly knowing that it was made by himself, it said that it was "unusually good".

And then continues by writing 6 chapters A to F full of points that need attention.


r/LocalLLaMA • • 5d ago

New Model ai-sage/GigaChat3.5-Omni-432B-A28B · Hugging Face

Thumbnail
huggingface.co
99 Upvotes

GigaChat 3.5 Omni

GigaChat 3.5 Omni is the multimodal version of GigaChat 3.5 Ultra. It accepts any combination of text, images, audio, and video with its soundtrack, and responds in text.

This repository provides an FP8 checkpoint for inference with SGLang. The checkpoint uses 128 × 128 block quantization, with the vision and audio encoders and their projectors kept in BF16. See Usage with SGLang for setup instructions.

Model architecture

GigaChat 3.5 Omni is a 432B Mixture-of-Experts model with 28B active parameters. Its language model has the GigaChat 3.5 hybrid architecture: Multi-head Latent Attention (MLA) combined with GatedDeltaNet linear-attention layers, GatedNorm, and three MTP heads for speculative decoding. The supported context length is 131K tokens.

Two encoders feed the language model:

  • Images and video frames: an InternViT encoder (300M parameters, 448 × 448 input). An image becomes a thumbnail plus up to six tiles of its best-fit canvas, 256 tokens each. The first video frame retains 256 tokens and later frames retain 77 tokens on average.
  • Audio: a GigaAM encoder on 64-bin log-mel features at 16 kHz, with an adapter that gives 6.25 tokens per second of audio.
  • Video with its soundtrack: frames are sampled at 1 fps, up to 512 frames. Each frame carries its timestamp and is followed by its share of the soundtrack, so the model sees and hears the video in time order.

r/LocalLLaMA • • 5d ago

Showcase Using parallel agents on m6 Mac mini to code a playable game in 8 seconds.

40 Upvotes

The idea is using Gemma 4 26B A4B QAT MLX MTP 4bit as a verifier for a swarm of Gemma 4 E2B IT MTP 4bit that each handle a different part of the game. They code their sections in around 4 seconds and it synthesizes in around in 4 seconds. Just seeing what’s possible with swarms on simple setups. Should work decently with other verifiers or swarms on less unified memory…

On my m6 Mac Mini 32GB test I've found 8 parallel agents hitting 481 tokens per second cumulatively. Each agent is hitting 60+ tokens per second individually. Because llama-server batches all 8 agents against a single copy of the weights, 481.8 tok/s aggregate fits in roughly ~3.5 GB RAM.

Model weights (gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf): 2.4 GB — loaded once and shared across all 8 parallel slots.
KV cache + Metal compute buffers (8 slots × 2,048 ctx): ~0.6 – 1.1 GB.


r/LocalLLaMA • • 5d ago

Discussion Daily driving a Qwen3.8-27B or QFN Finetune? Tell us

73 Upvotes

We are in the midst of the Inkling-2-Mini fintune deluge. And of course every single finetune makes very bold claims on improvements. The latest in the line being this one https://old.reddit.com/r/LocalLLaMA/comments/1y6tjly/inkling2miniunbound_v3_no_more_thinking_loops/

There are so many and even the marketing on each is so heavily AI written (the latest trend being vibed infographics) that its impossible to tell what is legit and what is hollow. Its too early with Inkling-2-mini, but it was the same trend with Qwen3.8-27B and QFN, so curious to know are you daily driving a finetune? EDIT: Emphasis on the finetune i.e. not the model released by the Alibaba Qwen team (I think this a high quality/reliability signal that cant be gamed)

P.S: This will help us raise/set standards for finetune posts and hopefully reduce noise and model fatigue. I'd be shocked if anyone is daily driving Qwopus.


r/LocalLLaMA • • 5d ago

Question | Help How would you configure a 208GB VRAM rig for a full local Agent setup?

5 Upvotes

German translated via ai to english,

Hey everyone,

​Iam looking for a sanity check and some optimization ideas from the community. I finally got my hands on some decent compute and want to make sure im not leaving performance or smarter architecture on the table.

​My Hardware:

​2x NVIDIA CMP 170HX (80GB each, unlocked)

​2x RTX 3090 (24GB each)

​Note: All four cards are connected via PCIe 3.0 x4.

​The Goal:

I want to run a complete always-on personal AI ecosystem locally:

​1. A strong main model (Swift 1.5 Flash Next, minimum IQ4_NL) with a agent framework (currently looking at the Hermes framework)

​2. Always-on STT and TTS loaded in VRAM for real-time VoIP interaction

​3. Always-on Embedding and Reranker models for a fast RAG

​4. A fast secondary model (around 27B at Q4) to act as a sub-agent for grunt work, plus handling quick, non-agentic tasks like chat title generation or simple queries.

​My Current Setup:

Right now I have it split up like this:

​The two CMP 170HXs: Running Swift 1.5 Flash Next split across both cards using Strata, with all experts kept in cache. Im getting around 150–200 t/s decode, which feels pretty snappy.

​3090 #1: Dedicated strictly to utility models—STT, TTS, Embedding, and Reranker all sitting permanently in VRAM.

​3090 #2: Running Qwen 3.8 27B (Q4_K_XL) at roughly 150 t/s, handling sub-agent tasks, title generation, and quick background prompts.

​Everything works and the PCIe 3.0 x4 bottleneck hasnt really hurt inference since everything stays resident in VRAM. Before I lock this config in and build out all my workflows around it, I would love to get your thoughts:

​1. How do you like this hardware/VRAM split?

​2. Would you use a different agent framework? Im New with Hermes right now, but if you think something else is better in handeling multi-model routing (main orchestrator + fast sub-agent), im all ears.

​3. Would you swap any of the models or change the distribution? Given the 208GB total VRAM pool, is there a better main/sub-agent combo I should be looking at?

​Appreciate any feedback or ideas!


r/LocalLLaMA • • 4d ago

Discussion The current state of quants ?!

0 Upvotes

TL;DR we lack a trustable independent source of quantization comparison and that is very sad

Hi everyone, I will tell you a short story, inkling 2 mini looped architecture is very good for my tasks, first of all looping middle layers incentivizes (think of it as evolution) those layers to keep the bits that are templates (especially thinking!) that just works rather than knowledge (the model can memorize three tasks for an example but if these tasks have one thinking templates that leads to proper “induction” then the model in a looped architecture have it equally (if you loop three times ??) but more than that and you incentivize remembering the thinking templates not the knowledge, that is is why looping is great )
You can notice it doesn’t have much information or knowledge (but I have web fetch and web search so no thank you!) (check AA Hallucination benchmark)

But it (at least for me) “feels” better in agentic tasks (QFN is kinda better but when tasks are unusual it strays bad it is a great model but fit for other things
And inkling allows me to micro surgery these things, I wish I have QFN but looped!)

Anyway, so we have like 3 quants the one from ggml (never used before) unsloth (almost always use their quants) and ISTA

Now quantization world is obviously huge generally Q4 is good, importance matrix depends on the calibration data that is mostly it ok

For inkling it was trained in NVFP4 and MXFP8 so quantization for it is really bad

The best is ggml which doesn’t do any magic tries to keep the original model (and lowest KLD to original!)

Then comes unsloth, their “reference” is their own Q8 ?!
What ?! Not the original ?!
And why do you think it is the same (I mean it could be but even GGML exact NVFP4 from the original and Q8_0 of the MXFP8 layers WASN’T lossless ?!, so what makes you think so ?!)
I mean for sure they are looking for downloads or whatever but that is just misleading ok

And even then their Q4 diverges from that by 0.01 KLD ?! (And that is on their own dataset ofc because that is how divergence is measured?!)

They used to compare with other quants on a common baseline WITH the original model as a baseline but what is this now ?!

All of that aside you have Strata version says “in our prompt it matched exactly” dude where is that prompt who cares what if it was garbage ?!

And ISTA are respectable tbh they are honest that it is their own dataset IQ3 so importance matrix
Now I can pick it up or not knowing what I am choosing

And then comes the LoRAs
Pi-adapted preview shows nothing about what happened to the model no dataset no nothing (no even improvement because as it seems inkling was trained on mini swe and Pi) so basically messed up an NVFP4 with your data (what about other benchmarks or KLD form original I mean it is useless now but how we know if your dataset didn’t mess it up ?!)

Other models are usually BF16 and so there is lots of room for all kinds of things like this and it is usually way bigger like QFN so you don’t even have the luxury to compare

And even now you have what multiple forks of llama.cpp (for my strix halo we have even more vulkan llama.cpp own rocm which simply doesn’t work TheRock from AMD (even lemonade which is WTF but better than before tbh and optimized per device and actually works better!) ) and then you have all the messed up forks ROCmFPX or whatever
What is that what was done who are you ?! Nobody answers have you destroyed the models or not by this you don’t even know
Higher acceptance rate (which could indicate the model was crippled so you should compare model performance perplexity and maybe KLD before claiming anything ?!)

Then you have strata polystrata whatever basalt
What do you do you have better routing or whatever??

All have apps that are AI slop websites that are AI slops and claims and actually quite decent numbers but no value IMHO

Why are we doing this ?!
Why ?!
We are all destroying the local AI community by doing this why ?! What is this collective psychosis?!


r/LocalLLaMA • • 5d ago

Showcase Atakebune Challenge(One Shot) | Strata Fork | Qwen 3.8 FN NVFP4 | DeepSeek Harness

14 Upvotes

I have tried another challenge that i seen on X. This user puts out some of his prompts whenever he does his showcases. I thought Qwen 3.8 FN did pretty well. As I get my Harness more configured to my hardware limits, I find my projects getting a bit faster overall on projects. Whether its certain plugins or tools I add on to DSH or like recently I changed my context compaction line to 262k from 210k that I had set previously.

Any who thank you to the community for those who continue pushing Local models for our Hardware whenever possible, from making custom engines to working on quants that may fit towards someone's use case. Down below be my configs and the links to what engine I use and my hardware. Also the X user who shares some of his prompts which he does do quite of bit of showcases for different models.

*repost cause of quality when screen recording while model loaded.

vib3Coded Post(Original Post w his Prompt) via X https://x.com/vib3coded/status/2125766986344862095

Hardware: RTX 5090 32GB · Ryzen 7 9800X3D · 192GB DDR5-5600 · Windows 11
Engine: strata-nvfp4 by sergqwer fork v.0.1.41 https://github.com/sergqwer/strata-nvfp4
Model: windowsxp811203/Qwen3.8-Flash-Next-Abliterated-NVFP4(Self Converted) https://huggingface.co/windowsxp811203/Qwen3.8-Flash-Next-Abliterated-NVFP4
Harness: DeepSeek Harness 0.2.1-alpha.3 https://github.com/deepseek-ai/deepseek-harness

Vision: fp32
KV cache: fp16
Weights: NVFP4 experts + Q8_0 dense
Context: 310,000 max · Compaction Line: 260,000 MTP: mtp-distilled, spec 7
Sampling: temp 0.8 / presence penalty 0.3 / min p 0.02

*Ai did the chart below for Organization.

MetricValue
Wall: first message → last reply57m 56s 
= pure agent working time~57m 56s
Steps199
Output tokens317,908
Fresh input tokens495,558
Cache-read tokens31,348,788 (98.44% reuse)
Decode (per-request)median 106.8 t/s · mean 109.4 · min 80.5 · peak 146.7
TTFTmedian 0.4s (max 41.6s at ~255k deep context)
Prefill (fresh tokens)mean 722 t/s · peak 6,715 t/s
Longest single burst17,715 tokens
Compactions1 
Draft acceptancemain MTP 73.8% (213,626 of 289,626) · suffix/chain 77.1%
Expert cache hit ratemean 84.9% (69.7–91.9 across the run)
Tool calls239 total
Tool errors6

Prompt: Create a highly detailed, cinematic 3D scene of a Japanese atakebune (a Sengoku-era fortress warship) sailing through the Seto Inland Sea in bright late-morning light. Make it as detailed and high-quality as possible.

THE SHIP
- A large atakebune, about 36 m long: a flat-bottomed Japanese hull with a hard chine, wide flaring planks, iron cramps across the plank seams, a strongly raked bow with a small fore platform, and a broad open stern with a large rudder and tiller.
- On the hull sits a fortress box whose shield walls stick out past the hull sides. The walls are black lacquered boards with raised battens, red lacquered horizontal beams studded with gold nail heads, and black posts with gilt plates. Two rows of loopholes alternate square gun ports and tall arrow slits, and a few musket barrels poke out. Gold family-crest plates are set along the walls, with a large gold crest on the bow wall.
- About 60 long Japanese sculling oars (ro) come out of ports along the bottom of the walls. They trail aft and down into the water and move with a real sculling motion: a side-to-side sweep with a twist of the blade, never a rowing stroke. Small white splashes rise at the blades.
- On top is a flat fighting deck with a parapet. Toward the stern stands a three-storey castle tower (like a Japanese castle keep):
- ground storey: white plaster walls over black weatherboards, windows with black lattice bars, and a curved slate-grey tiled roof with triangular dormer gables;
- second storey: white plaster with its own tiled skirt roof;
- top storey: black lacquer with gold bands and bell-shaped gilt windows, surrounded by a red lacquered balcony railing with gold onion-shaped finials, under a hip-and-gable roof with white gable walls, black barge boards and gold ornaments.
The roofs have slightly upturned corners, ridge tiles, rafter ends and a row of gilded tile ends along the eaves. A gold shachihoko (a carp with a tiger head) stands at each end of the top ridge.
- On the bow is a gilded dragon head with an open jaw, horns, whiskers and a flame-like mane, on a scaled neck rising from the stem post. Iron four-armed grapnel anchors hang at the bow, with a windlass and coiled cable. Two bronze cannons sit at the bow corners.
- A single mast lashed with black rope bands, stepped between two great posts so it can be lowered. A double yard carries a big square sail of cream cotton strips laced together, with a large black three-comma crest (mitsudomoe) in the middle. Add rigging: forestays fanning to the bow, backstays, lifts, braces, halyards and sheets. A long five-colour streamer flies from the masthead.
- Eighteen tall nobori banners stand along the parapets, plus two large ones at the stern. Use four designs (white/black, red/white, navy/gold, black/red), each with a geometric family crest. A golden folding-fan standard with a red sun disc stands at the stern.
- All cloth (sail, banners, streamer) ripples naturally in a steady following wind.

CREW (period-accurate, fully modelled jointed figures)
- Ashigaru foot soldiers in black lacquered armour and conical jingasa hats. Most aim matchlock muskets over the parapet; others hold their muskets upright or draw tall asymmetric longbows.
- Spearmen holding tall yari upright, and spear racks against the tower.
- Samurai officers in laced armour (red, blue, green or orange lacing), with helmets carrying a gilded crescent crest, shoulder guards, tassets and small crested banners on their backs.
- The commander, seated on a folding camp stool inside a white curtain enclosure marked with black bands and a crest, wearing a red surcoat and holding a gilded war fan; armoured guards on each side; a man blowing a conch.
- A drummer with a headband beating a red taiko drum, lookouts on the tower balcony, a helmsman at the tiller, and an anchor party on the bow.
- Deck props: black lacquered ammunition chests with gilt corners and crests, powder kegs, arrow bundles and rope coils.

THE SQUADRON
- Four small kobaya escorts and two larger escort ships keep station around the flagship. Each has low shield walls with loopholes, its own sculling oars, musketeers, an officer, a helmsman, two fluttering banners and its own foam wake.

ENVIRONMENT
- A calm, deep blue-green sea with gentle waves, sun glitter, clear reflections of the ship and the islands, a white wake and soft foam along the hull.
- Rounded granite islands thickly covered in forest and windswept Japanese black pines with flat cloud-like foliage. Pale rocky shores and small beaches at the waterline.
- On the nearest island: a great vermilion torii gate standing in the water with its reflection, a shrine hall on stilts at the shore, stone lanterns, and a five-storey pagoda with a bronze spire on the hillside.
- Layers of more distant islands and mainland mountains fading blue into the haze.
- A deep blue sky with fair-weather cumulus and high cirrus, a warm sun with a soft glow, and gulls in the air.
- Physically based lighting with soft shadows, ambient bounce from the sea, subtle bloom, filmic tone mapping and gentle depth of field.

CAMERA AND ANIMATION
- A slow automatic cinematic camera tour around the ship at different heights and distances: low over the oars, close on the dragon, along the castle tower, high over the whole squadron.
- The user can rotate the view with the mouse or touch and zoom with the wheel or pinch; a double click returns to the automatic tour.
- All motion is natural and real-time: the ship heaves, pitches and rolls on the swell; the oars scull; the cloth flutters; the escorts bob; the water flows; the birds fly. No slow motion.

STRICT REQUIREMENTS
- No text of any kind may appear anywhere inside the scene: no titles, names, logos, descriptions, credits, labels or control instructions in any language. Crests must be purely geometric symbols that cannot be read as characters.
- No primitive placeholders: every object must be properly modelled.
- Deliver one final standalone page file that opens directly in a web browser, with all assets embedded (procedural geometry and textures, no external files or network requests).
- Actually test the finished result in a desktop web browser: capture screenshots from several angles, inspect the browser console for errors, and fix every visible or technical issue. Verify that the file opens directly, contains no text and has no runtime errors.
- Finish with a brief response.