Skip to content

Foundation Models and LLMs

A foundation model is trained broadly enough to be adapted to many tasks. Adaptation can occur through prompting, tool use, retrieval, fine-tuning or specialised wrappers.

A large language model processes and generates sequences of tokens. Practical understanding includes tokenisation, embeddings, attention, context windows, inference, sampling, structured output, reasoning effort, caching, tool calling and model limitations.

Multimodal models process or generate more than one modality, such as text, images, audio or video. The engineer must decide how modalities are represented, combined, validated and evaluated.

Model selection is a system decision based on capability, reliability, latency, cost, privacy, context size, modality and deployment constraints. The largest model is not automatically the best production choice.