FeaturesPricingTopicsBlogGuides
← All topics

Large language models

154 articles from DEV Community, Medium, Towards Data Science and more. Refreshed every few hours.

Medium

The AI Support Bot Trap: When Your Chatbot Makes Promises Your Backend Can’t Keep

An LLM that talks to customers is a feature. An LLM that can commit your company to things is a liability — and most startups ship the… Continue reading on Medium »

Large language modelsStartupsAI
27 Nov 2026
Towards Data Science

Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.

Benchmarks with Qwen3 and Llama on llama.cpp show a draft model sped up code, JSON, and tool calls up to 1.7x, while uncached agent loops ran 6% slower. The post Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache. appeared first on Towards Data Science.

Large language modelsAI
27 Nov 2026
DEV Community

MCP vs Native CLIs: Why Loading 91 Tools Burns 42x More Tokens

Model Context Protocol (MCP) servers make tool integrations look effortless, but they carry a silent token tax: every connected MCP server serializes its entire catalog of tool schemas into every turn—even when you only need one command or none at all. As developer Albert Olgaard highlighted, asking the exact same GitHub question with Claude Sonnet 5.5 consumed 1,421 tokens using the native gh CLI compared to 59,417 tokens with the GitHub MCP server enabled. That is 42x more tokens on a single t

Large language modelsProgrammingAI
27 Nov 2026
DEV Community

Why Commercial LLM APIs False-Refuse Security & Agent Workflows (and How Weight Abliteration Fixes It)

If you've built an automated security triage pipeline, a red-team assistant, or an agent running inside Claude Code / Cline, you've probably hit the most frustrating failure mode in LLM engineering: Mid-way through a multi-step agent loop—after burning 100k+ tokens of context—the model suddenly stops and replies: > *"I'm sorry, I can't assist with analyzing shellcode or planning attack simulations

Large language modelsProgrammingAI
26 Nov 2026
Medium

How to Route Claude Code Through an LLM Router (Without Breaking Subagents)

Set ANTHROPIC_BASE_URL, map every custom model line — including subagents — and stop “model not found” failures Continue reading on Medium »

Large language modelsProgrammingSoftware engineering
26 Nov 2026
DEV Community

10 Common Ways AI Agents Fail and How to Reduce Each One

TL;DR for devs Agents fail at many points: misreading requests, choosing the wrong tool and producing invalid arguments. Validate every tool argument and pass the actual tool result back so the model does not invent outcomes. Represent success, no result and failure as separate states, and set step limits to prevent loops. Separate read tools from action tools, and treat retrieved content as data, not authority. Make the final answer reflect the true status; never say "Done" when the call failed

Large language modelsProgrammingAI
26 Nov 2026
Medium

ChatGPT Is Everywhere — Except in Video Games

Three years into the LLM revolution, why are NPCs still stuck in 2010? Continue reading on Medium »

Large language modelsGamingAI
26 Nov 2026
DEV Community

Markdown is 3% of a long LLM answer and 22% of a short one

Ask a chat model a simple question through the API and you often get back a small document: a heading, a bold "Short answer", a numbered list, a tip in a quote block. If your app renders markdown, that looks nice. If it shows the reply as plain text, or reads it aloud, or stores it in a database, the user sees stray ** and ###, and you paid for every one of them. I wanted to know how much of the bill that formatting actually is. The answer depends almost entirely on one thing: how short the answ

Large language modelsProgrammingAI
26 Nov 2026
Medium

Your Coding Agent Isn’t the Problem. The System Around It Is

Most “model failures” start somewhere else in the system. Here’s a practical way to find them. Continue reading on Medium »

Large language modelsProgrammingAI
26 Nov 2026
DEV Community

I Mined 515 of My Own Commits for LLM Eval Tasks. 59 Reproduced and 25 Got In.

Originally published on hexisteme notes. On November 17 at 04:30, launchd started a job on my Mac that I had set up the day before. It finished at 06:25. In that window it processed 515 commits from my own repositories, found 59 that reproduced as fail-to-pass tasks, and accepted 25 of them as candidates for the task bank I use to evaluate local LLMs. Later that morning I decided to pin a new version and had my main Claude session run the regrade and the freeze, and the bank went from 111 tasks

Large language modelsProgrammingAI
26 Nov 2026
DEV Community

llms.txt in 2026: What It Is, an Example and What It Does

