SEE ACADRAW IN ACTION

Science drawing, from idea to editable figure

Create a science illustration with AI. Refine drawings, build editable diagrams, and convert images to SVG.

Choose a demo

Demos play as you scroll into view. Choose a feature to explore.

Trusted by students & researchers from 480+ universities

A global community spanning 60+ countries and regions, from QS top-ranked universities to leading research institutes

MIT
MIT
Imperial College London
Imperial College London
University of Oxford
University of Oxford
Harvard University
Harvard University
ETH Zurich
ETH Zurich
National University of Singapore
National University of Singapore
UCL
UCL
Peking University
Peking University
Nanyang Technological University
Nanyang Technological University
Tsinghua University
Tsinghua University
Princeton University
Princeton University
EPFL
EPFL
IIT Madras
IIT Madras
Shanghai Jiao Tong University
Shanghai Jiao Tong University
Technical University of Munich
Technical University of Munich
Australian National University
Australian National University
Fudan University
Fudan University
Seoul National University
Seoul National University
Columbia University
Columbia University
Monash University
Monash University
University of Tokyo
University of Tokyo
King's College London
King's College London
New York University
New York University
Zhejiang University
Zhejiang University
MIT
MIT
Imperial College London
Imperial College London
University of Oxford
University of Oxford
Harvard University
Harvard University
ETH Zurich
ETH Zurich
National University of Singapore
National University of Singapore
UCL
UCL
Peking University
Peking University
Nanyang Technological University
Nanyang Technological University
Tsinghua University
Tsinghua University
Princeton University
Princeton University
EPFL
EPFL
IIT Madras
IIT Madras
Shanghai Jiao Tong University
Shanghai Jiao Tong University
Technical University of Munich
Technical University of Munich
Australian National University
Australian National University
Fudan University
Fudan University
Seoul National University
Seoul National University
Columbia University
Columbia University
Monash University
Monash University
University of Tokyo
University of Tokyo
King's College London
King's College London
New York University
New York University
Zhejiang University
Zhejiang University

University logos belong to their respective institutions and are shown solely to illustrate our user community. They do not imply any partnership or endorsement.

Tool overview

Explore the use cases, workflow, and key things to know.

Model internals

Organize the neural computation rather than a deployment inventory.

Explicit abstraction

Choose which repeated blocks and paths need to be shown.

Readable decoding

Separate vocabulary scores from next-token selection.

Concept reference

Decoder-only language model: a conceptual forward pass

A left-to-right teaching model separates tokenization and embeddings from repeated decoder blocks, vocabulary scores and next-token selection. It is a conceptual inference view, not a named model specification.

Decoder-only language model: a conceptual forward pass
Original AI-generated llm architecture diagram teaching reference. Simplified for explanation; review labels and relationships before use.

LLM Architecture Diagram Generator: reference key

Use the reference and definitions together. On a small screen, scroll the table horizontally.

ElementMeaningReview check
TokenizationConverting text into model tokensKeep token boundaries distinct from ordinary word boundaries.
EmbeddingA learned representation of a tokenState how position information is incorporated at this level.
Causal attentionAttention limited by the autoregressive maskDo not draw future-token access in the inference explanation.
Decoder blockA repeated computation stageSpecify if residual paths and normalization are omitted.
LogitsUnnormalized scores over a vocabularyDistinguish scores from selected text.
DecodingA policy for choosing the next tokenName sampling or another policy without claiming determinism.

LLM Architecture Diagram Generator: plan the visual

Use the LLM architecture diagram generator to explain tokenization, embeddings, attention blocks and next-token decoding. Define the model family and level of detail before creating a labeled architecture draft.

Choose a model family

Decoder-only, encoder-only and encoder-decoder models do not share the same top-level structure. Use the LLM architecture diagram generator with a stated family and purpose. An inference explanation should not quietly import a cross-attention branch from a different architecture.

Separate computation from serving

Token embeddings, attention and feed-forward transformations belong inside the model. A web API, queue and retrieval store belong to a serving or application view. Keep these on separate levels so the drawing answers one question rather than mixing neural operations with deployment boxes.

Label the autoregressive step

The model produces vocabulary scores and the decoding policy selects a next token. Explain that generation repeats this step with updated context. A conceptual diagram can omit caches and normalization details if the caption says so; it should not invent a model-specific layer count.

Common mistakes to avoid

Using the original Transformer as every LLM

Some models omit an encoder or change position encoding, attention and normalization. Choose the intended architecture instead of copying an all-purpose block list.

Calling logits generated words

Vocabulary scores are followed by a selection policy. Show this boundary explicitly.

Claiming speed from a clean layout

A block diagram does not establish latency, memory use or quality. Measurements require a specified implementation and workload.

LLM Architecture Diagram Generator: from brief to draft

Reading the reference is free. Generating a new draft requires an account and available credits. See current pricing.

Choose Science Drawing for an illustrated draft, or Editable Diagram for separate shapes and labels. Review all definitions, labels and connections before sharing.

  1. 1

    Define the model view

    Supply the architecture family, input/output and whether the figure covers inference or training.

  2. 2

    Generate labeled blocks

    Use the LLM architecture diagram generator to show the selected computation stages and connections.

  3. 3

    Check omitted details

    Review masks, positional information, residual paths and the limits stated in the caption.

Example brief for the llm architecture diagram generator

Original educational illustration on white, 1280x720 landscape, crisp vector-like editorial style, navy readable English labels, teal and amber accents, generous whitespace. Render all shapes, labels and arrows directly in the image. No third-party artwork, brand, logo, screenshot or measured result. Title 'Decoder-only LLM: a conceptual forward pass'. Five sequential labeled blocks: 'Tokenize text', 'Token + position representation', 'Decoder blocks', 'Vocabulary logits', 'Select next token'. Decoder blocks contain two short labels 'Causal self-attention' and 'Feed-forward'. Mark decoder blocks 'Repeated layers'. Arrows go left to right. Bottom note 'Conceptual inference view; details vary by model'. No fake layer counts, parameter sizes, benchmarks or named model logo.

Use this prompt in the generator

LLM Architecture Diagram Generator: common questions

What does the LLM architecture diagram generator create?

It drafts a conceptual model structure from your description, with labeled components and connections.

Does it infer a proprietary model architecture?

No. Supply verified details for a named model; the tool does not discover its hidden design.

Can I show training instead of inference?

Yes. State the objective and where loss and parameter updates belong, rather than reusing an inference-only layout.

How is this different from a RAG architecture diagram?

This page focuses on computation inside a language model. A RAG diagram focuses on retrieving and supplying external context around a model.

Sources and editorial notes

Prepared by the AcaDraw product team. Source and diagram check: . This is a simplified educational model; independent expert review has not been completed. AI-generated drafts need checking against reliable references.

Explore the llm architecture diagram guide

A left-to-right teaching model separates tokenization and embeddings from repeated decoder blocks, vocabulary scores and next-token selection. It is a conceptual inference view, not a named model specification.

LLM Architecture: Tokens, Attention, and Decoding