Transformer
The neural network architecture behind almost every large language model. It processes a whole sequence of tokens at once and uses attention to decide which earlier tokens matter for each next prediction.
A transformer is a design for a neural network, introduced by Google researchers in the 2017 paper "Attention Is All You Need". The G-P-T in GPT stands for generative pre-trained transformer, and nearly every large language model in use today is a variation on the same idea.
Earlier language models read text one word after another and carried a compressed memory forward. A transformer looks at the whole input together. Each token is turned into a vector, and a mechanism called attention lets every token weigh every other token when the model works out what comes next. In "the contract was signed by the supplier, but it was later voided", attention is how the model connects "it" to "contract" rather than to "supplier".
Two practical consequences follow from that design.
Comparing every token with every other token gets expensive as the input grows. This is a large part of why the context window has a limit and why long prompts cost more.
The design also parallelizes well on GPUs, which is what made training on internet-scale text practical. The jump in capability since 2017 owes a lot to that fit with hardware.
What the label does not tell you
"Transformer-based" describes the skeleton, not the quality. Two transformer models can differ enormously in training data, size, tuning and serving setup. Variants such as mixture of experts change which parts of the network run for each token. When a vendor leads with the architecture, the useful follow-up is about the trained model, the version actually served and how it was evaluated on work like yours.
Related terms
LLM
Large language model: an AI model trained on very large amounts of text to predict and generate language, which can be used to answer, summarise, write, reason about and act on text.
Token
The small chunk of text, roughly a word or part of a word, that language models read and write. Providers usually price and limit usage in tokens, but token cost is not the cost of a result.
Context window
The amount of text, measured in tokens, that a language model can take into account in one request: the instructions, the conversation so far, any attached documents and the answer it is writing.
Vector embedding
A list of numbers that a model produces to represent the meaning of a piece of text, an image or another item, so that items with similar meaning end up close to each other and can be found by similarity rather than exact words.
Mixture of experts
A model design in which a large network is split into many sub-networks, called experts, and a router sends each token to only a few of them, so the model can be very large while using only part of it per step.
Inference
Running a trained AI model to produce an output for a request, as opposed to training it. Inference cost is the model-side spend that is easy to see but only one part of total AI cost.