Originally published on pzhydkykh.com. llms.txt is the file founders ask me about most since AI search took off. Some agencies sell it as a ranking trick; Google now says its search ignores the file. I add one to every site I build, this one included, so here is what the file is, an example, and what the data says it does and does not do. llms.txt is a Markdown file at /llms.txt that summarises a site for AI agents and links to its key pages. Google Search ignores llms.txt: the file neither help

Large language modelsProgrammingAI
26 Nov 2026
Medium

Claude Code Tool Output Too Large? 8 Fixes I Tested

What Claude Code 2.1.332 actually does with a 380KB log, a huge MCP result and a failing build, plus the settings, hooks and habits that… Continue reading on Medium »

Large language modelsProgrammingAI agents
25 Nov 2026
DEV Community

Updating a chat summary after every reply made my 4-turn chats 84% more expensive

You've built a chatbot, and you've learned that chat APIs have no memory: every turn you send the system prompt and the whole conversation again, so long chats get expensive fast. The usual fix is a running summary. Instead of the full history, you send a short summary of what was said so far. The obvious way to build it is to update the summary after every reply. It's simple and the summary is always fresh. On short chats it's also the most expensive option, because the summary is text the mode

Large language modelsProgrammingAI
25 Nov 2026
DEV Community

Choosing an LLM framework: why we left BAML for LangChain, and two defaults that silently dropped our output

Picking an LLM framework usually starts with "which one has the nicest API". We learned to start with a different question: what does your request actually need to do between the user's click and the answer? This post covers how that question moved us from BAML to LangChain and LangGraph, how we chose, and two framework defaults that silently dropped output once we'd switched. I'm the founder of CV by JD. You upload your resume, paste a job description, and chat with an assistant that rewrites t

Large language modelsProgrammingAI
25 Nov 2026
Towards Data Science

A Second LLM Judge Hit 87.5% Precision but Left 21 of 33 for Humans

Using Han and Kim's Chatbot Arena data, GPT-6 Luna and Claude Haiku 4.5 were tested as a panel, and Haiku alone matched users on 22 of 23 clear matchups. The post A Second LLM Judge Hit 87.5% Precision but Left 21 of 33 for Humans appeared first on Towards Data Science.

Large language modelsAI
25 Nov 2026
Medium

Why AI Agents Fail in Production: Architecture, Reliability, and Cost Optimization

Prototypes show that a model can do a task. Production tests whether the system around the model can do it repeatedly, safely, and… Continue reading on Medium »

Large language modelsAIAI agents
25 Nov 2026
DEV Community

The Idle-Session Tax — Your AI Forgets Everything, Then Charges You to Relearn It

You finish a long coding session at 6 pm. The context is rich: your codebase structure, the plan, the decisions you made, the three dead ends you already ruled out. You close the laptop, have dinner, and come back at 9 pm to finish the last piece. You type one short message. The model answers — but it feels slightly off. It re-reads files it already read. It asks about things you settled hours ago. And somewhere in the background, your token meter just paid to rebuild a context you already paid

Large language modelsProgrammingAI
25 Nov 2026
DEV Community

I Tried to Fit a Trillion-Parameter Model in a Gigabyte. The Measurements Said No.

Modern AI models are files. Very large files. Moonshot's Kimi K3.1 Pro — the model that started this question for me — ships as 96 weight files totalling about 1.56 terabytes. A few weeks ago I asked a simple question: the file is just an encoding of what the model knows. How small can the knowledge itself be? Could it fit in a gigabyte? I did not want to publish an opinion. I wanted measurements. So I ran them, on hardware I actually have — a laptop and a small cloud machine — and wrote the res

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

How to Run ERNIE 5.5 Flash Preview Locally (The Minimum Is a 288 GB GPU)

Baidu put the ERNIE 5.5 Flash Preview chat weights on Hugging Face under Apache 2.0, which is a looser license than the Base model it was trained from. The catch is size. According to Baidu's own vLLM plugin, the smallest setup that holds the weights is one 288 GB Blackwell GPU, and that's for the model called "Flash". So can you run ERNIE 5.5 Flash Preview locally? Below are the VRAM numbers, why there's no GGUF for llama.cpp or Ollama yet, what the license actually allows, how far I'd trust th

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

Terence Tao's warning about viral AI math, and what the Riemann Hypothesis release record shows

