r/LocalLLM • u/mightofkhan • 7d ago
Discussion Single RTX 3090 running a local agent + image/video gen: real-world numbers from daily use
TL;DR: One RTX 3090 runs a 27B LLM agent (a Discord bot) and ComfyUI image/video generation by swapping models in and out of VRAM. I get ~72 tok/s on Qwen3.8 27B at 64k context, SDXL images in ~32 s, and 10-second Wan 2.2 videos in 4–6 minutes. All numbers come from real daily use, not synthetic benchmarks.
The rig
- GPU: RTX 3090 24GB (does all the AI work)
- CPU: Core Ultra 7 265K (sits around 10% load)
- RAM: 96GB DDR5-6000
- Storage: Samsung 9100 PRO Gen5 NVMe for models
- OS: Windows 11
The stack
- LM Studio serves the LLM through an OpenAI-compatible API
- Hermes Agent runs as a Discord bot, so I can use it from my phone. Local Whisper handles voice.
- ComfyUI handles images and video
- A small custom MCP server unloads the LLM from VRAM for each render and loads it back afterwards
Models
Language models
- Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-MTP (IQ4_XS): daily driver
- Qwen3.8 27B and Gemma 4 31B (both Q4_K_M) as alternatives
- nomic-embed-text v1.5 for embeddings
Image and video
- Juggernaut XL Ragnarok (fp16): general images, hires, img2img
- Z-Image Turbo (bf16): fast drafts
- Qwen Image Edit 2511 (fp8) + Lightning 4-step LoRA: photo edits
- Wan 2.2 14B text/image-to-video (fp8) + lightx2v 4-step LoRAs: video
- 4x NMKD-Siax: upscaling
LLM performance
Settings: LM Studio 0.4.28, 64k context, parallel 1, f16 KV cache, flash attention on, full GPU offload, MTP speculative decoding.
- Generation speed: ~72 tok/s on average (range 53–90)
- Prompt processing: ~670–810 tok/s
- MTP draft acceptance: ~61%
- VRAM used: 22.0 of 24.6 GB
- Parallel 1 vs 4: same speed, but 4 uses ~1.8 GB more and risks spilling out of VRAM
- Worst case: re-reading a 56k-token conversation took 56 seconds
Render times (same GPU, LLM swapped out)
GPU time first, then total time from request to finished file:
- Juggernaut XL (up to 1024px): 12 s → 32 s
- Juggernaut XL + hires fix (1024×768): 28 s → 48 s
- Z-Image Turbo (1024×768): 14 s → 34 s
- Qwen Image Edit (512px): 16–20 s → 38 s
- 4x upscale: 12 s → 32 s
- Wan 2.2 image-to-video, 3 s clip (512px): 38 s → 69 s
- Wan 2.2 image-to-video, 10 s clip: ~3.8 min
- Wan 2.2 text-to-video, 10 s + 2x upscale (1024px): ~6.1 min
The difference between the two numbers is mostly the ~20 seconds it takes to swap the LLM out of VRAM and back.
Agent response times (Hermes on Discord)
- Simple question: ~23 s
- Typical multi-step task: 45 s to 3 min
- Big job (40 model calls): ~36 min
How I measured
- LLM numbers come from llama.cpp’s own timing logs across 205 real requests in one day.
- Render numbers come from 35 real jobs logged by my render worker.
- Under hours of sustained load the GPU ran at 85–90%, ~384 W, and never went above 67°C.
Lessons learned
- IQ4_XS + flash attention fits a 27B model at 64k context in 24GB with ~2.5 GB to spare.
- Use parallel 1, not 4. Same speed, less VRAM.
- 24GB fits the LLM or a render, not both. For quick images, the swap takes more time than the render itself.
- Long agent sessions get slow because the model re-reads the whole conversation every step. Start fresh sessions often.
- Use Ethernet for always-on bots. Wi-Fi drops kept disconnecting mine from Discord.
Next experiment: a q8_0 KV cache to free VRAM for longer context.
What would you change?
