What is a transformer in AI? The architecture of language models.

Bonbay Updated on 15 November 2026 2 min read

In practice in a business

A business does not have to choose an architecture: almost all models on the market are transformers. The word is mainly useful for reading technical documentation, or understanding why the length of the text you send affects cost and response time.

Not to be confused with

A transformer is not a specific model but a family of architectures from which GPT, Claude, Gemini, Llama and Mistral derive. It has nothing to do with an electrical transformer either.

Bonbay. Updated on 15 November 2026.

Your questions.

What does GPT mean?

Generative Pre-trained Transformer: a generative transformer, pre-trained on large volumes of text. The acronym comes from OpenAI.

Are transformers only used for text?

No. The same architecture also handles images, sound and code, which made multimodal models possible.

Are there other architectures?

Yes, research is exploring several to handle longer texts at lower cost. For now, transformers remain the basis of the major models on the market.