Tian2
← The Notebook · AI Tools
AI Tools · Physics Bowl

Comparing LLMs for Condensing a 757-Page Physics Bowl Problem Set

各个大语言模型整理物理碗题集精简版比较

2025-02-12·AI Tools

A hands-on, entirely subjective benchmark — four LLMs, one batch LaTeX condensing task, and a lot of waiting for DeepSeek.

My existing Physics Bowl classified problem set ran to 757 pages. I wanted a shorter version that could also be converted into Anki-style flashcards. The approach: loop through every problem, feed the question and detailed solution to an LLM, and ask it to output a condensed version. All models were called via the OpenRouter API. Key parameters (costs and latency fluctuate):

ModelInput $/M tokOutput $/M tokLatency s
o1-mini1.14.40.72
DeepSeek-R10.82.40.73
Claude Sonnet3151.38
Gemini Flash 2.00.10.40.59

DeepSeek-R1's official pricing is $0.14 in / $0.55 out, but the official API was so overloaded (19.71 s latency) that I used an accelerated variant instead.

Results: page count

Starting from 757 pages, post-condensation counts were:

ModelPages afterPages saved
o1-mini488269
DeepSeek-R1507250
Claude Sonnet459298
Gemini Flash 2.0477280

Side-by-side output comparison

Example: a relativity problem at the harder end of the set. Original question and full solution first:

Original Physics Bowl problem Original detailed solution

o1-mini — most concise, occasionally drops intermediate steps:

o1-mini condensed output

DeepSeek-R1 — good mathematical rigour, full information:

DeepSeek-R1 condensed output

Claude Sonnet — detailed, well-labeled steps, closest to my own solution style:

Claude Sonnet condensed output

Gemini Flash 2.0 — balanced length; sometimes heavy on equations, light on prose:

Gemini Flash 2.0 condensed output

LaTeX quality issues

Surprisingly, Claude Sonnet — normally the top model on OpenRouter for coding — produced the most LaTeX errors in this task. I ended up writing a separate script to have ChatGPT fix Claude's compilation errors. GPT-o1-mini and Gemini were both solid, with roughly five minor errors each across the entire problem set.

DeepSeek had two distinct problems. First, it leaked its chain-of-thought into the output even when instructed not to — and the thinking text was not in LaTeX format, requiring extensive cleanup. Second, for the first half of the loop DeepSeek simply echoed the input verbatim rather than condensing it, producing a 636-page first draft. I had to rerun the entire DeepSeek pass to get a usable result.

Gemini occasionally went to the opposite extreme — outputting only equations with no prose explanation. Technically correct, but hard to follow.

LaTeX output comparison across models

Objective timing data (10-problem test)

ModelAvg time (s)Avg lengthMin (s)Max (s)
GPT-o1-mini7.101,7886.029.14
DeepSeek55.891,64124.8195.95
Claude7.991,0175.0111.52
Gemini4.531,4413.835.63

DeepSeek's chain-of-thought reasoning is great in a chat interface but brutal for batch API calls. While other models finished in the time it takes to eat lunch, DeepSeek needed the time it takes to sleep. Gemini-2.0 is underrated — fast, multimodal, and largely correct, even if its explanations need polish.

Original note, February 2025. All pricing and latency figures are approximate as of the date of testing and subject to change. Tested via OpenRouter API. Not affiliated with any model provider.