In early September 2026, Terence Tao wrote that a famous open problem solved out of public view would add almost no value to mathematics. On November 20, a Lean-only proof claim of the Generalized Riemann Hypothesis arrived, together with two other AI-heavy results. By November 24, the Lean side had mostly finished checking. Whether Tao thinks this is what he warned about is a different question. This post sets out what he wrote, what the record shows, and what I could not find. Everything below

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

One long prompt froze my streamed answers for a second: vLLM chunked prefill, measured

Two readers of my last post raised the same question: what happens on vLLM when long prompts arrive while other answers are already streaming? I rented an RTX 5090 and measured it. Short version: with vLLM's default settings, one 12,000-token prompt barely touched the answers already streaming. With one flag changed, the short answers streaming at that moment froze for about a second each time a long prompt came in. The cost per token was the same both ways. RTX 5090 32 GB on vast.ai, $0.522/hou

Large language modelsProgramming
24 Nov 2026
Medium

Searching by Meaning

How a knowledge base finds the right pieces by meaning, where that search goes wrong, and why it decides the quality of every RAG answer Continue reading on Medium »

Large language modelsTechnologyMachine learning
24 Nov 2026
DEV Community

Text copied out of a PDF cost me 31% more tokens than the same text cleaned up

You build a tool that answers questions about documents. Users upload contracts, manuals and papers, almost all of them PDFs. You extract the text, put it in the prompt, and it works. The answers are fine, so you never look closely at the text you send. You should, because text that comes out of a PDF is not the text the author wrote. It's what a page layout leaves behind, and the model bills you for every piece of that layout. A token is a chunk of text the model reads; APIs bill per million of

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

How running out of API credits taught us to put every LLM call behind one gateway

This is a story about a failure that never showed up as an error. Our LLM credits ran out at one provider, nothing crashed, and users got stuck in a loop we didn't know about. Fixing it led us to route every model call through a single gateway, OpenRouter. Soon after that move we found a second silent failure: prompt caching wasn't working at all. If you call more than one LLM provider in production, or you rely on prompt caching to keep costs down, I hope this saves you from both mistakes. I'm

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

Three large models, one 8-GPU pool: inside GPUWorks time-sharing

It's 10 p.m. at a financial institution. Daytime online queries have slowed, and a nightly batch job still has to classify documents and extract fields before the next business day starts. The two workloads peak at completely different times, but the batch model can't touch the GPUs: the online model's weights are still resident across the whole eight-GPU pool. This is the usual shape of the problem. Business teams see a GPU shortage. Procurement sees hardware that is only fully used during cert

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

Where AI Code Generation Actually Broke Through | AI代码生成能力拐点探究

Q: AI生成代码技术突破级的技术点在哪里?强化学习?上下文理解?而AaC在这里起到多大的作用了? Answer 先把一个关键词摊开:AaC 在中文 AI 编程讨论里其实有两个指向,不厘清会聊岔—— Agentic Coding(智能体编程):AI 从"补全工具"变成"目标驱动、自己规划—执行—测试—修复"的闭环执行者 Architecture as Code(架构即代码):把分层边界、依赖方向、ADR、fitness function 写成机器可读、可进 CI 的约束文件,给上面那个 Agent 套"紧箍咒" 你说"AaC 起多大作用",我猜更偏后者(前者一般直接叫 Agentic Coding)。下面按这个双关来拆,顺便回答"到底哪一层才算真突破"。 AI 写代码这两年从"能补全"跳到"能交付 PR",不是某一个技术点爆了,而是四层能力同时跨过阈值: 层级 作用 是不是"突破级" 代码预训练 + MoE 底座 语法/惯用法/API 直觉 地基,不是拐点 RLVR(可验证奖励强化学习) 从"像代码"到"跑得对" ✅ 能力拐点 长

Large language modelsProgrammingAI
24 Nov 2026
DEV Community

What Robots Forget When They Learn To Act

Fine-tuning language models on robot demonstrations can cost them the understanding they started with, which puts the quality of that data at the center. There is an odd trade buried inside most of today’s robot models. You take a model that has absorbed an enormous slice of the visible, describable world, teach it to move a gripper, and somewhere in that training it gets worse at the thing it was already good at. The field has a blunt name for this: catastrophic forgetting. A recent preprint, B

Large language modelsProgrammingAI
24 Nov 2026
Medium

Local LLMs: Running Faster on Less

From 8 GB Consumer GPUs to 748B Paged MoE Models: Practical Sizing, Tiered Memory Offloading, Real Lab Benchmarks, and Throughput Tuning Continue reading on Medium »

