OpenShorts logoopenshorts Get free clips
Home Blog Qwen4 vs Gemini as the clip picker

Qwen4 on a Mac against Gemini in the cloud: which one picks better clips?

Qwen4-35B-A3B came out on 4 December 2026 under Apache 2.0. The next day we put it in the step where OpenShorts sends your transcript to a cloud model, the one that picks the moments, and ran it on a laptop against the default, Gemini 3.1 Flash-Lite, on the same 9-minute video.

With reasoning on, Qwen4 returned 11 clips and Gemini 6. 3 of Qwen4's scored 7 or more out of 10 against 1 of Gemini's, and none of its titles described something that is not in the clip (Gemini: 2 of 6).

It took 6 min 31 s to pick them, against 7 s: 55 times slower. Turning reasoning off brings it down to 45 s and the picks get worse. Its cut points are worse than Gemini's either way.

A full job with no Google key at all transcribed, picked and rendered 10 clips on the Mac for $0 in API calls. This is one video scored by a language model, not blind: a first impression, with the limits listed at the end.

Clips returned11 vs 6Qwen4 with reasoning vs Gemini
Time to pick6 min 31 s vs 7 s45 s with reasoning off
Generation speed65.9-78 tok/sM5 Max, 36 GB, IQ4_XS
Picker cost$0 vs $0.005Per video, API calls only
Run it yourself The clip picker takes any OpenAI-compatible server

Two lines in .env point OpenShorts at your own model. The repo is MIT and free to run; the hosted edition has a free plan with a watermark and paid plans from $12/month.

Summary of the test. Gemini: 6 clips in 7 s, 2 of 6 titles about something that is not in the clip. Qwen4, reasoning on: 11 clips in 6 min 31 s, 0 of 11 titles about something that is not in the clip. Qwen4, reasoning off: 10 clips in 45 s, 3 of 10 titles about something that is not in the clip. Below, the stretches of the 9:11 video each one cut.
The whole test in one image. The full table and what is behind each number come below.

Why test this at all?

OpenShorts turns a long video into vertical clips. When you self-host it, almost all of that runs on your own machine: the download, the transcription with faster-whisper, scene detection, face tracking, the 9:16 reframe and the encode. The step that decides what gets cut is the moment picker, a text call that reads the timestamped transcript and returns the stretches worth cutting, with a title and a hook for each. By default that call goes to Google Gemini 3.1 Flash-Lite.

It does not have to. The picker accepts any OpenAI-compatible server through LLM_BASE_URL. The open question was quality: a local model keeps the transcript at home, but does it pick clips you would post? A new 35B open model that fits on a laptop was a good excuse to measure it.

The setup

The server was started like this, and OpenShorts needed two lines:

llama-server -m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \
  --host 127.0.0.1 --port 8081 -c 32768 -np 1 -ngl 99 --jinja \
  --alias qwen4-35b-a3b
# add "--reasoning off" for the fast run

# .env of OpenShorts
LLM_BASE_URL=http://host.docker.internal:8081/v1
LLM_MODEL=qwen4-35b-a3b

Wired memory on the Mac went from 4.6 GB to 25.4 GB with the model loaded and a job running: about 20 GB. On a 36 GB machine that fits, but not next to a game and a browser full of tabs.

The numbers

Gemini 3.1 Flash-Lite (cloud)Qwen4, reasoning on (local)Qwen4, reasoning off (local)
Clips returned61110
Time to pick the moments7 s6 min 31 s45 s
Cost of the picker$0.005$0$0
Output tokens in the final callnot logged23,9452,329
Generation speed in that calln/a65.9 tok/s77.8 tok/s
Average clip length29.2 s25.8 s33.8 s
Video covered by the clips175 s of 551284 s of 551338 s of 551
Titles describing something outside the clip2 of 60 of 113 of 10
Clips scoring 7 or more out of 101 of 63 of 110 of 10
Average score out of 104.36.04.9
The stretches of the video each model turned into clips Three rows over a 9:11 video. Gemini: 6 clips covering 175 seconds. Qwen4, reasoning on: 11 clips covering 284 seconds. Qwen4, reasoning off: 10 clips covering 338 seconds. Gemini 6 clips Qwen4, reasoning on 11 clips Qwen4, reasoning off 10 clips 0:002:004:006:008:009:11
Each block is one clip, placed where it sits in the 9:11 video. Same transcript, same prompt, same pipeline; only the model that picks the moments changes.

The prompt asks for 6 to 12 clips on a video this long. Gemini returned the minimum: one clip from each of six windows, skipping two. Qwen4 used all 8 shortlisted windows and took up to three clips from one of them. That is where 11 against 6 comes from.

Where Qwen4 was better

A frame of Gemini's clip: the presenter talking to camera under a human in the loop caption. No group call on screen. A frame of Qwen4's clip: a diagram of an agent calling two people at once, with the presenter below.
The group call, as each model cut it. Left, Gemini's clip (5:28 to 5:55), titled "Llamada grupal con una IA" (group call with an AI): it ends eight seconds before the group call comes up. Right, Qwen4's clip (5:58 to 6:17), titled "Cómo hacer llamadas grupales simultáneas usando Tu Agente" (how to make simultaneous group calls with your agent): the stretch where it is explained, with the diagram on screen.

Where it was worse

The endings are bad in all three runs: almost every clip stops mid-sentence. That is not a model problem. It is ours to fix in the pipeline, by snapping the cut to the end of the sentence, and it would help whichever model picks.

