{"exhaustive":{"nbHits":false,"typo":false},"exhaustiveNbHits":false,"exhaustiveTypo":false,"hits":[{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"mewse-hn"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"To me the most interesting chart on artificial analysis is intelligence index vs <em>cost</em> <em>per</em> <em>task</em>. It's like the third chart down and they graph a pareto line showing where the frontier is and every model on the pareto line has been interesting to me. Luna, Mimo-v2.6-pro, Sol. Hell, Argon.<p>This MiniMax model is clustered with Haiku 5.5 so (combined with the criticism on here that it was lacklustre while free on opencode go) I don't find it interesting, but every announcement has a chance at pushing that frontier.<p>I was <em>benchmark</em>ing affordable <em>LLMs</em> for japanese-&gt;english translation recently and the winner was Kimi K3 - there are a <i>ton</i> of interesting models in the wake of the flagships."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"MiniMax M3.1 Flash"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.minimax.io/blog/minimax-m31f"}},"_tags":["comment","author_mewse-hn","story_50154540"],"author":"mewse-hn","comment_text":"To me the most interesting chart on artificial analysis is intelligence index vs cost per task. It&#x27;s like the third chart down and they graph a pareto line showing where the frontier is and every model on the pareto line has been interesting to me. Luna, Mimo-v2.6-pro, Sol. Hell, Argon.<p>This MiniMax model is clustered with Haiku 5.5 so (combined with the criticism on here that it was lacklustre while free on opencode go) I don&#x27;t find it interesting, but every announcement has a chance at pushing that frontier.<p>I was benchmarking affordable LLMs for japanese-&gt;english translation recently and the winner was Kimi K3 - there are a <i>ton</i> of interesting models in the wake of the flagships.","created_at":"2026-10-19T23:40:17Z","created_at_i":1792453217,"objectID":"50159466","parent_id":50159118,"story_id":50154540,"story_title":"MiniMax M3.1 Flash","story_url":"https://www.minimax.io/blog/minimax-m31f","updated_at":"2026-10-20T08:52:00Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"michaelgdwn"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"The Nano tier is the one I'm watching. For agent workflows where you're making dozens of <em>LLM</em> calls <em>per</em> <em>task</em>, the <em>cost</em> <em>per</em> call matters more than peak capability. Would be interesting to see <em>benchmarks</em> on function calling latency specifically \u2014 that's what matters for agents."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"GPT\u20115.4 Mini and Nano"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://openai.com/index/introducing-gpt-5-4-mini-and-nano"}},"_tags":["comment","author_michaelgdwn","story_47415441"],"author":"michaelgdwn","comment_text":"The Nano tier is the one I&#x27;m watching. For agent workflows where you&#x27;re making dozens of LLM calls per task, the cost per call matters more than peak capability. Would be interesting to see benchmarks on function calling latency specifically \u2014 that&#x27;s what matters for agents.","created_at":"2026-03-17T22:47:03Z","created_at_i":1773787623,"objectID":"47419406","parent_id":47415441,"story_id":47415441,"story_title":"GPT\u20115.4 Mini and Nano","story_url":"https://openai.com/index/introducing-gpt-5-4-mini-and-nano","updated_at":"2026-03-18T02:21:12Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"napowderly"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Hi HN \u2014 we build atopile, an open-source language and compiler for designing circuit boards in code. People kept asking us &quot;can AI just design the board?&quot; \u2014 so we measured it.<p>EEBench is a set of original EE <em>tasks</em>: design-from-spec, datasheet comprehension, design review, picking real parts that actually exist. Agents submit design source, not prose. The grader runs compiler checks and simulations, and scores measured behavior \u2014 transients, thresholds, tolerance corners \u2014 against the spec. No human graders, no <em>LLM</em>-as-judge. When a score says the rail sagged below 3.0 V during brown-out, that's a waveform, not an opinion.<p>Things that surprised us:<p>The frontier cluster spans roughly 45\u201372% (Claude Fable 5 on top at 71.7%).\nOpen-weight models that do well on coding <em>benchmarks</em> score 5\u201313% here.\n<em>Cost</em> <em>per</em> <em>task</em> varies 15x between models with similar scores.\nHonest limitations: the <em>task</em> set is curated from a larger pack to separate the frontier models, and it's growing. The pack is held out to keep it out of training data, so you can't self-run it yet. If you want a model on the board, email us and we'll run it.<p>Happy to go deep on the grading harness \u2014 ask us anything."},"title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: EEBench \u2013 AI agents design real circuits, graded by physics simulation"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://www.eebench.org/"}},"_tags":["story","author_napowderly","story_48766320","show_hn"],"author":"napowderly","created_at":"2026-07-02T19:37:25Z","created_at_i":1783021045,"num_comments":0,"objectID":"48766320","points":1,"story_id":48766320,"story_text":"Hi HN \u2014 we build atopile, an open-source language and compiler for designing circuit boards in code. People kept asking us &quot;can AI just design the board?&quot; \u2014 so we measured it.<p>EEBench is a set of original EE tasks: design-from-spec, datasheet comprehension, design review, picking real parts that actually exist. Agents submit design source, not prose. The grader runs compiler checks and simulations, and scores measured behavior \u2014 transients, thresholds, tolerance corners \u2014 against the spec. No human graders, no LLM-as-judge. When a score says the rail sagged below 3.0 V during brown-out, that&#x27;s a waveform, not an opinion.<p>Things that surprised us:<p>The frontier cluster spans roughly 45\u201372% (Claude Fable 5 on top at 71.7%).\nOpen-weight models that do well on coding benchmarks score 5\u201313% here.\nCost per task varies 15x between models with similar scores.\nHonest limitations: the task set is curated from a larger pack to separate the frontier models, and it&#x27;s growing. The pack is held out to keep it out of training data, so you can&#x27;t self-run it yet. If you want a model on the board, email us and we&#x27;ll run it.<p>Happy to go deep on the grading harness \u2014 ask us anything.","title":"Show HN: EEBench \u2013 AI agents design real circuits, graded by physics simulation","updated_at":"2026-07-03T17:50:23Z","url":"https://www.eebench.org/"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"roncesvalles"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"I'm very open-minded about entertaining drastic societal changes but I just don't think the facts support this prediction.<p>1. <em>LLM</em> performance has more or less peaked. Since Fable 5 released in June, every Claude model has been a ~1-2% improvement over the last one (if you go by <em>benchmarks</em>). Fable 5.2 marketing verbiage has shifted to how it's &quot;lower <em>cost</em> <em>per</em> <em>task</em>&quot; which imo marks a regime shift. I would bet money that this time next year, we're not going to have a model that's obviously and significantly better than the best ones we have today.<p>2. If you hold that this is about as good as LLMs are gonna get, we haven't found ourselves at a point where we can completely remove the software engineer from the seat. A software engineer is still required to create real commercial-quality software. The role hasn't been commodified either - a better software engineer still writes better software."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Carnegie Mellon is putting computer science courses on YouTube for free"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.cs.cmu.edu/learn/"}},"_tags":["comment","author_roncesvalles","story_50522980"],"author":"roncesvalles","children":[50528708,50529044,50529341,50529389,50529431,50530499,50534577],"comment_text":"I&#x27;m very open-minded about entertaining drastic societal changes but I just don&#x27;t think the facts support this prediction.<p>1. LLM performance has more or less peaked. Since Fable 5 released in June, every Claude model has been a ~1-2% improvement over the last one (if you go by benchmarks). Fable 5.2 marketing verbiage has shifted to how it&#x27;s &quot;lower cost per task&quot; which imo marks a regime shift. I would bet money that this time next year, we&#x27;re not going to have a model that&#x27;s obviously and significantly better than the best ones we have today.<p>2. If you hold that this is about as good as LLMs are gonna get, we haven&#x27;t found ourselves at a point where we can completely remove the software engineer from the seat. A software engineer is still required to create real commercial-quality software. The role hasn&#x27;t been commodified either - a better software engineer still writes better software.","created_at":"2026-11-17T07:23:40Z","created_at_i":1794900220,"objectID":"50528483","parent_id":50528037,"story_id":50522980,"story_title":"Carnegie Mellon is putting computer science courses on YouTube for free","story_url":"https://www.cs.cmu.edu/learn/","updated_at":"2026-11-19T12:05:53Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ben_w"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"&gt; Imagine being able to run GPT Sol at 1k tokens/second a year from now, at a 100x lower <em>cost</em> <em>per</em> token than now. Would that be useful?<p>Given the current rate of change, it would be hard to guess either way. By some measures the <em>cost</em> at fixed quality score goes down vastly faster than that:<p><pre><code>  A similar trend is evident in the <em>cost</em> of models scoring above 50% on GPQA, a substantially more challenging <em>benchmark</em> than MMLU. There, inference costs declined from $15 <em>per</em> million tokens in May 2024 to $0.12 <em>per</em> million tokens by December 2024 (Phi 4).\n</code></pre>\n- <a href=\"https://hai.stanford.edu/assets/files/hai_ai-index-report-2025_chapter1_final.pdf\" rel=\"nofollow\">https://hai.stanford.edu/assets/files/hai_ai-index-report-20...</a><p>15/0.12 -&gt; factor of 125 <em>cost</em> reduction in 7 months.<p>But that may well be an extreme case. To show how broad the range is, another quote from the same publication:<p><pre><code>  Depending on the <em>task</em>, <em>LLM</em> inference prices have fallen anywhere from 9 to 900 times <em>per</em> year.</code></pre>"},"story_title":{"matchLevel":"none","matchedWords":[],"value":"OpenAI Jalape\u00f1o: Better than Nvidia Blackwell"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://newsletter.semianalysis.com/p/openai-jalapeno-better-than-nvidia"}},"_tags":["comment","author_ben_w","story_49434378"],"author":"ben_w","children":[49448586],"comment_text":"&gt; Imagine being able to run GPT Sol at 1k tokens&#x2F;second a year from now, at a 100x lower cost per token than now. Would that be useful?<p>Given the current rate of change, it would be hard to guess either way. By some measures the cost at fixed quality score goes down vastly faster than that:<p><pre><code>  A similar trend is evident in the cost of models scoring above 50% on GPQA, a substantially more challenging benchmark than MMLU. There, inference costs declined from $15 per million tokens in May 2024 to $0.12 per million tokens by December 2024 (Phi 4).\n</code></pre>\n- <a href=\"https:&#x2F;&#x2F;hai.stanford.edu&#x2F;assets&#x2F;files&#x2F;hai_ai-index-report-2025_chapter1_final.pdf\" rel=\"nofollow\">https:&#x2F;&#x2F;hai.stanford.edu&#x2F;assets&#x2F;files&#x2F;hai_ai-index-report-20...</a><p>15&#x2F;0.12 -&gt; factor of 125 cost reduction in 7 months.<p>But that may well be an extreme case. To show how broad the range is, another quote from the same publication:<p><pre><code>  Depending on the task, LLM inference prices have fallen anywhere from 9 to 900 times per year.</code></pre>","created_at":"2026-08-26T12:37:43Z","created_at_i":1787747863,"objectID":"49447966","parent_id":49444773,"story_id":49434378,"story_title":"OpenAI Jalape\u00f1o: Better than Nvidia Blackwell","story_url":"https://newsletter.semianalysis.com/p/openai-jalapeno-better-than-nvidia","updated_at":"2026-08-27T06:19:09Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"nipah"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"No, I think I saw the graphs on someone's channel, but maybe I misinterpreted the results. But to be fair, my point never depended on 100% of the participants being right 100% of the questions, there are innumerous factors that could affect your performance on those tests, including the pressure. The AI also had access to lenient conventions, so it should be &quot;fair&quot; in this sense.<p>Either way, there's something fishy about this presentation, it says:\n&quot;ARC-AGI-1 WAS EASILY BRUTE-FORCIBLE&quot;, but when o3 initially &quot;solved&quot; most of it the co-founder or ARC-PRIZE said:\n&quot;Despite the significant <em>cost</em> <em>per</em> <em>task</em>, these numbers aren't just the result of applying brute force compute to the <em>benchmark</em>. OpenAI's new o3 model represents a significant leap forward in AI's ability to adapt to novel tasks. This is not merely incremental improvement, but a genuine breakthrough, marking a qualitative shift in AI capabilities compared to the prior limitations of <em>LLMs</em>. o3 is a system capable of adapting to tasks it has never encountered before, arguably approaching human-level performance in the ARC-AGI domain.&quot;, he  was saying confidently that it would not be a result of brute-forcing the problems.\nAnd it was not the first time,\n&quot;ARC-AGI-1 consists of 800 puzzle-like tasks, designed as grid-based visual reasoning problems. These tasks, trivial for humans but challenging for machines, typically provide only a small number of example input-output pairs (usually around three). This requires the test taker (human or AI) to deduce underlying rules through abstraction, inference, and prior knowledge rather than brute-force or extensive training.&quot;<p>Now they are saying ARC-AGI-2 is not bruteforcible, what is happening there? They didn't provided any reasoning for why one was bruteforcible and the other not, nor how they are so sure about that.\nThey &quot;recognized&quot; that it could be brute-forced before, but in a way less expressive manner, by explicitly stating it would need &quot;unlimited resources and time&quot; to solve. And they are using the non-bruteforceability in this presentation as a point for it.<p>---\nAlso, I mentioned mammals because those problems are of an order that mammals and even other animals would need to solve in reality for a diversity of cases. I'm not saying that they would literally be able to take the test and solve it, nor to understand this is a test, but that they would need to solve problems of similar nature in reality. Naturally this point has it's own limits, but it's not easily discarded as you tried to do."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"OpenAI o3-pro"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://help.openai.com/en/articles/9624314-model-release-notes"}},"_tags":["comment","author_nipah","story_44240999"],"author":"nipah","children":[44259128],"comment_text":"No, I think I saw the graphs on someone&#x27;s channel, but maybe I misinterpreted the results. But to be fair, my point never depended on 100% of the participants being right 100% of the questions, there are innumerous factors that could affect your performance on those tests, including the pressure. The AI also had access to lenient conventions, so it should be &quot;fair&quot; in this sense.<p>Either way, there&#x27;s something fishy about this presentation, it says:\n&quot;ARC-AGI-1 WAS EASILY BRUTE-FORCIBLE&quot;, but when o3 initially &quot;solved&quot; most of it the co-founder or ARC-PRIZE said:\n&quot;Despite the significant cost per task, these numbers aren&#x27;t just the result of applying brute force compute to the benchmark. OpenAI&#x27;s new o3 model represents a significant leap forward in AI&#x27;s ability to adapt to novel tasks. This is not merely incremental improvement, but a genuine breakthrough, marking a qualitative shift in AI capabilities compared to the prior limitations of LLMs. o3 is a system capable of adapting to tasks it has never encountered before, arguably approaching human-level performance in the ARC-AGI domain.&quot;, he  was saying confidently that it would not be a result of brute-forcing the problems.\nAnd it was not the first time,\n&quot;ARC-AGI-1 consists of 800 puzzle-like tasks, designed as grid-based visual reasoning problems. These tasks, trivial for humans but challenging for machines, typically provide only a small number of example input-output pairs (usually around three). This requires the test taker (human or AI) to deduce underlying rules through abstraction, inference, and prior knowledge rather than brute-force or extensive training.&quot;<p>Now they are saying ARC-AGI-2 is not bruteforcible, what is happening there? They didn&#x27;t provided any reasoning for why one was bruteforcible and the other not, nor how they are so sure about that.\nThey &quot;recognized&quot; that it could be brute-forced before, but in a way less expressive manner, by explicitly stating it would need &quot;unlimited resources and time&quot; to solve. And they are using the non-bruteforceability in this presentation as a point for it.<p>---\nAlso, I mentioned mammals because those problems are of an order that mammals and even other animals would need to solve in reality for a diversity of cases. I&#x27;m not saying that they would literally be able to take the test and solve it, nor to understand this is a test, but that they would need to solve problems of similar nature in reality. Naturally this point has it&#x27;s own limits, but it&#x27;s not easily discarded as you tried to do.","created_at":"2025-06-12T14:10:08Z","created_at_i":1749737408,"objectID":"44258024","parent_id":44255902,"story_id":44240999,"story_title":"OpenAI o3-pro","story_url":"https://help.openai.com/en/articles/9624314-model-release-notes","updated_at":"2025-06-12T15:50:07Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"fronset"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Fronset is just me. It began as a deep research application on an <em>LLM</em> pipeline; I wanted to get a feel for how <em>LLM</em> driven applications will look in the future. My first scenario was Nova (<a href=\"https://nova.kapualabs.com\" rel=\"nofollow\">https://nova.kapualabs.com</a>), a content and financial-analysis publication. I always wanted to have an application that does stock related research before I decide to buy some. From day one I built it to pick a model for each step because I doubted frontier models were the best value. With a water leak I want a plumber, not a rocket scientist: the plumber is cheaper and probably better at fixing leaks.<p>When I was then thinking about monetization, everyone I talked to cared more about the model selection and access control than the news and social media research, so that became the product: a <em>benchmark</em> for <em>LLM</em> pipeline steps, and an API that picks models from it.<p>In busiest weeks I make close to 200,000 <em>LLM</em> calls and it's an illusion to hope for a review process that is only human. Hence, I built it differently: A panel of <em>LLM</em> judges from different vendors grades each model's outputs <em>per</em> <em>task</em>, 0-10. But the judges aren't a black box: I read their verdicts and refine the rubrics, prompts and output checks, aiming for what a person would decide, faster and cheaper, and scalable. A model is good enough when its score meets your quality step with enough confidence. My default step, Balanced, admits every model within 90% of the <em>task</em>'s best score.<p>In snapshot 2026-11-30 (55 pipeline stages), three models are good enough on the most tasks: Kimi K3 (37), Meta Muse Spark 1.3 (35) and Claude Opus 5.5 (34). But at batch prices none of them is the cheapest good-enough model on any <em>task</em>, so none of them is actually picked.<p>Example: On the linked <em>task</em> summarizing web pages, social media conversations and documents (<a href=\"https://fronset.ai/benchmark/task/structured-content-summarization/\" rel=\"nofollow\">https://fronset.ai/<em>benchmark</em>/<em>task</em>/structured-content-summari...</a>), at batch prices, the cheapest good-enough model, Claude Haiku 5.5, scores 8.35 and <em>costs</em> $0.56 <em>per</em> 1,000 runs. Claude Opus 5.5 scores 7.94 (worse!) and <em>costs</em> 40 times as much ($21.98). The model with the highest score, Kimi K3, has 8.68 but <em>costs</em> 67 times as much ($37.19).<p>In analyzing, I learned further that list prices are misleading also. Gemini 4 Neon lists at the same price <em>per</em> token as Kimi K3, yet at sync prices it <em>costs</em> $52.17 <em>per</em> 1,000 runs to K3's $37.19, and scores 7.68: the <em>cost</em> <em>per</em> run counts every token a model actually uses, thinking included, and thinking can be expensive and very model dependent.<p>The API is OpenAI-compatible (<a href=\"https://api.fronset.ai/v1\" rel=\"nofollow\">https://api.fronset.ai/v1</a>): you name a <em>task</em>, and the cheapest good-enough model answers.<p>When AI labs release new models, I onboard them to the public catalogue tasks, where they are graded on replays of past calls from my traffic and the free plan. If one model meets the quality step for less, the calls move to it; if it scores highest, the score the step needs rises (system raises expectations), and the quality of your outputs may increase too.<p>So a new model can lower the <em>cost</em> or raise the quality of the outputs without you doing anything.<p>I apply no markup to model usage. The first 10,000 calls a month carry no fee, above that I charge a small fee.<p>Sign up at <a href=\"https://fronset.ai\" rel=\"nofollow\">https://fronset.ai</a>.<p>How does this sound to you? Would you use it? Would you trust <em>LLM</em> judges, supervised by humans, to evaluate model quality? Please share your thoughts."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm"],"value":"Show HN: Fronset \u2013 The cheapest <em>LLM</em> that's good enough for a pipeline step"}},"_tags":["story","author_fronset","story_50701847","show_hn"],"author":"fronset","children":[50709498],"created_at":"2026-11-30T16:22:52Z","created_at_i":1796055772,"num_comments":0,"objectID":"50701847","points":1,"story_id":50701847,"story_text":"Fronset is just me. It began as a deep research application on an LLM pipeline; I wanted to get a feel for how LLM driven applications will look in the future. My first scenario was Nova (<a href=\"https:&#x2F;&#x2F;nova.kapualabs.com\" rel=\"nofollow\">https:&#x2F;&#x2F;nova.kapualabs.com</a>), a content and financial-analysis publication. I always wanted to have an application that does stock related research before I decide to buy some. From day one I built it to pick a model for each step because I doubted frontier models were the best value. With a water leak I want a plumber, not a rocket scientist: the plumber is cheaper and probably better at fixing leaks.<p>When I was then thinking about monetization, everyone I talked to cared more about the model selection and access control than the news and social media research, so that became the product: a benchmark for LLM pipeline steps, and an API that picks models from it.<p>In busiest weeks I make close to 200,000 LLM calls and it&#x27;s an illusion to hope for a review process that is only human. Hence, I built it differently: A panel of LLM judges from different vendors grades each model&#x27;s outputs per task, 0-10. But the judges aren&#x27;t a black box: I read their verdicts and refine the rubrics, prompts and output checks, aiming for what a person would decide, faster and cheaper, and scalable. A model is good enough when its score meets your quality step with enough confidence. My default step, Balanced, admits every model within 90% of the task&#x27;s best score.<p>In snapshot 2026-11-30 (55 pipeline stages), three models are good enough on the most tasks: Kimi K3 (37), Meta Muse Spark 1.3 (35) and Claude Opus 5.5 (34). But at batch prices none of them is the cheapest good-enough model on any task, so none of them is actually picked.<p>Example: On the linked task summarizing web pages, social media conversations and documents (<a href=\"https:&#x2F;&#x2F;fronset.ai&#x2F;benchmark&#x2F;task&#x2F;structured-content-summarization&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;fronset.ai&#x2F;benchmark&#x2F;task&#x2F;structured-content-summari...</a>), at batch prices, the cheapest good-enough model, Claude Haiku 5.5, scores 8.35 and costs $0.56 per 1,000 runs. Claude Opus 5.5 scores 7.94 (worse!) and costs 40 times as much ($21.98). The model with the highest score, Kimi K3, has 8.68 but costs 67 times as much ($37.19).<p>In analyzing, I learned further that list prices are misleading also. Gemini 4 Neon lists at the same price per token as Kimi K3, yet at sync prices it costs $52.17 per 1,000 runs to K3&#x27;s $37.19, and scores 7.68: the cost per run counts every token a model actually uses, thinking included, and thinking can be expensive and very model dependent.<p>The API is OpenAI-compatible (<a href=\"https:&#x2F;&#x2F;api.fronset.ai&#x2F;v1\" rel=\"nofollow\">https:&#x2F;&#x2F;api.fronset.ai&#x2F;v1</a>): you name a task, and the cheapest good-enough model answers.<p>When AI labs release new models, I onboard them to the public catalogue tasks, where they are graded on replays of past calls from my traffic and the free plan. If one model meets the quality step for less, the calls move to it; if it scores highest, the score the step needs rises (system raises expectations), and the quality of your outputs may increase too.<p>So a new model can lower the cost or raise the quality of the outputs without you doing anything.<p>I apply no markup to model usage. The first 10,000 calls a month carry no fee, above that I charge a small fee.<p>Sign up at <a href=\"https:&#x2F;&#x2F;fronset.ai\" rel=\"nofollow\">https:&#x2F;&#x2F;fronset.ai</a>.<p>How does this sound to you? Would you use it? Would you trust LLM judges, supervised by humans, to evaluate model quality? Please share your thoughts.","title":"Show HN: Fronset \u2013 The cheapest LLM that's good enough for a pipeline step","updated_at":"2026-12-01T01:24:59Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ojosilva"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"To @simonw and all the coding agent and <em>LLM</em> <em>benchmark</em>ers out there: please, always publish the elapsed time for the <em>task</em> to complete successfully! I know this was just a &quot;it works straight in claude.ai&quot; post, but still, nowhere in the transcript there's a timestamp of any kind. Durations seem to be COMPLETELY missing from the <em>LLM</em> coding leaderboards everywhere [1] [2] [3]<p>There's a huge difference in time-to-completion from model to model, platform to platform, and if, like me, you are into trial-and-error, rebooting the session over and over to get the prompt right or &quot;one-shot&quot;, it's important how reasoning efforts, provider's tokens/s, coding agent tooling efficiency, <em>costs</em> and overall model intelligence play together to get the <em>task</em> done. Same thing applies to the coding agent, when applicable.<p>Grok Code Fast and Cerebras Code (qwen) are 2 examples of how models can be very competitive without being the top-notch intelligence. Running inference at 10x speed really allows for a leaner experience in AI-assisted coding and more <em>task</em> completion <em>per</em> day than a sluggish, but more correct AI. Darn, I feel like a corporate butt-head right now.<p>1. <a href=\"https://www.swebench.com/\" rel=\"nofollow\">https://www.swebench.com/</a><p>2. <a href=\"https://www.tbench.ai/leaderboard\" rel=\"nofollow\">https://www.tbench.ai/leaderboard</a><p>3. <a href=\"https://gosuevals.com/agents.html\" rel=\"nofollow\">https://gosuevals.com/agents.html</a>"},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Claude Sonnet 4.5"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.anthropic.com/news/claude-sonnet-4-5"}},"_tags":["comment","author_ojosilva","story_45415962"],"author":"ojosilva","children":[45419176,45419366,45421807],"comment_text":"To @simonw and all the coding agent and LLM benchmarkers out there: please, always publish the elapsed time for the task to complete successfully! I know this was just a &quot;it works straight in claude.ai&quot; post, but still, nowhere in the transcript there&#x27;s a timestamp of any kind. Durations seem to be COMPLETELY missing from the LLM coding leaderboards everywhere [1] [2] [3]<p>There&#x27;s a huge difference in time-to-completion from model to model, platform to platform, and if, like me, you are into trial-and-error, rebooting the session over and over to get the prompt right or &quot;one-shot&quot;, it&#x27;s important how reasoning efforts, provider&#x27;s tokens&#x2F;s, coding agent tooling efficiency, costs and overall model intelligence play together to get the task done. Same thing applies to the coding agent, when applicable.<p>Grok Code Fast and Cerebras Code (qwen) are 2 examples of how models can be very competitive without being the top-notch intelligence. Running inference at 10x speed really allows for a leaner experience in AI-assisted coding and more task completion per day than a sluggish, but more correct AI. Darn, I feel like a corporate butt-head right now.<p>1. <a href=\"https:&#x2F;&#x2F;www.swebench.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;www.swebench.com&#x2F;</a><p>2. <a href=\"https:&#x2F;&#x2F;www.tbench.ai&#x2F;leaderboard\" rel=\"nofollow\">https:&#x2F;&#x2F;www.tbench.ai&#x2F;leaderboard</a><p>3. <a href=\"https:&#x2F;&#x2F;gosuevals.com&#x2F;agents.html\" rel=\"nofollow\">https:&#x2F;&#x2F;gosuevals.com&#x2F;agents.html</a>","created_at":"2025-09-29T21:29:38Z","created_at_i":1759181378,"objectID":"45418990","parent_id":45415962,"story_id":45415962,"story_title":"Claude Sonnet 4.5","story_url":"https://www.anthropic.com/news/claude-sonnet-4-5","updated_at":"2026-03-05T22:46:36Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"rsaha7"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Hi HN community, I have been working on <em>benchmark</em>ing publicly available <em>LLMs</em> these past couple of weeks. More precisely, I am interested on the finetuning piece since a lot of businesses are starting to entertain the idea of self-hosting <em>LLMs</em> trained on their proprietary data rather than relying on third party APIs.<p>To this point, I am tracking the following 4 pillars of evaluation that businesses are typically look into:\n- Performance\n- Time to train an <em>LLM</em>\n- <em>Cost</em> to train an <em>LLM</em>\n- Inference (throughput / latency / <em>cost</em> <em>per</em> token)<p>For each <em>LLM</em>, my aim is to <em>benchmark</em> them for popular <em>tasks</em>, i.e., classification and summarization. Moreover, I would like to compare them against each other.<p>So far, I have <em>benchmark</em>ed Flan-T5-Large, Falcon-7B and RedPajama and have found them to be very efficient in low-data situations, i.e., when there are very few annotated samples. Llama2-7B/13B and Writer\u2019s Palmyra are in the pipeline.<p>But there\u2019s so many <em>LLMs</em> out there! In case this work interests you, would be great to join forces.<p>GitHub repo attached \u2014 feedback is always welcome :)<p>Happy hacking!"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm"],"value":"Show HN: finetune <em>LLMs</em> via the Finetuning Hub"},"url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm"],"value":"https://github.com/georgian-io/<em>LLM</em>-Finetuning-Hub"}},"_tags":["story","author_rsaha7","story_37381296","show_hn"],"author":"rsaha7","children":[37382956,37383225,37384606,37385295,37413547],"created_at":"2023-09-04T15:16:42Z","created_at_i":1693840602,"num_comments":17,"objectID":"37381296","points":80,"story_id":37381296,"story_text":"Hi HN community, I have been working on benchmarking publicly available LLMs these past couple of weeks. More precisely, I am interested on the finetuning piece since a lot of businesses are starting to entertain the idea of self-hosting LLMs trained on their proprietary data rather than relying on third party APIs.<p>To this point, I am tracking the following 4 pillars of evaluation that businesses are typically look into:\n- Performance\n- Time to train an LLM\n- Cost to train an LLM\n- Inference (throughput &#x2F; latency &#x2F; cost per token)<p>For each LLM, my aim is to benchmark them for popular tasks, i.e., classification and summarization. Moreover, I would like to compare them against each other.<p>So far, I have benchmarked Flan-T5-Large, Falcon-7B and RedPajama and have found them to be very efficient in low-data situations, i.e., when there are very few annotated samples. Llama2-7B&#x2F;13B and Writer\u2019s Palmyra are in the pipeline.<p>But there\u2019s so many LLMs out there! In case this work interests you, would be great to join forces.<p>GitHub repo attached \u2014 feedback is always welcome :)<p>Happy hacking!","title":"Show HN: finetune LLMs via the Finetuning Hub","updated_at":"2026-05-13T06:25:33Z","url":"https://github.com/georgian-io/LLM-Finetuning-Hub"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"fazlerocks"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"We're running <em>LLMs</em> in production for content generation, customer support, and code review assistance. Been trying to build a proper evaluation pipeline for months but every tool we've tested has significant limitations.<p>What we've evaluated:<p>- OpenAI's Evals framework: Works well for <em>benchmark</em>ing but challenging for custom use cases. Configuration through YAML files can be complex and extending functionality requires diving deep into their codebase. Primarily designed for batch processing rather than real-time monitoring.<p>- LangSmith: Strong tracing capabilities but eval features feel secondary to their observability focus. Pricing starts at $0.50 <em>per</em> 1k traces after the free tier, which adds up quickly with high volume. UI can be slow with larger datasets.<p>- Weights &amp; Biases: Powerful platform but designed primarily for traditional ML experiment tracking. Setup is complex and requires significant ML expertise. Our product team struggles to use it effectively.<p>- Humanloop: Clean interface focused on prompt versioning with basic evaluation capabilities. Limited eval types available and pricing is steep for the feature set.<p>- Braintrust: Interesting approach to evaluation but feels like an early-stage product. Documentation is sparse and integration options are limited.<p>What we actually need:\n- Real-time eval monitoring (not just batch)\n- Custom eval functions that don't require PhD-level setup\n- Human-in-the-loop workflows for subjective <em>tasks</em>\n- <em>Cost</em> tracking <em>per</em> model/prompt\n- Integration with our existing observability stack\n- Something our product team can actually use<p>Current solution:<p>Custom scripts + monitoring dashboards for basic metrics. Weekly manual reviews in spreadsheets. It works but doesn't scale and we miss edge cases.<p>Has anyone found tools that handle production <em>LLM</em> evaluation well? Are we expecting too much or is the tooling genuinely immature? Especially interested in hearing from teams without dedicated ML engineers."},"title":{"matchLevel":"none","matchedWords":[],"value":"Ask HN: What tools are you using for AI evals? Everything feels half-baked"}},"_tags":["story","author_fazlerocks","story_44194187","ask_hn"],"author":"fazlerocks","children":[44194536,44194659,44194728,44200047,44246104],"created_at":"2025-06-05T18:11:53Z","created_at_i":1749147113,"num_comments":3,"objectID":"44194187","points":6,"story_id":44194187,"story_text":"We&#x27;re running LLMs in production for content generation, customer support, and code review assistance. Been trying to build a proper evaluation pipeline for months but every tool we&#x27;ve tested has significant limitations.<p>What we&#x27;ve evaluated:<p>- OpenAI&#x27;s Evals framework: Works well for benchmarking but challenging for custom use cases. Configuration through YAML files can be complex and extending functionality requires diving deep into their codebase. Primarily designed for batch processing rather than real-time monitoring.<p>- LangSmith: Strong tracing capabilities but eval features feel secondary to their observability focus. Pricing starts at $0.50 per 1k traces after the free tier, which adds up quickly with high volume. UI can be slow with larger datasets.<p>- Weights &amp; Biases: Powerful platform but designed primarily for traditional ML experiment tracking. Setup is complex and requires significant ML expertise. Our product team struggles to use it effectively.<p>- Humanloop: Clean interface focused on prompt versioning with basic evaluation capabilities. Limited eval types available and pricing is steep for the feature set.<p>- Braintrust: Interesting approach to evaluation but feels like an early-stage product. Documentation is sparse and integration options are limited.<p>What we actually need:\n- Real-time eval monitoring (not just batch)\n- Custom eval functions that don&#x27;t require PhD-level setup\n- Human-in-the-loop workflows for subjective tasks\n- Cost tracking per model&#x2F;prompt\n- Integration with our existing observability stack\n- Something our product team can actually use<p>Current solution:<p>Custom scripts + monitoring dashboards for basic metrics. Weekly manual reviews in spreadsheets. It works but doesn&#x27;t scale and we miss edge cases.<p>Has anyone found tools that handle production LLM evaluation well? Are we expecting too much or is the tooling genuinely immature? Especially interested in hearing from teams without dedicated ML engineers.","title":"Ask HN: What tools are you using for AI evals? Everything feels half-baked","updated_at":"2025-10-08T20:39:40Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"jmaker"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"I\u2019m really happy to hear that. I wish Haskell were more widely adopted and more generally accepted as a solid enterprise choice without the bus factor. I can confirm that the applicants are usually great in every respect. I tried to introduce Haskell in multiple enterprises but failed at engineering managers\u2019 reluctance to admit Haskell as an option - every time because of the bus factor argument. Scala used to be easy to advocate for as an alternative. To me, with <em>LLMs</em> there\u2019s really no need to care about the choice of the runtime language unless there are SLOs to meet or library choices due to domain peculiarities.<p>As for token-wise inefficiency, this is based on my sporadic observations and discussions with friends and colleagues from the past three years. I can\u2019t give you a fresh <em>benchmark</em> with latest models in a reproducible way. But I\u2019m happily willing to accept your assertion at face value. This makes me curious to see for myself how the latest models perform, will perhaps set up a quick evals just out of curiosity.<p>From my past experience, the latest I\u2019ve seen were Opus-4.6 and GPT-5.5 struggle a lot with standard GHC Haskell, no extensions, nothing fancy. Not that they produced impeccable Python or Rust. But it appeared to take several turns for obvious expressions, while at Java and TypeScript they were much better - fewer turns, time, and <em>cost</em> for the same verified results. I had assumed that the training set wasn\u2019t large and diverse enough for Haskell and Scala, and this was the go-to explanation with everyone I talked about it. Generated F# code was good enough but not OCaml. With C++ there\u2019s still quite some struggle, expectedly.<p>To me it resorted to the question, if we\u2019re mostly generating code through <em>LLMs</em> now, which ones and what will it <em>cost</em> in total terms <em>per</em> <em>task</em>/capability completed. I\u2019m wondering now if DeepSeek/MiMo or GPT-6 Luna can benefit from the terser, more (forgive the pun) load-bearing expressions."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Writing Parquet files using Haskell"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.datahaskell.org/blog/2026/09/18/writing-parquet-files-using-haskell.html"}},"_tags":["comment","author_jmaker","story_49802510"],"author":"jmaker","children":[49844024,49858813],"comment_text":"I\u2019m really happy to hear that. I wish Haskell were more widely adopted and more generally accepted as a solid enterprise choice without the bus factor. I can confirm that the applicants are usually great in every respect. I tried to introduce Haskell in multiple enterprises but failed at engineering managers\u2019 reluctance to admit Haskell as an option - every time because of the bus factor argument. Scala used to be easy to advocate for as an alternative. To me, with LLMs there\u2019s really no need to care about the choice of the runtime language unless there are SLOs to meet or library choices due to domain peculiarities.<p>As for token-wise inefficiency, this is based on my sporadic observations and discussions with friends and colleagues from the past three years. I can\u2019t give you a fresh benchmark with latest models in a reproducible way. But I\u2019m happily willing to accept your assertion at face value. This makes me curious to see for myself how the latest models perform, will perhaps set up a quick evals just out of curiosity.<p>From my past experience, the latest I\u2019ve seen were Opus-4.6 and GPT-5.5 struggle a lot with standard GHC Haskell, no extensions, nothing fancy. Not that they produced impeccable Python or Rust. But it appeared to take several turns for obvious expressions, while at Java and TypeScript they were much better - fewer turns, time, and cost for the same verified results. I had assumed that the training set wasn\u2019t large and diverse enough for Haskell and Scala, and this was the go-to explanation with everyone I talked about it. Generated F# code was good enough but not OCaml. With C++ there\u2019s still quite some struggle, expectedly.<p>To me it resorted to the question, if we\u2019re mostly generating code through LLMs now, which ones and what will it cost in total terms per task&#x2F;capability completed. I\u2019m wondering now if DeepSeek&#x2F;MiMo or GPT-6 Luna can benefit from the terser, more (forgive the pun) load-bearing expressions.","created_at":"2026-09-25T09:40:05Z","created_at_i":1790329205,"objectID":"49842185","parent_id":49842014,"story_id":49802510,"story_title":"Writing Parquet files using Haskell","story_url":"https://www.datahaskell.org/blog/2026/09/18/writing-parquet-files-using-haskell.html","updated_at":"2026-09-26T17:44:16Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ayushranjan99"},"story_text":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["cost","per","task","llm"],"value":"I\u2019ve been experimenting with running small LLMs directly on mobile hardware (low-range Android devices), without relying on cloud inference. This is a summary of what worked, what didn\u2019t, and why.<p>Cloud-based <em>LLM</em> APIs are convenient, but come with:<p>-latency from network round-trips\n-unpredictable API <em>costs</em>\n-privacy concerns (content leaving device)\n-the need for connectivity<p>For simple <em>tasks</em> like news summarization, small models seem \u201cgood enough,\u201d so I tested whether a ~270M parameter model gemma3-270m could run entirely on-device.<p>Model - Gemma3-270M INT8 Quantized\nRuntime - Cactus SDK (Android NPU/GPU acceleration)\nApp Framework - Flutter\nDevice - Mediatek 7300 with 8GB RAM<p>Architecture\n- User shares a URL to the app (Android share sheet).\n- App fetches article HTML \u2192 extracts readable text.\n- Local model generates a summary.\n- device TTS reads the summary.\nEverything runs offline except the initial page fetch.<p>Performace\n- ~450\u2013900ms Latency for a short summary (100\u2013200 tokens).\n- On devices without NPU acceleration, CPU-only inference takes 2\u20133\u00d7 longer.\n- Peak RAM: ~350\u2013450MB<p>Limitation\n-Quality is noticeably worse than GPT-5 for complex articles.\n-Long-form summarization (&gt;1k words) gets inconsistent.\n-Web scraping is fragile for JS-heavy or paywalled sites.\n-Some low-end phones throttle CPU/GPU aggressively.<p>| Metric  | Local (Gemma 270M)   | GPT-4o Cloud         |\n| ------- | -------------------- | -------------------- |\n| Latency | 0.5\u20131.5s             | 0.7\u20131.5s + network   |\n| <em>Cost</em>    | 0                    | API <em>cost</em> <em>per</em> request |\n| Privacy | Text stays on device | Sent over network    |\n| Quality | Medium               | High                 |<p>Github - https://github.com/ayusrjn/briefly<p>Running small LLMs on-device is viable for narrow <em>tasks</em> like summarization. For more complex reasoning <em>tasks</em>, cloud models still outperform by a large margin, but the \u201clocal-first\u201d approach seems promising for privacy-sensitive or offline-first applications.\nCactus SDK does a pretty good job for handling the model and accelarations.<p>Happy to answer Questions :)"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm","benchmark"],"value":"Running a 270M <em>LLM</em> on Android (architecture and <em>benchmarks</em>)"}},"_tags":["story","author_ayushranjan99","story_46018506","ask_hn"],"author":"ayushranjan99","created_at":"2025-11-22T21:41:56Z","created_at_i":1763847716,"num_comments":0,"objectID":"46018506","points":2,"story_id":46018506,"story_text":"I\u2019ve been experimenting with running small LLMs directly on mobile hardware (low-range Android devices), without relying on cloud inference. This is a summary of what worked, what didn\u2019t, and why.<p>Cloud-based LLM APIs are convenient, but come with:<p>-latency from network round-trips\n-unpredictable API costs\n-privacy concerns (content leaving device)\n-the need for connectivity<p>For simple tasks like news summarization, small models seem \u201cgood enough,\u201d so I tested whether a ~270M parameter model gemma3-270m could run entirely on-device.<p>Model - Gemma3-270M INT8 Quantized\nRuntime - Cactus SDK (Android NPU&#x2F;GPU acceleration)\nApp Framework - Flutter\nDevice - Mediatek 7300 with 8GB RAM<p>Architecture\n- User shares a URL to the app (Android share sheet).\n- App fetches article HTML \u2192 extracts readable text.\n- Local model generates a summary.\n- device TTS reads the summary.\nEverything runs offline except the initial page fetch.<p>Performace\n- ~450\u2013900ms Latency for a short summary (100\u2013200 tokens).\n- On devices without NPU acceleration, CPU-only inference takes 2\u20133\u00d7 longer.\n- Peak RAM: ~350\u2013450MB<p>Limitation\n-Quality is noticeably worse than GPT-5 for complex articles.\n-Long-form summarization (&gt;1k words) gets inconsistent.\n-Web scraping is fragile for JS-heavy or paywalled sites.\n-Some low-end phones throttle CPU&#x2F;GPU aggressively.<p>| Metric  | Local (Gemma 270M)   | GPT-4o Cloud         |\n| ------- | -------------------- | -------------------- |\n| Latency | 0.5\u20131.5s             | 0.7\u20131.5s + network   |\n| Cost    | 0                    | API cost per request |\n| Privacy | Text stays on device | Sent over network    |\n| Quality | Medium               | High                 |<p>Github - https:&#x2F;&#x2F;github.com&#x2F;ayusrjn&#x2F;briefly<p>Running small LLMs on-device is viable for narrow tasks like summarization. For more complex reasoning tasks, cloud models still outperform by a large margin, but the \u201clocal-first\u201d approach seems promising for privacy-sensitive or offline-first applications.\nCactus SDK does a pretty good job for handling the model and accelarations.<p>Happy to answer Questions :)","title":"Running a 270M LLM on Android (architecture and benchmarks)","updated_at":"2026-03-05T23:05:26Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"TimoKerr"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Hi HN,<p>TLDR: Cheap (and sometimes old) models perform on par, or better than flagship models on standard OCR <em>tasks</em>, at a fraction of the <em>cost</em>. \nThis conclusion comes from a <em>benchmark</em> we ran on 18 models and over 7k+ <em>LLM</em> calls. Leaderboard and <em>benchmark</em> repo completely open-source.<p>Too many teams are either stuck in legacy OCR pipelines, or are overpaying badly for <em>LLM</em> calls by defaulting to the newest/ biggest model.<p>So we investigated the topic and open-sourced everything, including a free tool to check your own documents.<p>We ran 18 models from OpenAI, Anthropic, Google, and Mistral on 42 real-world documents (invoices, receipts, bills of lading, transport orders). \nEach model ran 10 times <em>per</em> document to measure reliability, not just one-shot accuracy; 7,560 API calls total.<p>The finding: for standard document extraction, mid-tier and older models match or beat state-of-the-art, at a fraction of the <em>cost</em>. \nIn some cases the <em>cost</em> difference is multiple orders of magnitude for equivalent accuracy.<p>We also track pass^n (how reliability degrades over repeated runs, see tau-bench), <em>cost</em>-<em>per</em>-success (not just <em>cost</em>-<em>per</em>-token), \nand critical field accuracy. Full methodology and dataset are open source.<p>Leaderboard: &lt;<a href=\"https://www.arbitrhq.ai/leaderboards/\" rel=\"nofollow\">https://www.arbitrhq.ai/leaderboards/</a>&gt;<p>Dataset + framework (GitHub): &lt;<a href=\"https://github.com/ArbitrHq/ocr-mini-bench\" rel=\"nofollow\">https://github.com/ArbitrHq/ocr-mini-bench</a>&gt;<p>Or test your own documents for free: &lt;<a href=\"https://app.arbitrhq.ai/benchmark-free\" rel=\"nofollow\">https://app.arbitrhq.ai/<em>benchmark</em>-free</a>&gt;<p>Built by two founders in Antwerp. \nVery curious if other people have similar conclusions or if you've seen specific edge cases where the flagships still justify their price tag?"},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: We benchmarked 18 LLMs on OCR (7K+ calls) \u2013 cheaper models win"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://www.arbitrhq.ai/leaderboards/"}},"_tags":["comment","author_TimoKerr","story_47860393"],"author":"TimoKerr","comment_text":"Hi HN,<p>TLDR: Cheap (and sometimes old) models perform on par, or better than flagship models on standard OCR tasks, at a fraction of the cost. \nThis conclusion comes from a benchmark we ran on 18 models and over 7k+ LLM calls. Leaderboard and benchmark repo completely open-source.<p>Too many teams are either stuck in legacy OCR pipelines, or are overpaying badly for LLM calls by defaulting to the newest&#x2F; biggest model.<p>So we investigated the topic and open-sourced everything, including a free tool to check your own documents.<p>We ran 18 models from OpenAI, Anthropic, Google, and Mistral on 42 real-world documents (invoices, receipts, bills of lading, transport orders). \nEach model ran 10 times per document to measure reliability, not just one-shot accuracy; 7,560 API calls total.<p>The finding: for standard document extraction, mid-tier and older models match or beat state-of-the-art, at a fraction of the cost. \nIn some cases the cost difference is multiple orders of magnitude for equivalent accuracy.<p>We also track pass^n (how reliability degrades over repeated runs, see tau-bench), cost-per-success (not just cost-per-token), \nand critical field accuracy. Full methodology and dataset are open source.<p>Leaderboard: &lt;<a href=\"https:&#x2F;&#x2F;www.arbitrhq.ai&#x2F;leaderboards&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;www.arbitrhq.ai&#x2F;leaderboards&#x2F;</a>&gt;<p>Dataset + framework (GitHub): &lt;<a href=\"https:&#x2F;&#x2F;github.com&#x2F;ArbitrHq&#x2F;ocr-mini-bench\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;ArbitrHq&#x2F;ocr-mini-bench</a>&gt;<p>Or test your own documents for free: &lt;<a href=\"https:&#x2F;&#x2F;app.arbitrhq.ai&#x2F;benchmark-free\" rel=\"nofollow\">https:&#x2F;&#x2F;app.arbitrhq.ai&#x2F;benchmark-free</a>&gt;<p>Built by two founders in Antwerp. \nVery curious if other people have similar conclusions or if you&#x27;ve seen specific edge cases where the flagships still justify their price tag?","created_at":"2026-04-22T07:48:34Z","created_at_i":1776844114,"objectID":"47860396","parent_id":47860393,"story_id":47860393,"story_title":"Show HN: We benchmarked 18 LLMs on OCR (7K+ calls) \u2013 cheaper models win","story_url":"https://www.arbitrhq.ai/leaderboards/","updated_at":"2026-04-22T07:50:52Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"HawtAds"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Okay, here's the tl;dr:<p>Attention based neural network architectures (on which the majority of <em>LLMs</em> are built) has a unit economic <em>cost</em> that scales (roughly) n^2 i.e. quadratic (for both memory and compute). In other words, the longer the context window, the more expensive it is for the upstream provider. That's one <em>cost</em>.<p>The second <em>cost</em> is that you have to resend the entire context every time you send a new message. So the context is basically (where a, b, and c are messages): first context: a, second context window: a-&gt;b, third context window: a-&gt;b-&gt;c. It's a mostly stateless (there are some short term caching mechanisms, YMMV based on provider, it's why &quot;cached&quot; messages, especially system prompts are cheaper) process from the point of view of the developer, the state i.e. context window string is managed by the end user application (in other words, the coding agent, the IDE, the ChatGPT UI client etc.)<p>The <em>per</em> token <em>cost</em> is an <i>amortized</i> (averaged) <em>cost</em> of memory+compute, the actual <em>cost</em> is mostly quadratic with respect to each marginal token. The longer the context window the more expensive things are. \nBecause of the above, AI agent providers (especially those that charge flat fee subscription plans) are incentivized to keep costs low by limiting the maximum context window size.<p>(And if you think about it carefully, your AI API costs are a quadratic <em>cost</em> curve projected into a linear line (flat fee <em>per</em> token, so the model hosting provider in some cases may make more profit if users send in shorter contexts, versus if they constantly saturate the window. YMMV of course, but it's a race to the bottom right now for <em>LLM</em> unit economics)<p>They do this by interrupting a <em>task</em> halfway through and generating a &quot;summary&quot; of the <em>task</em> progress, then they prompt the <em>LLM</em> again with a fresh prompt and the &quot;summary&quot; so far and the <em>LLM</em> will restart the <em>task</em> from where it left of. Of course text is a poor representation of the <em>LLM</em>'s internal state but it's the best option so far for AI application to keep costs low.<p>Another thing to keep in mind is that <em>LLMs</em> have poorer performance the larger the input size. This is due to a variety of factors (mostly because you don't have enough training data to saturate the massive context window sizes I think).<p>The general graph for <em>LLM</em> context performance looks something like this:\n<a href=\"https://cobusgreyling.medium.com/llm-context-rot-28a6d0399655\" rel=\"nofollow\">https://cobusgreyling.medium.com/<em>llm</em>-context-rot-28a6d039965...</a>\n<a href=\"https://research.trychroma.com/context-rot\" rel=\"nofollow\">https://research.trychroma.com/context-rot</a><p>There are a bunch of tests and <em>benchmarks</em> (commonly referred to as &quot;needle in a haystack&quot;) to improve the <em>LLM</em> performance at large context window sizes, but it's still an open area of research.<p><a href=\"https://cloud.google.com/blog/products/ai-machine-learning/the-needle-in-the-haystack-test-and-how-gemini-pro-solves-it\" rel=\"nofollow\">https://cloud.google.com/blog/products/ai-machine-learning/t...</a><p>The thing is, <i>generally speaking</i>, you will get a slightly better performance if you can squeeze all your code and problem into the context window, because the <em>LLM</em> can get a &quot;whole picture&quot; view of your codebase/problem, instead of a bunch of broken telephone summaries every dozen of thousands of tokens. Take this with a grain of salt as the field is changing rapidly so it might not be valid in a month or two.<p>Keep in mind that if the problem you are solving requires you to saturate the entire context window of the <em>LLM</em>, a <i>single</i> request can <em>cost</em> you dollars. And if you are using 1M+ context window model like gemini, you can rack up costs fairly rapidly."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Opus 4.5 is not the normal AI agent experience that I have had thus far"},"story_url":{"matchLevel":"none","matchedWords":[],"value":"https://burkeholland.github.io/posts/opus-4-5-change-everything/"}},"_tags":["comment","author_HawtAds","story_46515696"],"author":"HawtAds","children":[46553225],"comment_text":"Okay, here&#x27;s the tl;dr:<p>Attention based neural network architectures (on which the majority of LLMs are built) has a unit economic cost that scales (roughly) n^2 i.e. quadratic (for both memory and compute). In other words, the longer the context window, the more expensive it is for the upstream provider. That&#x27;s one cost.<p>The second cost is that you have to resend the entire context every time you send a new message. So the context is basically (where a, b, and c are messages): first context: a, second context window: a-&gt;b, third context window: a-&gt;b-&gt;c. It&#x27;s a mostly stateless (there are some short term caching mechanisms, YMMV based on provider, it&#x27;s why &quot;cached&quot; messages, especially system prompts are cheaper) process from the point of view of the developer, the state i.e. context window string is managed by the end user application (in other words, the coding agent, the IDE, the ChatGPT UI client etc.)<p>The per token cost is an <i>amortized</i> (averaged) cost of memory+compute, the actual cost is mostly quadratic with respect to each marginal token. The longer the context window the more expensive things are. \nBecause of the above, AI agent providers (especially those that charge flat fee subscription plans) are incentivized to keep costs low by limiting the maximum context window size.<p>(And if you think about it carefully, your AI API costs are a quadratic cost curve projected into a linear line (flat fee per token, so the model hosting provider in some cases may make more profit if users send in shorter contexts, versus if they constantly saturate the window. YMMV of course, but it&#x27;s a race to the bottom right now for LLM unit economics)<p>They do this by interrupting a task halfway through and generating a &quot;summary&quot; of the task progress, then they prompt the LLM again with a fresh prompt and the &quot;summary&quot; so far and the LLM will restart the task from where it left of. Of course text is a poor representation of the LLM&#x27;s internal state but it&#x27;s the best option so far for AI application to keep costs low.<p>Another thing to keep in mind is that LLMs have poorer performance the larger the input size. This is due to a variety of factors (mostly because you don&#x27;t have enough training data to saturate the massive context window sizes I think).<p>The general graph for LLM context performance looks something like this:\n<a href=\"https:&#x2F;&#x2F;cobusgreyling.medium.com&#x2F;llm-context-rot-28a6d0399655\" rel=\"nofollow\">https:&#x2F;&#x2F;cobusgreyling.medium.com&#x2F;llm-context-rot-28a6d039965...</a>\n<a href=\"https:&#x2F;&#x2F;research.trychroma.com&#x2F;context-rot\" rel=\"nofollow\">https:&#x2F;&#x2F;research.trychroma.com&#x2F;context-rot</a><p>There are a bunch of tests and benchmarks (commonly referred to as &quot;needle in a haystack&quot;) to improve the LLM performance at large context window sizes, but it&#x27;s still an open area of research.<p><a href=\"https:&#x2F;&#x2F;cloud.google.com&#x2F;blog&#x2F;products&#x2F;ai-machine-learning&#x2F;the-needle-in-the-haystack-test-and-how-gemini-pro-solves-it\" rel=\"nofollow\">https:&#x2F;&#x2F;cloud.google.com&#x2F;blog&#x2F;products&#x2F;ai-machine-learning&#x2F;t...</a><p>The thing is, <i>generally speaking</i>, you will get a slightly better performance if you can squeeze all your code and problem into the context window, because the LLM can get a &quot;whole picture&quot; view of your codebase&#x2F;problem, instead of a bunch of broken telephone summaries every dozen of thousands of tokens. Take this with a grain of salt as the field is changing rapidly so it might not be valid in a month or two.<p>Keep in mind that if the problem you are solving requires you to saturate the entire context window of the LLM, a <i>single</i> request can cost you dollars. And if you are using 1M+ context window model like gemini, you can rack up costs fairly rapidly.","created_at":"2026-01-08T19:30:46Z","created_at_i":1767900646,"objectID":"46545344","parent_id":46543380,"story_id":46515696,"story_title":"Opus 4.5 is not the normal AI agent experience that I have had thus far","story_url":"https://burkeholland.github.io/posts/opus-4-5-change-everything/","updated_at":"2026-07-31T17:58:05Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"florianstandhar"},"story_text":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["cost","per","task","llm"],"value":"Hi HN! I built JevBench because Jev kicks ass, and the world deserves to know how the serious open source and fake lookalike projects <i>really</i> perform in comparison.<p>Jev-class models return bounded choices and probabilities instead of text, and are disruptively faster and cheaper than <em>LLMs</em>, while being similarly intelligent on the text input they operate on.<p>JevBench allows looking at accuracy, latency and price all at once, in a weighted way - you can even configure the weighting.<p>A full run asks 534 English decisions. The v1.3 score combines chance-corrected Intelligence, Calibration, Speed and <em>Cost</em>.<p>Leaderboard right now:<p><pre><code>  #1 - Jev            74.4\n  #2 - SemIf          73.1\n  #3 - djev           73.0\n  #4 - Winnow-12B Q8  71.2\n  #5 reflex 4B        70.3.\n</code></pre>\nMIT harness, public items, frozen artifacts, scoring code and public <em>per</em>-<em>task</em> outcomes:<p><a href=\"https://github.com/fstandhartinger/jevbench\" rel=\"nofollow\">https://github.com/fstandhartinger/jevbench</a><p>Two no-signup demos:<p><a href=\"https://who-is-right.app.mintapis.com\" rel=\"nofollow\">https://who-is-right.app.mintapis.com</a><p><a href=\"https://is-it-ai-slop.app.mintapis.com\" rel=\"nofollow\">https://is-it-ai-slop.app.mintapis.com</a><p>Limitations: English-only; latency from one German server; local/demo latency gets a disclosed \u00d72 adjustment (+150 ms on my servers) which is an informed assumption; held-out prompts still reach evaluated services; ~1-point gaps can be noise.<p>Wdyt?"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["benchmark"],"value":"Show HN: JevBench, a reproducible <em>benchmark</em> for typed decision models"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://benchmarkheaven.com/jev-models"}},"_tags":["story","author_florianstandhar","story_49800574","show_hn"],"author":"florianstandhar","children":[49800575,49807791,49808495,49808592,49809071,49809676,49809896,49810168,49810509,49810808,49811050,49811269,49811399,49812306,49812398,49812631,49813649,49816723,49821653,49823304,49841547,49878842],"created_at":"2026-09-22T13:01:03Z","created_at_i":1790082063,"num_comments":39,"objectID":"49800574","points":154,"story_id":49800574,"story_text":"Hi HN! I built JevBench because Jev kicks ass, and the world deserves to know how the serious open source and fake lookalike projects <i>really</i> perform in comparison.<p>Jev-class models return bounded choices and probabilities instead of text, and are disruptively faster and cheaper than LLMs, while being similarly intelligent on the text input they operate on.<p>JevBench allows looking at accuracy, latency and price all at once, in a weighted way - you can even configure the weighting.<p>A full run asks 534 English decisions. The v1.3 score combines chance-corrected Intelligence, Calibration, Speed and Cost.<p>Leaderboard right now:<p><pre><code>  #1 - Jev            74.4\n  #2 - SemIf          73.1\n  #3 - djev           73.0\n  #4 - Winnow-12B Q8  71.2\n  #5 reflex 4B        70.3.\n</code></pre>\nMIT harness, public items, frozen artifacts, scoring code and public per-task outcomes:<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;fstandhartinger&#x2F;jevbench\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;fstandhartinger&#x2F;jevbench</a><p>Two no-signup demos:<p><a href=\"https:&#x2F;&#x2F;who-is-right.app.mintapis.com\" rel=\"nofollow\">https:&#x2F;&#x2F;who-is-right.app.mintapis.com</a><p><a href=\"https:&#x2F;&#x2F;is-it-ai-slop.app.mintapis.com\" rel=\"nofollow\">https:&#x2F;&#x2F;is-it-ai-slop.app.mintapis.com</a><p>Limitations: English-only; latency from one German server; local&#x2F;demo latency gets a disclosed \u00d72 adjustment (+150 ms on my servers) which is an informed assumption; held-out prompts still reach evaluated services; ~1-point gaps can be noise.<p>Wdyt?","title":"Show HN: JevBench, a reproducible benchmark for typed decision models","updated_at":"2026-11-26T20:09:51Z","url":"https://benchmarkheaven.com/jev-models"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"stanleycyang"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Hey HN,<p>I built yardstiq because I got tired of the copy-paste workflow for comparing <em>LLM</em> responses when developing apps. Every time I wanted to see how Claude vs GPT vs Gemini handled the same prompt, I'd open three tabs, paste the same thing, and try to eyeball the differences. It's 2026 and we have 40+ models worth considering \u2014 that doesn't scale.<p>yardstiq is a CLI tool that sends one prompt to multiple models simultaneously and streams the responses side-by-side in your terminal. It also tracks performance metrics (time to first token, tokens/sec, <em>cost</em>) and optionally runs an AI judge to score the outputs.<p>```\nnpx yardstiq &quot;Explain quicksort in 3 sentences&quot; -m claude-sonnet -m gpt-4o\n```<p>What it does:<p>- Streams responses from multiple models in parallel, rendered in columns\n- Shows TTFT, throughput (tok/s), token counts, and <em>cost</em> <em>per</em> request\n- AI judge mode: have a model evaluate and score the responses\n- Export to JSON, Markdown, or self-contained HTML reports\n- Run YAML-defined <em>benchmark</em> suites across models with aggregate scoring\n- Works with Ollama for local model comparisons (zero API <em>cost</em>)\n- Supports 40+ models via direct provider keys or Vercel AI Gateway<p>I built this mostly for my own workflow \u2014 picking models for different <em>tasks</em>, testing prompt variations, and running quick benchmarks without setting up a whole evaluation framework. It's not trying to replace serious eval platforms, just make the &quot;which model is better for X?&quot; question answerable in 10 seconds.<p>MIT licensed, written in TypeScript: <a href=\"https://github.com/stanleycyang/yardstiq\" rel=\"nofollow\">https://github.com/stanleycyang/yardstiq</a><p>Happy to answer questions about the architecture or benchmarking approach."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["llm"],"value":"Show HN: Yardstiq \u2013 Compare <em>LLM</em> outputs side-by-side in your terminal"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://www.yardstiq.sh"}},"_tags":["story","author_stanleycyang","story_47235222","show_hn"],"author":"stanleycyang","children":[47236630,47246254,47265845],"created_at":"2026-03-03T16:54:46Z","created_at_i":1772556886,"num_comments":0,"objectID":"47235222","points":2,"story_id":47235222,"story_text":"Hey HN,<p>I built yardstiq because I got tired of the copy-paste workflow for comparing LLM responses when developing apps. Every time I wanted to see how Claude vs GPT vs Gemini handled the same prompt, I&#x27;d open three tabs, paste the same thing, and try to eyeball the differences. It&#x27;s 2026 and we have 40+ models worth considering \u2014 that doesn&#x27;t scale.<p>yardstiq is a CLI tool that sends one prompt to multiple models simultaneously and streams the responses side-by-side in your terminal. It also tracks performance metrics (time to first token, tokens&#x2F;sec, cost) and optionally runs an AI judge to score the outputs.<p>```\nnpx yardstiq &quot;Explain quicksort in 3 sentences&quot; -m claude-sonnet -m gpt-4o\n```<p>What it does:<p>- Streams responses from multiple models in parallel, rendered in columns\n- Shows TTFT, throughput (tok&#x2F;s), token counts, and cost per request\n- AI judge mode: have a model evaluate and score the responses\n- Export to JSON, Markdown, or self-contained HTML reports\n- Run YAML-defined benchmark suites across models with aggregate scoring\n- Works with Ollama for local model comparisons (zero API cost)\n- Supports 40+ models via direct provider keys or Vercel AI Gateway<p>I built this mostly for my own workflow \u2014 picking models for different tasks, testing prompt variations, and running quick benchmarks without setting up a whole evaluation framework. It&#x27;s not trying to replace serious eval platforms, just make the &quot;which model is better for X?&quot; question answerable in 10 seconds.<p>MIT licensed, written in TypeScript: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;stanleycyang&#x2F;yardstiq\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;stanleycyang&#x2F;yardstiq</a><p>Happy to answer questions about the architecture or benchmarking approach.","title":"Show HN: Yardstiq \u2013 Compare LLM outputs side-by-side in your terminal","updated_at":"2026-03-08T20:27:38Z","url":"https://www.yardstiq.sh"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"nicola_alessi"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"I ran a controlled <em>benchmark</em> on AI coding agents (42 runs, FastAPI, Claude Sonnet 4.6) and found something that broke my mental model of <em>LLM</em> costs.\nThe setup: I built an MCP server that pre-indexes a codebase into a dependency graph and serves pre-ranked context to the agent in a single call, instead of letting the agent explore files on its own.\nThe expected result: less input context \u2192 lower <em>cost</em>. Straightforward.\nThe actual result: total tokens processed went UP 20% (23.4M vs 19.6M) while total <em>cost</em> went DOWN 58% ($6.89 vs $16.29).\nThe explanation is in how Anthropic prices tokens. There are three pricing tiers:<p>Output tokens: most expensive (3-5x input price)\nInput tokens (cache miss): full price\nInput tokens (cache hit): 90% discount<p>The agent with pre-indexed context processes more total tokens because the structured context payload is injected every turn. But the token MIX shifts dramatically:\nOutput tokens:     10,588 \u2192 3,965  (-63%)\nCache read rate:   93.8% \u2192 95.3%\nCache creation:    6.1% \u2192 4.6%\nOutput tokens dominate the <em>cost</em> equation. When the agent receives 40K tokens of unfiltered context, it generates verbose orientation narration (&quot;let me look at this file... I can see that...&quot;). When it receives 8K tokens of graph-ranked context, it skips straight to the answer. 504 output tokens <em>per</em> <em>task</em> \u2192 189.\nThe cache effect compounds this: structured, consistent context across turns hits the cache more reliably than ad-hoc file reads that change every turn. So the additional input tokens <em>cost</em> almost nothing (90% discount) while the output token reduction saves the most expensive tokens.\nThe general principle: with tiered token pricing, optimizing for total token count is wrong. You should optimize for token mix \u2014 push volume from expensive tiers (output, cache miss) to cheap tiers (cache hit). More total tokens can <em>cost</em> less if you shift the distribution.\nThis seems obvious in retrospect but I haven't seen it discussed much. Most context engineering work focuses on reducing input tokens. The bigger lever might be reducing output tokens by improving input signal-to-noise ratio \u2014 the model writes less when it doesn't have to think out loud about what it's reading.<p>The tool is vexp (https://vexp.dev) \u2014 local-first context engine, Rust + tree-sitter + SQLite. Free tier available."},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["cost"],"value":"More tokens, less <em>cost</em>: why optimizing for token count is wrong"}},"_tags":["story","author_nicola_alessi","story_47326918","ask_hn"],"author":"nicola_alessi","children":[47326980,47327028,47328079,47344045],"created_at":"2026-03-10T18:20:13Z","created_at_i":1773166813,"num_comments":9,"objectID":"47326918","points":1,"story_id":47326918,"story_text":"I ran a controlled benchmark on AI coding agents (42 runs, FastAPI, Claude Sonnet 4.6) and found something that broke my mental model of LLM costs.\nThe setup: I built an MCP server that pre-indexes a codebase into a dependency graph and serves pre-ranked context to the agent in a single call, instead of letting the agent explore files on its own.\nThe expected result: less input context \u2192 lower cost. Straightforward.\nThe actual result: total tokens processed went UP 20% (23.4M vs 19.6M) while total cost went DOWN 58% ($6.89 vs $16.29).\nThe explanation is in how Anthropic prices tokens. There are three pricing tiers:<p>Output tokens: most expensive (3-5x input price)\nInput tokens (cache miss): full price\nInput tokens (cache hit): 90% discount<p>The agent with pre-indexed context processes more total tokens because the structured context payload is injected every turn. But the token MIX shifts dramatically:\nOutput tokens:     10,588 \u2192 3,965  (-63%)\nCache read rate:   93.8% \u2192 95.3%\nCache creation:    6.1% \u2192 4.6%\nOutput tokens dominate the cost equation. When the agent receives 40K tokens of unfiltered context, it generates verbose orientation narration (&quot;let me look at this file... I can see that...&quot;). When it receives 8K tokens of graph-ranked context, it skips straight to the answer. 504 output tokens per task \u2192 189.\nThe cache effect compounds this: structured, consistent context across turns hits the cache more reliably than ad-hoc file reads that change every turn. So the additional input tokens cost almost nothing (90% discount) while the output token reduction saves the most expensive tokens.\nThe general principle: with tiered token pricing, optimizing for total token count is wrong. You should optimize for token mix \u2014 push volume from expensive tiers (output, cache miss) to cheap tiers (cache hit). More total tokens can cost less if you shift the distribution.\nThis seems obvious in retrospect but I haven&#x27;t seen it discussed much. Most context engineering work focuses on reducing input tokens. The bigger lever might be reducing output tokens by improving input signal-to-noise ratio \u2014 the model writes less when it doesn&#x27;t have to think out loud about what it&#x27;s reading.<p>The tool is vexp (https:&#x2F;&#x2F;vexp.dev) \u2014 local-first context engine, Rust + tree-sitter + SQLite. Free tier available.","title":"More tokens, less cost: why optimizing for token count is wrong","updated_at":"2026-04-28T03:44:13Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"robinbanner"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"I got frustrated paying $60/M tokens for reasoning queries when a $0.80/M model gives comparable results for most of them. So I built Komilion \u2014 a model router that classifies each API request and routes it to a cheaper model that fits.<p>- Drop-in replacement for the OpenAI SDK (change one line: base_url)\n- Each query gets classified (regex fast path + lightweight <em>LLM</em> classifier) and matched against ~390 models\n- Three tiers (Frugal/Balanced/Premium) to control the quality-<em>cost</em> tradeoff\n- Automatic failover if a provider goes down\n- <em>Cost</em> metadata in every response<p>The routing logic is <em>benchmark</em>-driven (LMArena, Artificial Analysis), not ML-based \u2014 simpler to debug and reason about. The regex fast path handles ~60% of requests in under 5ms with zero API calls.<p>Example: a customer support bot doing 10K conversations/month went from ~$250/mo (everything pinned to Opus 4.6) to ~$40/mo with routing. Most conversations were FAQ-level questions that a smaller model handled fine.<p>Stack: Next.js, Vercel, Neon PostgreSQL, OpenRouter upstream. Hosting <em>cost</em>: ~$20/month.<p>We ran a head-to-head <em>benchmark</em>: same 15 prompts through Opus, GPT-4o, Gemini Pro, and the router. Simple <em>tasks</em> <em>cost</em> 66% less with routing. Complex <em>tasks</em> produced 2x more detailed output because the router picked specialized models <em>per</em> <em>task</em> type. Full data: <a href=\"https://dev.to/robinbanner/we-benchmarked-4-ai-api-strategies-with-real-money-the-results-changed-how-we-think-about-model-5coa\" rel=\"nofollow\">https://dev.to/robinbanner/we-benchmarked-4-ai-api-strategie...</a><p>Architecture writeup: <a href=\"https://dev.to/robinbanner/inside-komilions-architecture-how-we-route-ai-requests-across-394-models-3e5g\" rel=\"nofollow\">https://dev.to/robinbanner/inside-komilions-architecture-how...</a> \u2014 there's a free tier if you want to try it."},"title":{"matchLevel":"none","matchedWords":[],"value":"Show HN: API router that picks the cheapest model that fits each query"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://www.komilion.com/"}},"_tags":["story","author_robinbanner","story_47036011","show_hn"],"author":"robinbanner","children":[47036018,47043320],"created_at":"2026-02-16T15:11:25Z","created_at_i":1771254685,"num_comments":1,"objectID":"47036011","points":1,"story_id":47036011,"story_text":"I got frustrated paying $60&#x2F;M tokens for reasoning queries when a $0.80&#x2F;M model gives comparable results for most of them. So I built Komilion \u2014 a model router that classifies each API request and routes it to a cheaper model that fits.<p>- Drop-in replacement for the OpenAI SDK (change one line: base_url)\n- Each query gets classified (regex fast path + lightweight LLM classifier) and matched against ~390 models\n- Three tiers (Frugal&#x2F;Balanced&#x2F;Premium) to control the quality-cost tradeoff\n- Automatic failover if a provider goes down\n- Cost metadata in every response<p>The routing logic is benchmark-driven (LMArena, Artificial Analysis), not ML-based \u2014 simpler to debug and reason about. The regex fast path handles ~60% of requests in under 5ms with zero API calls.<p>Example: a customer support bot doing 10K conversations&#x2F;month went from ~$250&#x2F;mo (everything pinned to Opus 4.6) to ~$40&#x2F;mo with routing. Most conversations were FAQ-level questions that a smaller model handled fine.<p>Stack: Next.js, Vercel, Neon PostgreSQL, OpenRouter upstream. Hosting cost: ~$20&#x2F;month.<p>We ran a head-to-head benchmark: same 15 prompts through Opus, GPT-4o, Gemini Pro, and the router. Simple tasks cost 66% less with routing. Complex tasks produced 2x more detailed output because the router picked specialized models per task type. Full data: <a href=\"https:&#x2F;&#x2F;dev.to&#x2F;robinbanner&#x2F;we-benchmarked-4-ai-api-strategies-with-real-money-the-results-changed-how-we-think-about-model-5coa\" rel=\"nofollow\">https:&#x2F;&#x2F;dev.to&#x2F;robinbanner&#x2F;we-benchmarked-4-ai-api-strategie...</a><p>Architecture writeup: <a href=\"https:&#x2F;&#x2F;dev.to&#x2F;robinbanner&#x2F;inside-komilions-architecture-how-we-route-ai-requests-across-394-models-3e5g\" rel=\"nofollow\">https:&#x2F;&#x2F;dev.to&#x2F;robinbanner&#x2F;inside-komilions-architecture-how...</a> \u2014 there&#x27;s a free tier if you want to try it.","title":"Show HN: API router that picks the cheapest model that fits each query","updated_at":"2026-03-05T23:33:47Z","url":"https://www.komilion.com/"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"Ak4shik"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Hi HN, I built DroidPath (MIT, Rust + Kotlin) because wiring <em>LLM</em> agents to physical Android devices usually hits two walls: `adb uiautomator dump` takes ~2.4 seconds <em>per</em> step, and pure VLM screenshot loops burn thousands of tokens <em>per</em> <em>task</em>.<p>Instead of spawning ADB processes on every action, DroidPath pushes a single-DEX headless Kotlin daemon (`android-daemon.jar`) via `app_process` (no root, no companion APK) and keeps a persistent loopback TCP stream of incremental `UiAutomation` Shadow DOM diffs + native zero-fling input injection.<p>On the desktop side, a ~2 MB native Rust binary (`droidpath-mcp`, zero JVM) normalizes and FNV-1a hashes each screen into a local DAG (`shadow_graph.json`) and runs A* routing locally so multi-screen navigation executes in 1 <em>LLM</em> call instead of 4\u201310.<p>Live numbers measured on an unlocked Pixel 10a (`com.android.settings`, 54 interactive nodes):\n  - Shadow DOM steady-state read: 0.32 ms (41.89 ms cold connect) vs 2,423.9 ms for `adb exec-out uiautomator dump` (7,575x faster, 10.7 KB vs 29.4 KB XML)\n  - Live E2E navigation (Display, Battery, About phone): 3/3 (100%), 603 ms avg cold-start (Seed Graph hydration) / 561 ms avg warm A*\n  - Opt-in Hybrid Vision (`include_vision: true`): 452.33 ms / 38.6 KB JPEG (540x1212 q45) vs 658.1 ms / 235.3 KB raw PNG from `adb screencap -p`<p>In our 5-<em>task</em> replay <em>cost</em> model ($3/1M input tokens), warm A* routing drops estimated <em>cost</em> from $23.02 (Pure Vision) and $88.20 (Appium/XML) down to ~$0.12 <em>per</em> 1,000 tasks. The live vs. replay split and formulas are documented in `docs/<em>benchmarks</em>.md` (`node scripts/<em>benchmark</em>_agentic.mjs --mode live` to reproduce on your own device).<p>A few things I added in v2.1\u2013v2.3 after hitting real-world failure modes on hardware:\n  - Self-correcting failure telemetry: on a missed tap or path deviation, it returns PII-redacted `screen_delta`, newly appeared nodes, ranked `closest_candidates`, and `suggested_next_actions` instead of a bare error.\n  - Router resilience: `Back-to-Root` recovery when an app resumes deep in its <em>task</em> stack, bounded auto-scroll when a selector is off-screen, and `consecutiveFailures` edge decay/pruning after app updates.\n  - Seed Graph hydration: ships with a 20-screen / 19-edge zero-PII `com.android.settings` graph (with AOSP/Pixel/OneUI/HyperOS/OxygenOS aliases) that hydrates into real device hashes on first run.\n  - Privacy &amp; safety: `isPassword` fields are masked to `*<i>` on-device before hitting TCP; Luhn-valid card PANs (`&lt;CARD&gt;`) and contextual `&lt;OTP&gt;` codes are scrubbed before hashing/disk; hazardous actions (payments, deletes, resets) halt with `requires_confirmation`; `FLAG_SECURE` screens hard-block both tree inspection and vision.\n  - Agent &amp; fleet plumbing: native `install.sh`/`install.ps1` with fail-closed SHA-256 verification, standardized OpenAI/Anthropic/MCP JSON schema exports (`GET /schemas/</i>.json`), and headless Docker-Android fleet mode (`--daemon-port 0`, `ADB_SERVER_SOCKET`, `--wait-boot`).<p>Honest limitations:\n  - Apps/games rendered purely on custom OpenGL/Vulkan/Flutter/Unity canvases without accessibility semantics will expose sparse Shadow DOM trees (that is where opt-in `include_vision: true` helps).\n  - `FLAG_SECURE` and biometric prompts intentionally pause automation for physical user handoff.\n  - No root means no hardware sensor spoofing (physical shake/gyro) on real devices.<p>Repo: <a href=\"https://github.com/V0val0x/DroidPath\" rel=\"nofollow\">https://github.com/V0val0x/DroidPath</a>\n<em>Benchmarks</em>: <a href=\"https://github.com/V0val0x/DroidPath/blob/main/docs/benchmarks.md\" rel=\"nofollow\">https://github.com/V0val0x/DroidPath/blob/main/docs/benchmar...</a><p>Happy to answer questions about `app_process` / `UiAutomation` quirks across OEM skins, the Rust A* graph engine, or the <em>benchmark</em> methodology."},"story_title":{"matchLevel":"none","matchedWords":[],"value":"Bypassing ADB: 0.32ms Android UI trees and A* routing for AI agents(Rust/Kotlin)"},"story_url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["benchmark"],"value":"https://github.com/V0val0x/DroidPath/blob/main/docs/<em>benchmarks</em>.md"}},"_tags":["comment","author_Ak4shik","story_50600460"],"author":"Ak4shik","comment_text":"Hi HN, I built DroidPath (MIT, Rust + Kotlin) because wiring LLM agents to physical Android devices usually hits two walls: `adb uiautomator dump` takes ~2.4 seconds per step, and pure VLM screenshot loops burn thousands of tokens per task.<p>Instead of spawning ADB processes on every action, DroidPath pushes a single-DEX headless Kotlin daemon (`android-daemon.jar`) via `app_process` (no root, no companion APK) and keeps a persistent loopback TCP stream of incremental `UiAutomation` Shadow DOM diffs + native zero-fling input injection.<p>On the desktop side, a ~2 MB native Rust binary (`droidpath-mcp`, zero JVM) normalizes and FNV-1a hashes each screen into a local DAG (`shadow_graph.json`) and runs A* routing locally so multi-screen navigation executes in 1 LLM call instead of 4\u201310.<p>Live numbers measured on an unlocked Pixel 10a (`com.android.settings`, 54 interactive nodes):\n  - Shadow DOM steady-state read: 0.32 ms (41.89 ms cold connect) vs 2,423.9 ms for `adb exec-out uiautomator dump` (7,575x faster, 10.7 KB vs 29.4 KB XML)\n  - Live E2E navigation (Display, Battery, About phone): 3&#x2F;3 (100%), 603 ms avg cold-start (Seed Graph hydration) &#x2F; 561 ms avg warm A*\n  - Opt-in Hybrid Vision (`include_vision: true`): 452.33 ms &#x2F; 38.6 KB JPEG (540x1212 q45) vs 658.1 ms &#x2F; 235.3 KB raw PNG from `adb screencap -p`<p>In our 5-task replay cost model ($3&#x2F;1M input tokens), warm A* routing drops estimated cost from $23.02 (Pure Vision) and $88.20 (Appium&#x2F;XML) down to ~$0.12 per 1,000 tasks. The live vs. replay split and formulas are documented in `docs&#x2F;benchmarks.md` (`node scripts&#x2F;benchmark_agentic.mjs --mode live` to reproduce on your own device).<p>A few things I added in v2.1\u2013v2.3 after hitting real-world failure modes on hardware:\n  - Self-correcting failure telemetry: on a missed tap or path deviation, it returns PII-redacted `screen_delta`, newly appeared nodes, ranked `closest_candidates`, and `suggested_next_actions` instead of a bare error.\n  - Router resilience: `Back-to-Root` recovery when an app resumes deep in its task stack, bounded auto-scroll when a selector is off-screen, and `consecutiveFailures` edge decay&#x2F;pruning after app updates.\n  - Seed Graph hydration: ships with a 20-screen &#x2F; 19-edge zero-PII `com.android.settings` graph (with AOSP&#x2F;Pixel&#x2F;OneUI&#x2F;HyperOS&#x2F;OxygenOS aliases) that hydrates into real device hashes on first run.\n  - Privacy &amp; safety: `isPassword` fields are masked to `*<i>` on-device before hitting TCP; Luhn-valid card PANs (`&lt;CARD&gt;`) and contextual `&lt;OTP&gt;` codes are scrubbed before hashing&#x2F;disk; hazardous actions (payments, deletes, resets) halt with `requires_confirmation`; `FLAG_SECURE` screens hard-block both tree inspection and vision.\n  - Agent &amp; fleet plumbing: native `install.sh`&#x2F;`install.ps1` with fail-closed SHA-256 verification, standardized OpenAI&#x2F;Anthropic&#x2F;MCP JSON schema exports (`GET &#x2F;schemas&#x2F;</i>.json`), and headless Docker-Android fleet mode (`--daemon-port 0`, `ADB_SERVER_SOCKET`, `--wait-boot`).<p>Honest limitations:\n  - Apps&#x2F;games rendered purely on custom OpenGL&#x2F;Vulkan&#x2F;Flutter&#x2F;Unity canvases without accessibility semantics will expose sparse Shadow DOM trees (that is where opt-in `include_vision: true` helps).\n  - `FLAG_SECURE` and biometric prompts intentionally pause automation for physical user handoff.\n  - No root means no hardware sensor spoofing (physical shake&#x2F;gyro) on real devices.<p>Repo: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;V0val0x&#x2F;DroidPath\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;V0val0x&#x2F;DroidPath</a>\nBenchmarks: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;V0val0x&#x2F;DroidPath&#x2F;blob&#x2F;main&#x2F;docs&#x2F;benchmarks.md\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;V0val0x&#x2F;DroidPath&#x2F;blob&#x2F;main&#x2F;docs&#x2F;benchmar...</a><p>Happy to answer questions about `app_process` &#x2F; `UiAutomation` quirks across OEM skins, the Rust A* graph engine, or the benchmark methodology.","created_at":"2026-11-22T15:19:19Z","created_at_i":1795360759,"objectID":"50600461","parent_id":50600460,"story_id":50600460,"story_title":"Bypassing ADB: 0.32ms Android UI trees and A* routing for AI agents(Rust/Kotlin)","story_url":"https://github.com/V0val0x/DroidPath/blob/main/docs/benchmarks.md","updated_at":"2026-11-23T15:48:08Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"isoldex"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["cost","per","task","llm","benchmark"],"value":"Hi HN - author of Sentinel here.<p>I built Sentinel after using browser-use and Stagehand on a client\nproject and hitting two recurring issues: flaky reliability on\nmulti-step flows, and token <em>costs</em> that ate the budget on anything\nnon-trivial. I suspected the root cause was architectural - both\nlean on the <em>LLM</em> re-reading large portions of the page each step -\nand tried Chrome's Accessibility Object Model (AOM) as the\nobservation layer instead.<p>To check whether that architectural choice actually mattered, I\nbuilt a 9-<em>task</em> <em>benchmark</em> comparing Sentinel, Stagehand, and\nbrowser-use against the same Gemini 3 Flash Preview model, same\nprompts, same programmatic validators, 5 runs <em>per</em> <em>task</em>-tool combo.\nRaw <em>per</em>-run JSON is committed so you can recompute or challenge\nevery number.<p>Headline numbers:\n - Tokens: Sentinel uses 3.1x-56.9x fewer than browser-use,\n   1.4x-13.3x fewer than Stagehand.\n - Reliability: Sentinel 100% (45/45), browser-use 100% (45/45),\n   Stagehand 86.7% (39/45).\n - Speed: Sentinel is fastest on 5 of 9 tasks.\n - The harder the <em>task</em>, the bigger the token gap.<p>Caveats up front:\n - I built Sentinel - treat this as a starting point for your own\n   verification, not an impartial survey. README has a full\n   known-limitations section.\n - Single model (Gemini 3 Flash Preview, which is also Stagehand's\n   documented recommendation).\n - 9 tasks is small; raw JSON is there if you want to add tasks\n   or rerun on a different model.\n - Each framework is used with its idiomatic API (Sentinel/Stagehand:\n   discrete act()/extract(); browser-use: agent-loop prompt).\n   Forcing them into the same call pattern would disadvantage\n   whichever is optimized for the other.<p>Sentinel is already in production with paying clients (all\nself-hosted), which covers development <em>costs</em>.\nA managed offering is on the table\nif there's real demand: you'd pay infra + model usage at <em>cost</em>, no\nmargin. Drop a comment if that would unblock you, otherwise I'd\nrather not maintain hosting nobody needs."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["benchmark"],"value":"Show HN: Sentinel \u2013 browser agent using 3x+ fewer tokens (open <em>benchmark</em>)"},"story_url":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["benchmark"],"value":"https://github.com/ArasHuseyin/browser-agent-<em>benchmark</em>"}},"_tags":["comment","author_isoldex","story_48196521"],"author":"isoldex","comment_text":"Hi HN - author of Sentinel here.<p>I built Sentinel after using browser-use and Stagehand on a client\nproject and hitting two recurring issues: flaky reliability on\nmulti-step flows, and token costs that ate the budget on anything\nnon-trivial. I suspected the root cause was architectural - both\nlean on the LLM re-reading large portions of the page each step -\nand tried Chrome&#x27;s Accessibility Object Model (AOM) as the\nobservation layer instead.<p>To check whether that architectural choice actually mattered, I\nbuilt a 9-task benchmark comparing Sentinel, Stagehand, and\nbrowser-use against the same Gemini 3 Flash Preview model, same\nprompts, same programmatic validators, 5 runs per task-tool combo.\nRaw per-run JSON is committed so you can recompute or challenge\nevery number.<p>Headline numbers:\n - Tokens: Sentinel uses 3.1x-56.9x fewer than browser-use,\n   1.4x-13.3x fewer than Stagehand.\n - Reliability: Sentinel 100% (45&#x2F;45), browser-use 100% (45&#x2F;45),\n   Stagehand 86.7% (39&#x2F;45).\n - Speed: Sentinel is fastest on 5 of 9 tasks.\n - The harder the task, the bigger the token gap.<p>Caveats up front:\n - I built Sentinel - treat this as a starting point for your own\n   verification, not an impartial survey. README has a full\n   known-limitations section.\n - Single model (Gemini 3 Flash Preview, which is also Stagehand&#x27;s\n   documented recommendation).\n - 9 tasks is small; raw JSON is there if you want to add tasks\n   or rerun on a different model.\n - Each framework is used with its idiomatic API (Sentinel&#x2F;Stagehand:\n   discrete act()&#x2F;extract(); browser-use: agent-loop prompt).\n   Forcing them into the same call pattern would disadvantage\n   whichever is optimized for the other.<p>Sentinel is already in production with paying clients (all\nself-hosted), which covers development costs.\nA managed offering is on the table\nif there&#x27;s real demand: you&#x27;d pay infra + model usage at cost, no\nmargin. Drop a comment if that would unblock you, otherwise I&#x27;d\nrather not maintain hosting nobody needs.","created_at":"2026-05-19T17:40:52Z","created_at_i":1779212452,"objectID":"48196527","parent_id":48196521,"story_id":48196521,"story_title":"Show HN: Sentinel \u2013 browser agent using 3x+ fewer tokens (open benchmark)","story_url":"https://github.com/ArasHuseyin/browser-agent-benchmark","updated_at":"2026-05-19T17:44:18Z"}],"hitsPerPage":20,"nbHits":43,"nbPages":3,"page":0,"params":"query=cost+per+task+LLM+benchmark&advancedSyntax=true&analyticsTags=backend","processingTimeMS":33,"processingTimingsMS":{"_request":{"roundTrip":15},"afterFetch":{"format":{"highlighting":4,"total":5},"merge":{"mergeLoop":{"prepareNextHit":1,"total":2},"total":2},"total":2},"fetch":{"query":15,"scanning":14,"total":30},"total":33},"query":"cost per task LLM benchmark","serverTimeMS":39}
