A foundation model is a broadly pretrained model that provides a starting point for multiple applications. Pretraining often uses self-supervised learning on large datasets, allowing the model to learn reusable patterns without requiring manually labeled examples for every downstream task. Applications then use those capabilities directly or adapt them to a specific domain. Large language models are one category of foundation model, but foundation models also support vision, audio, and multimodal workloads. Not every foundation model is a conversational system or generates content; some produce representations such as embeddings.
Foundation models are useful when a workload involves diverse, unstructured inputs or flexible outputs. Examples include summarizing support conversations, drafting product descriptions, answering questions about technical documentation, and extracting information from documents with varied layouts. Prompting can establish an initial solution without training a separate model. However, having no task-specific training requirement does not eliminate the need for representative evaluation data, security controls, and production monitoring.
Traditional machine learning is often a better starting point for a narrowly defined prediction problem with structured data and a measurable target. For example, gradient-boosted trees may predict equipment failure from sensor measurements more economically than a large language model. A logistic regression model may suit a credit-risk workflow requiring understandable relationships between input variables and predictions, subject to validation and applicable rules. Traditional ML is not automatically explainable: complex ensembles and neural networks can also be difficult to interpret.
In the cloud, engineers commonly access foundation models through managed inference APIs or deploy model weights on managed or self-operated infrastructure. Managed APIs reduce infrastructure work, while self-hosting provides more control over model versions, runtime configuration, and deployment boundaries. That control also introduces responsibility for capacity planning, accelerator availability, patching, scaling, and model serving. Compare measured latency, throughput, availability, and total cost rather than assuming either approach is always cheaper.
Adaptation methods solve different problems. Prompt engineering supplies instructions and examples without changing model weights. Retrieval-augmented generation retrieves relevant information and adds it to the model's context, making it useful for questions about current internal documentation. Fine-tuning changes model parameters using additional training data and can improve task behavior, style, or domain performance. Fine-tuning is not a reliable substitute for retrieving frequently changing facts, and retrieval does not guarantee that every generated statement is correct.
Regulatory and explainability requirements can determine whether a foundation model is appropriate. Review data residency, processing locations, retention, provider data-use terms, access controls, licensing, and audit requirements before sending sensitive information to an endpoint. Neither managed hosting nor private deployment establishes compliance by itself. A model-generated explanation is not necessarily a faithful explanation of its internal reasoning, and a citation does not prove that the cited material supports the answer. High-impact decisions may require a more interpretable model, human review, or a different workflow.
Operational constraints also matter. Foundation-model applications can face variable response times, context-window limits, inference charges, hallucinations, and prompt-injection attacks. Evaluate realistic inputs, including adversarial cases, and validate outputs before allowing them to trigger actions. A practical hybrid design might use traditional ML to estimate customer churn from account metrics and a foundation model to draft an outreach message. The best choice is the simplest approach that meets accuracy, governance, latency, and cost requirements, not necessarily the largest available model.