System Design
19. AI System Design and LLM InfrastructureAnimated
AI System Architecture
How the parts of an AI product fit together.
The idea
Data, models, serving, retrieval, guardrails and monitoring form a pipeline around the model, which is only one component.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Data is collected, cleaned and versioned.
- step:
- 1/4
- at:
- Data
1/9
The green dot is a request moving through the system.
Step by step
- 1Collect and prepare data
- 2Train or choose a model
- 3Serve it behind an API
- 4Monitor quality and cost
Where it is used
Any AI-powered product.
Watch out for
The model is often the easy part. Data, latency and evaluation take the effort.