Reasoning on or off?

Almost the whole gap in time is one call. The three scoring calls take under 10 seconds each with reasoning on and under 5 with it off. The final call, the one that writes the clips, produced 23,945 tokens with reasoning on and 2,329 with it off: 6 min 3 s against 30 seconds. --reasoning-effort low did not help; the same call still wrote 22,846 tokens.

These are llama-server's own timing lines for that call in the two runs, with the log prefix trimmed:

# reasoning on
prompt eval time =    3027.83 ms /  4681 tokens (    0.65 ms per token,  1545.99 tokens per second)
       eval time =  363351.76 ms / 23945 tokens (   15.18 ms per token,    65.90 tokens per second)
      total time =  366379.59 ms / 28626 tokens

# --reasoning off
prompt eval time =    3065.76 ms /  4682 tokens (    0.65 ms per token,  1527.19 tokens per second)
       eval time =   29915.52 ms /  2329 tokens (   12.85 ms per token,    77.82 tokens per second)
      total time =   32981.28 ms /  7011 tokens

What the thinking buys is the match between title and cut. With reasoning off Qwen4 behaves like Gemini: 3 of its 10 titles describe something outside the clip, and it also returned the video's sign-off ("leave a like") as a clip, which the prompt asks it to avoid.

One practical note: with reasoning on, that call used 28,626 of the 32,768 tokens of context we gave the server. The 16k that is enough for a non-reasoning model is not enough here.

The run with no Google key at all

In the three runs above only the picker changed; the layout choice and the step that rewrites a title from what is on screen still used Gemini. So we ran a fourth job with no Google key in the environment. It transcribed the video in about 30 seconds, picked for 6 min 9 s, rendered 10 clips and finished in 12 min 34 s on the CPU image, with a picker cost of $0.000000 in the log. Nothing left the machine.

What you give up without a Gemini key: the automatic layout picker falls back to the plain face-tracking crop, titles and hooks are not rewritten from the frames, and a video with no speech cannot be clipped. The self-hosting guide covers the rest of the setup.

How the clips were scored

Each clip got up to 10 points: the hook in the first three seconds (3), whether it makes sense without the rest of the video (3), clean start and end cuts (2), and whether the title matches what is said inside (2). The scores were given by Claude, a language model, reading the transcript of each clip and knowing which model had produced it. "Title outside the clip" and the sentence-boundary counts are checks against the transcript, not opinions.

Three clip cards side by side for the opening of the video, one per run, each with a frame of the clip, a score out of 10 with a note, the hook, the title, the model's reason and whether the cut starts and ends at a sentence boundary. Scores: Gemini 7, Qwen4 with reasoning 8, Qwen4 without reasoning 6.5.
One row of the page the clips were reviewed on: the opening of the video as each run cut it. Labels and notes are translated; the hooks, titles and quotes are the models' own output, in Spanish like the video. Click it to open it full size.

Limits of this test

What we are doing with it

The default stays. When someone is waiting for their clips, 7 s and half a cent against 6 min 31 s is not a close call.

For anyone self-hosting who wants nothing to leave the machine, the answer changed this week: a model you can run on a laptop now picks clips at least as well as the cloud default on this video, if you can wait. OpenShorts is open source under MIT and free to self-host. The hosted edition, OpenShorts Cloud, has a free plan with a watermark and paid plans from $12/month (all plans).

Common questions

Can OpenShorts run without a Google Gemini key?
Yes. Set LLM_BASE_URL and LLM_MODEL in .env to any OpenAI-compatible server and the moment picker runs on your own model. In this test a full job with no Google key transcribed, picked and rendered 10 clips on a Mac for $0 in API calls. Without a Gemini key the automatic layout picker falls back to the plain face-tracking crop, titles and hooks are not rewritten from the frames, and a video with no speech cannot be clipped.
Is Qwen4 better than Gemini at picking clips?
On the one video we tested, Qwen4-35B-A3B with reasoning on returned more usable clips than Gemini 3.1 Flash-Lite (3 scored 7 or more out of 10, against 1) and none of its titles described something outside the clip. It took 6 min 31 s against 7 s, and its cut points were worse. One video is a first impression, not a benchmark.
How much memory does Qwen4-35B-A3B need?
About 20 GB at the IQ4_XS quantisation. The GGUF files are 20.5 GB, and wired memory on the Mac went from 4.6 GB to 25.4 GB with the model loaded and a job running. It fits on a 36 GB Apple Silicon machine, but not next to a game or a browser full of tabs.
Should I turn reasoning off for a local clip picker?
It depends on what you are short of. With reasoning off the picker took 45 s in place of 6 min 31 s, because one call wrote 2,329 tokens in place of 23,945. It also picked worse: 3 of 10 titles described something outside the clip and one clip was the video's sign-off. If the job runs overnight, leave reasoning on.
How fast is Qwen4-35B-A3B on Apple Silicon?
On a MacBook Pro with an M5 Max and 36 GB, llama.cpp generated 65.9 tokens per second on the long reasoning call and about 78 on the short ones, with the IQ4_XS GGUF fully on the GPU. Prompt processing ran at over 1,000 tokens per second.
Does the video leave my machine with a local model?
No. Downloading, transcription, scene detection, face tracking, reframing and encoding run locally either way. With a Gemini key, the moment picker sends the transcript, the automatic layout picker sends a few still frames, and a video with no speech is sent whole. With LLM_BASE_URL pointing at a server on your own machine and no Gemini key, nothing leaves it.

Sources

Related pages