Large language modelsAIMachine learning
23 Nov 2026
The New Stack

Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3-trillion-parameter one

Z.ai released GLM-5.4 on Monday, introducing a Loop Transformer architecture that executes the same layers multiple times to increase computational The post Z.ai ran the same 28 layers twice — and claims its 750B model can rival a 3-trillion-parameter one appeared first on The New Stack.

Large language modelsProgramming
23 Nov 2026
freeCodeCamp

How to Standardize MLOps Reporting and Evaluation using an Open Source Python Package

Working on machine learning projects in production can be a bit challenging. If you've built models in real-world environments, you know how quickly things get complicated once you step outside the cl

Large language modelsProgrammingAI
23 Nov 2026
Towards Data Science

The Birthday Paradox Shows Small LLMs Pick From About 6 of 40 Words

Ask the same question 300 times, count the repeats, and solve for N: a few lines of Python that work on any chatbot you can type into. The post The Birthday Paradox Shows Small LLMs Pick From About 6 of 40 Words appeared first on Towards Data Science.

Large language modelsAIData science
23 Nov 2026
Towards Data Science

What a 90% Prompt Cache Hit Rate Hides About Attention Work

Request hit rate, token reuse, and latency tell different stories; a 2026 preprint found lower 99th-percentile but higher median time to first token. The post What a 90% Prompt Cache Hit Rate Hides About Attention Work appeared first on Towards Data Science.

Large language modelsAI
23 Nov 2026
Medium

8 Things Your RAG Tutorial Skipped. I Tested Each One

148 of 200 searches came back empty, and nothing threw an error. Continue reading on Generative AI »

Large language modelsAIProgramming
23 Nov 2026
Medium

Singer Inna Story: How a Songwriter Uses AI as an Orchestrator and Builds Visibility in LLMs…

A case study by singer and digital strategist Inna Udalaya on where human vocals meet AI arrangement, and how Generative Engine… Continue reading on Medium »

Large language modelsMusicAI
23 Nov 2026
DEV Community

llama.cpp TurboQuant: Is It Supported? What Works Today (2026)

