Skip to content

Models: Lineage and Licenses

Two things worth knowing before comparing any model on the spec sheet: where the current generation of models actually came from, and what you're legally allowed to do with the one you're looking at. Neither is covered by a benchmark table. They're unrelated questions, so this chapter covers them as two separate halves rather than one continuous story.

A short history

This picks up where Theory: Machine Learning Before LLMs leaves off. Before transformers, sequence models were recurrent: an RNN or LSTM read a sentence one token at a time, carrying a running summary forward step by step. That worked, within limits — the running summary degraded over long sequences (the "vanishing gradient" problem), and because each step depended on the one before it, training couldn't be parallelized across a sequence the way it could across a batch. Both limits shaped what came next more than any single new idea did.

The 2017 paper "Attention Is All You Need" removed the recurrence entirely. Instead of reading token-by-token in order, a transformer lets every token attend to every other token in the input directly, which made training parallelizable across the whole sequence at once — the architectural change that made scaling up model size and training data practical in the first place, not just a modeling nicety.

GPT-1 (2018) was the first widely-noticed demonstration of what that architecture enabled combined with a specific training recipe: unsupervised pretraining on raw text, followed by supervised fine-tuning on a specific task, showed that the language understanding picked up in pretraining transferred to tasks the model was never directly trained on. BERT, released the same year, took the transformer down a different branch — bidirectional and encoder-only, trained by masking words and predicting them from both sides, better suited to classification and understanding tasks than to generating fluent text.

GPT-2 (2019) was a straightforward scale-up of GPT-1, notable at the time less for the architecture than for the release itself: OpenAI initially withheld the full model, citing misuse concerns, and released progressively larger versions over several months rather than all at once. That staged rollout was the first time "how a model gets released" became its own decision, separate from "how a model gets built" — a distinction that matters a great deal in the licensing half of this chapter.

GPT-3 (2020) scaled further and demonstrated few-shot in-context learning — the model performing a new task from a handful of examples in the prompt, no fine-tuning required. It also marked a shift in distribution: no weights were released at all, only API access. Where GPT-1 and GPT-2 had been published for anyone to inspect and run, GPT-3 was the point where a frontier model became something you called rather than something you could download.

The step from GPT-3 to something people actually wanted to talk to was mostly a training-recipe change, not an architecture change: reinforcement learning from human feedback (RLHF), which fine-tunes a model against human ratings of its responses so it learns to follow instructions and produce answers people rate as helpful, rather than just predicting the statistically likely next token. ChatGPT (November 2022) was that recipe applied to a GPT-3.5-class model with a chat interface in front of it — the moment broad public adoption happened, built on techniques that had existed for a while rather than a new architectural leap.

From there the field split into two tracks that still define it: closed, API-only frontier labs (OpenAI, Anthropic, Google), and an open-weight counter-track that gathered real momentum once Meta started publishing Llama's weights in 2023, followed by Mistral, DeepSeek, and Qwen. That split — who publishes weights and under what terms — is exactly where the second half of this chapter picks up.

Licenses

"Open weight" describes distribution — the weights are downloadable — and says nothing on its own about what you're allowed to do with them. That's governed by a separate document, and it's worth checking every time rather than assuming the word "open" in a release's name settles the question.

Genuinely permissive releases exist: some models ship under a standard open-source license like Apache 2.0 or MIT, which places no restriction on commercial use, modification, or redistribution beyond the license's own boilerplate. If a model's license is one of these well-known software licenses, the terms are exactly what they say for any other software carrying that license — nothing model-specific to dig for.

Custom "open-weight" licenses are more common at the frontier end of open releases, and they routinely carry restrictions a standard open-source license wouldn't: a usage-scale threshold above which a commercial user needs a separate agreement directly with the vendor rather than relying on the published license (Llama's license works this way), and an acceptable-use policy layered on top of the license itself that names specific prohibited uses — often including using the model's outputs to train or improve a separate, competing model. That last clause is worth reading for specifically: it's become a standard defensive term across open-weight releases, aimed squarely at preventing a competitor from distilling your model into theirs.

Closed, API-only models don't have a software license at all in the usual sense, since there are no weights to license — what governs them is a terms of service and acceptable-use policy attached to the API itself. The clauses worth checking there are different in kind: whether outputs may be used to train another model (commonly forbidden, for the same anti-distillation reason as above), who owns the output (typically the customer, per the vendor's terms), and what happens to submitted input — whether it's used for further training by default, and whether there's an opt-out.

The one habit that covers all three cases: don't infer permission from the word "open," a family name, or a license's general reputation. Check whether the specific document is a standard open-source license or a custom one, read the acceptable-use policy as a separate document from the license itself, and specifically look for a scale threshold and a competing-model-training clause, since those two are where "open enough to download" and "open enough to build a business on" most often stop being the same thing.