Why Build an LLM?
local graph
Module 7 — Why Build an LLM?
Section titled “Module 7 — Why Build an LLM?”Chapter II — Strategic and Technical Planning
The decision to develop a large language model from within an organization carries weight that extends well beyond engineering. Capable foundation models are available through commercial APIs and open weights, which means any team contemplating its own model must answer a basic question about why such an investment makes sense. This module examines the motivations that genuinely justify the effort. The goal is to give you the conceptual tools to evaluate their own circumstances honestly. By the end of this module, you should be able to separate sound reasoning from organizational momentum or aspiration that has not been tested against the realities of the work.
Business Motivations
Section titled “Business Motivations”The most common business reason organizations consider building their own model is control. When sensitive information must be processed, sending it through an external API introduces dependencies and exposures that some organizations cannot accept. In healthcare, for example, using a closed model accessed through a third party raises concerns about data sovereignty and vendor dependence that institutions handling patient records often find difficult to reconcile with their regulatory obligations. The same logic applies to financial institutions and to any organization whose data carries confidentiality requirements that travel poorly across organizational boundaries. The transmission of sensitive records to external servers, even in pseudonymized formats, increases the surface area for breaches in ways that internal hosting can constrain (Dennstädt et al., 2025).
flowchart TB
subgraph H[Hosted-API path]
direction TB
subgraph OB1[Organization boundary]
direction TB
H1["Sensitive data source<br/>Records, PII, IP, regulated fields"] --> H2["Application layer<br/>Prompt assembly, redaction"] --> H3["Egress gateway<br/>DLP, logging, policy checks"]
end
H3 --> H4["Network transit<br/>TLS to vendor endpoint"] --> H5["Vendor inference service<br/>Hosted model, vendor logging, etc"] --> H6["Vendor subprocessors<br/>Cloud host, abuse review, ops"] --> H7["Response returns<br/>Back through egress gateway"]
end
subgraph I[Internal-build path]
direction TB
subgraph OB2[Organization boundary]
direction TB
I1["Sensitive data source<br/>Records, PII, IP, regulated fields"] --> I2["Application layer<br/>Prompt assembly, redaction"] --> I3["Internal gateway<br/>Auth, audit, quota"] --> I4["Model procurement<br/>Weights, license, provenance"] --> I5["Internal inference cluster<br/>GPUs, container isolation, tenancy boundaries"] --> I6["Internal ops team<br/>SRE, ML platform, security"] --> I7["Response returns<br/>Back through egress gateway"]
end
end
Figure 2-1. Data Flow Boundaries: Hosted-API vs. Internal-Build Deployment
Closely related is the matter of vendor dependence. An organization that builds important workflows around a hosted model commits itself to that provider’s pricing decisions and policy changes. Dennstädt et al. (2025) describe how this dependence can leave institutions unable to respond effectively when an external provider modifies its terms or restricts access in ways that affect operations. Building internally relocates operational risk inside the organization, where decisions about model behavior and update cadence remain under direct authority. The trade involves accepting the burden of maintenance in exchange for predictability that hosted services cannot always guarantee.
A second business motivation concerns differentiation. Organizations that hold distinctive datasets, whether decades of curated industry communications or specialized records that reflect the unique perspective of the institution, often see those assets as a foundation for a model that competitors cannot easily replicate. Bloomberg’s decision to develop a 50 billion parameter model trained substantially on its own financial corpus illustrates this reasoning at full scale (Wu et al., 2023). The team built FinPile, a dataset assembled from years of carefully maintained financial documents, on the premise that their proprietary content would translate into model capabilities that no general-purpose competitor could match. The mixed approach combined finance data with general-purpose datasets so that the resulting model could perform well on financial benchmarks while maintaining competitive performance on broader tasks (Wu et al., 2023).
The promise of differentiation, however, requires close inspection. Subsequent assessment of BloombergGPT against general-purpose frontier models found that the gap was smaller than the development effort might have suggested, with general models matching or exceeding the specialized model on many financial tasks. The lesson is that proprietary data alone does not guarantee a defensible advantage when a much larger generalist model has been trained with vastly more compute and broader coverage. Differentiation through building remains a credible motivation, though it must be tested against the trajectory of openly available models that improve continuously.
Technical Motivations
Section titled “Technical Motivations”Beyond strategic considerations, technical reasons sometimes make internal development the more sensible path.
The most defensible technical motivation involves domain fit. General-purpose models perform well across a wide spectrum of tasks because their training data spans many topics, though that very breadth can leave them weaker on tasks requiring deep domain coverage. Gu et al. (2024a) examined how leading code-oriented models behaved when asked to generate code in specialized library contexts and found substantial performance degradation compared to open-domain coding tasks. In their experiments, ChatGPT showed an average BLEU score drop of more than 70 percent on domain-specific datasets compared to a general code corpus, with the underlying cause traced to limited proficiency in specialized libraries (Gu et al., 2024a). The mechanism is straightforward: scarce domain content in pretraining produces shallow domain competence at inference.
Recent work on the relationship between model size and specialization has found that, under fixed compute, models trained on filtered domain corpora can outperform their general counterparts in the target domain while consuming less training compute (Malaquias Junior et al., 2025). The same study reported that this effect holds across parameter counts from 1.5 billion to 14 billion, with specialized models also showing reduced forgetfulness of previously learned content as scale increases. For teams whose target application falls within a coherent specialized field, this evidence supports the case that technical performance can be improved meaningfully through purposeful training choices.
Domain fit also surfaces in cases where the structure of the task itself works against general models. Gu et al. (2024a) observed that code generation models often misuse third-party libraries when those libraries are underrepresented in pretraining data, producing plausible code that fails at runtime. Such failure modes are difficult to address through prompting alone, since the absence of knowledge in the model cannot be reliably compensated for by clever inputs. When a target capability depends on knowledge that is genuinely scarce in public training corpora, the technical case for building, or at least for substantial adaptation, becomes much stronger.
Efficiency is another legitimate motivation. Large frontier models impose latency and cost characteristics that may be acceptable for occasional queries though prohibitive for high-volume production use. A smaller model trained or adapted carefully for the target task can deliver comparable quality at a fraction of the inference cost. Malaquias Junior et al. (2025) demonstrated that specialization improves sample efficiency, meaning the same capability level can be reached with less training compute when the data distribution aligns with the target use. This translates into smaller and cheaper models in production for teams whose problem definition is narrow enough to permit such focus.
Research Motivations
Section titled “Research Motivations”A third category of motivation comes from research and education. Academic institutions, research laboratories, and technically ambitious organizations sometimes build models for reasons that have little to do with deploying a product. The goal in such cases is to learn how the systems actually work by building one, generating evidence about training dynamics, or testing hypotheses about architectural choices that cannot be probed from the outside. This motivation differs in kind from business or technical motivations because the primary deliverable is knowledge about how the systems behave under controlled conditions.
flowchart TB
R[Research-oriented<br/>training runs] --> A["Trained model artifact<br/>Weights, tokenizer, configs"]
R --> E["Empirical knowledge<br/>Training dynamics, metrics"]
E --> V["Vendor evaluation<br/>Benchmark, compare, select"]
E --> D["Architectural decision-making<br/>Depth, width, context, attention"]
E --> S["Training strategy design<br/>Schedules, objectives, regularization"]
Figure 2-2. Empirical Knowledge as the Primary Output of Research Training Runs
The literature on domain specialization has produced findings that depended on exactly this kind of work. For example, the empirical claims about when specialized models outperform general ones, and under what compute conditions, came from research teams who trained models at multiple scales and compared their behavior in controlled settings (Malaquias Junior et al., 2025). These studies could not have been conducted using closed APIs, since researchers needed full visibility into training data and intermediate checkpoints. Building internally is the price of producing research evidence that the broader field can later use.
There is also a strong argument for building as a way of developing institutional expertise. A team that has trained even a modest model understands the practical realities of data preparation and evaluation in a way that is difficult to acquire by reading papers or consuming hosted models. This depth of understanding becomes an asset when the same team is later asked to evaluate vendors or diagnose unexpected behavior in production. Several authors examining LLM adoption in healthcare have argued that institutional expertise is itself a safeguard against over-reliance on external systems whose behavior the institution cannot independently verify (Dennstädt et al., 2025).
Naturally, there are motivations beyond the ones above, including a genuine enthusiasm to build an LLM just for the sake of building an LLM.
Stress-Testing the Rationale
Section titled “Stress-Testing the Rationale”A motivation that sounds compelling in a planning meeting can dissolve under closer examination. The history of BloombergGPT offers a useful cautionary lesson in this regard. The goal of specialized financial competence was defensible at the time of planning, though the ground beneath it moved during the development period as larger frontier models continued to improve at a pace the project could not match. The financial tasks where BloombergGPT had been expected to dominate became, within a short window, tasks where much larger generalist models performed comparably or better.
The lesson is that any rationale for building should be tested against the trajectory of the alternatives, not only their current state. A motivation that compares an internal build against today’s frontier model misses the question that actually matters, which is how the build will compare against frontier capability at the time the project completes and during the years it remains in service. Domain specialization research has made the conditions for genuine advantage clearer, though these conditions remain narrow and specific to the data and use case involved.
Stress-testing a motivation also requires asking whether the stated goal could be achieved through less demanding means. A simple adaptation through prompt engineering can fix many problems pertaining to AI performance. Such intermediate options should be exhausted, or at least evaluated seriously, before any commitment to deeper investment is made.
A final consideration involves organizational readiness. A motivation may be technically sound and strategically important and still fail in practice because the team lacks the data infrastructure or the evaluation discipline needed to execute. The institutional implementation of language models requires expertise spanning both machine learning and the application domain, and the absence of either side typically produces poor outcomes regardless of how strong the original justification appeared. Honest assessment of organizational readiness belongs as a final check before any commitment is made.
This scrutiny exists to support sound decisions. Some teams genuinely should build, and the modules that follow address how to do so responsibly. The purpose here is to ensure that the decision rests on motivations that survive examination, since the cost of discovering a flawed rationale after a training run has begun far exceeds the cost of identifying it before the work starts. The strongest projects tend to begin with rationales that have already been tested against alternatives and found defensible, with planning teams who can articulate not only why they want to build but also what they expect to learn or achieve that no other approach could provide. That clarity, more than any single motivation, is what separates the projects that produce lasting value from those that consume resources without delivering them. Module 36 further examines this discussion within the specific context of training from scratch.