Saw TurboQuant headlines and wondered if your llama.cpp build can use it? Short answer: not in mainline. This is a researched explainer built from llama.cpp's source, its GitHub PRs and discussions, and Google Research's post, not a benchmark of our own, and the sources are linked inline. TL;DR: Mainline llama.cpp does not support TurboQuant as of November 9, 2026. The CPU pull request (#21089) was closed unmerged on June 2, 2026, and the feature request (#20977) was closed as “not planned”

Large language modelsProgrammingAI
23 Nov 2026
DEV Community

LookAtMyQuant: Practical On-Device Model Compression

I spent some time with LookAtMyQuant recently — it's a quantization compiler that allocates bits to different parts of a model based on how much each one actually matters for the output. The results on Qwen3.5-4B were interesting: 1.2 GB with lower KL divergence than comparable methods at the same file size. The practical side caught my attention more than the benchmarks though. If you can consistently get a 4B model down to 1.2 GB with decent quality, that's a M1 MacBook running it in本地 without

Large language modelsProgrammingMachine learning
22 Nov 2026
Medium

Top 30 RAG vs.

Architecture, KV Caching, Performance Optimization, Cost Engineering, and Enterprise AI System Design Continue reading on Medium »

Large language modelsAIMachine learning
22 Nov 2026
DEV Community

GPT-6.2 Astra and Sol answer much shorter and score lower on transparency than Claude, per Artificial Analysis

📅 November 22, 2026 • The Decoder Per Artificial Analysis, the updated GPT-6.2 models answer much more concisely than their predecessors. The evaluation was published on LinkedIn and X on November 22 and detailed by The Decoder, and it shows how the new Astra and Sol variants changed their communication style. Astra cut its average answer length from 352 to 210 words, a 40 percent drop, while Sol went from 337 to 223 words, down 34 percent. Both models also use far fewer headings per answer, wi

Large language modelsProgrammingAI
22 Nov 2026
DEV Community

Human-in-the-Loop Design: Where AI Agents Should Ask Before They Act

TL;DR for devs Decide where review belongs based on impact, reversibility and who is affected. External communication, financial or account changes and irreversible actions usually need approval. Store the proposed action as pending and execute only after an authorized approval. Too many requests cause approval fatigue; let reviewers edit, reject or take over. Human approval does not replace ordinary security controls. Approval requests, pausing workflows, avoiding approval fatigue and knowing w

Large language modelsProgrammingAI
22 Nov 2026
DEV Community

Five Practical Defenses Against AI Hallucination in Business Workflows

AI hallucination is usually discussed as a technical curiosity. In business workflows it is something else entirely: a compliance risk. I've been writing about practical AI adoption for office teams, and the most common failure I see isn't the model being "dumb" — it's people trusting outputs that look authoritative but were never grounded in anything. The fabricated legal citation with a plausible article number. The "2024 market data" that doesn't exist. A confidence level that never drops. He

Large language modelsProgrammingAI
22 Nov 2026
Medium

My Test Scored 1.00 for a Number That Wasn’t There

Learning to test AI, Session 9 (DeepEval basics): pytest for LLMs, three metrics, and why a perfect score can mean the test checked… Continue reading on Medium »

Large language modelsAIPython
22 Nov 2026
Medium

What Is a Forward Deployed Engineer?

Where the role came from, why AI companies are hiring so many, how companies build FDE teams, and how to prepare for one. Continue reading on Medium »

Large language modelsStartupsCareers
22 Nov 2026
The New Stack

GPT-6.2 Astra vs. Claude Fable 5.2: Astra’s launch got mixed reviews, but it tested well here

When I compared Anthropic’s Fable 5.2 vs. OpenAI’s GPT-6 Astra last week, Fable 5.2 was slightly more accurate (149 points The post GPT-6.2 Astra vs. Claude Fable 5.2: Astra’s launch got mixed reviews, but it tested well here appeared first on The New Stack.

Large language modelsProgramming
22 Nov 2026
DEV Community

A 10-email thread holds 487 tokens of actual text. With quoted replies the model reads 5,068.

You build a small tool that summarizes support tickets. Each ticket is an email thread, and your help desk stores every message the way it arrived. You join the messages, send them to a model, and get a good summary back. The token count in the response is about ten times what you expected from looking at the conversation. Nothing went wrong. The model read exactly what you sent, and most of it was the same text, copied again and again by the mail client. A token is a chunk of text the model rea

Large language modelsProgrammingAI
22 Nov 2026
DEV Community

Your agent has a spend cap. Does it know it is looping?

There's a new genre of HN/dev.to posts: "Give Your AI Agent a Wallet It Can't Overspend." Spend caps are table stakes now — but a cap only tells you the agent stopped. It doesn't tell you why it was looping. An agent stuck in a retry loop doesn't just waste tokens — it burns them quadratically. Each retry re-sends the growing context. Our loop detector caught a real run where iteration 40 cost 40x iteration 1, all inside a nominally "cheap" model tier. The fix isn't a bigger cap. It's a loop sig

Large language modelsProgrammingAI
22 Nov 2026
The New Stack

GPT-6.2 Sol vs. Claude Opus 5.5: Not as accurate, but still might be the better buy

Claude Opus 5.5 is the model everyone wants to beat, and it has a mixed record in my tests since The post GPT-6.2 Sol vs. Claude Opus 5.5: Not as accurate, but still might be the better buy appeared first on The New Stack.

Large language modelsProgramming
21 Nov 2026
DEV Community

A 133 KB image pasted into my prompt as text cost 122,584 tokens

Here's a mistake that doesn't look like one. You build a support bot that reads incoming emails and drafts replies. The emails are HTML, so you send the HTML. Most of them have the company logo in the signature, embedded right in the markup. Nothing breaks, the drafts are fine, and the input bill is about a hundred times what you estimated. The logo is the problem. When a file travels inside text, it's usually written as base64, and the model has to read every character of it. A token is a chunk

Large language modelsProgrammingAI
21 Nov 2026
Medium

Why Running Your Own AI Server Is Harder Than It Looks

Why Running Your Own AI Server Is Harder Than It Looks Continue reading on Medium »

Large language modelsAI
21 Nov 2026

Related topics

AIProgrammingMachine learningAI agentsSoftware engineeringOpen sourceData scienceStartups

Start with the tab you have open.

Free for your first hundred saves. No card needed.

tagit

Save it, describe it, find it again. Bookmarks that work the way remembering works.

Developed in Iceland
ProductFeaturesFor AI toolsFor teamsPricingChrome extension
ResourcesBlogGuidesTopicsWhy tagsTagging guideContact
CompanyTerms of servicePrivacy policyExtension privacyRefund policy
© bla ehf.support@tagit.io