Skip to content

LLM, SLM, and AI Model Selection Guide

Choosing an AI model starts with the task, not the brand. This guide walks through what each model category does, when to use it, and how to pick between specific families.


Match your task to a model category before comparing model names:

๐ŸŽฏ Task๐Ÿ—‚๏ธ Model Category๐Ÿ’ฌ Example Prompt
๐Ÿ’ฌ Write, summarize, or explain textLanguage modelโ€Summarize this contract in plain Englishโ€
๐Ÿง  Reason through a hard problemReasoning modelโ€Find the safest migration path for our databaseโ€
๐Ÿ’ป Write, review, or edit codeCoding-capable LLMโ€Add input validation and write tests for this endpointโ€
๐Ÿท๏ธ Classify or extract from many inputsSLM or fast modelโ€Tag these 10,000 support tickets as billing, login, or technicalโ€
๐Ÿ–ผ๏ธ Generate an imageImage modelโ€Create a thumbnail for a blog post about AI agentsโ€
๐Ÿ‘๏ธ Understand a screenshot or chartVision modelโ€What does this dashboard show and what is confusing about it?โ€
๐ŸŽ™๏ธ Transcribe audioSpeech-to-text modelโ€Convert this 45-minute Zoom recording to a transcriptโ€
๐Ÿ” Build semantic search or RAGEmbedding model + LLMโ€Find relevant docs, then answer the userโ€™s questionโ€
๐Ÿ“Š Reorder search resultsReranker modelโ€Pick the best 3 passages from these 50 resultsโ€
๐Ÿ›ก๏ธ Filter harmful contentModeration modelโ€Check this user message for abuse or policy violationsโ€

An LLM (large language model) is an AI model trained to understand and generate language. It reads instructions, answers questions, writes code, and reasons through multi-step problems.

โœ… What LLMs do well:

  • ๐Ÿ’ฌ chat assistants and customer support
  • ๐Ÿ’ป coding, debugging, and code review
  • ๐Ÿ“„ summarization and long document analysis
  • ๐Ÿงฉ structured extraction (JSON, tables, lists)
  • ๐Ÿค– agent workflows with tool use
  • ๐Ÿง  planning, reasoning, and decision support

๐Ÿ’ก Concrete example:

โ€œHere is our privacy policy. Summarize the key user rights in plain English, in five bullet points.โ€

An LLM is the right choice when the input or output is mainly text, code, or structured data.


An SLM (small language model) is a smaller, faster model designed for narrow, repetitive tasks. It may not reason as deeply as a frontier LLM, but it excels when the task is well-defined and runs at high volume.

โœ… What SLMs do well:

  • ๐Ÿท๏ธ classifying tickets, emails, or reviews
  • ๐Ÿ”€ routing messages to the right department
  • ๐Ÿ”Ž extracting simple fields from short text
  • โœ๏ธ rewriting short sentences or subject lines
  • ๐Ÿ–ฅ๏ธ running on local machines or edge devices
  • โšก handling very high request volumes at low cost

๐Ÿ’ก Concrete example:

โ€œGiven this support email, classify it as: billing, login, technical, or general. Return only the label.โ€

Use an SLM when the task is predictable, the output is short and simple, and cost or speed matters more than reasoning depth.


๐Ÿ” Dimension๐Ÿง  LLMโšก SLM
๐Ÿ“ SizeLargerSmaller
๐Ÿ’ฐ Cost per callHigherLower
๐Ÿš€ SpeedSlower than smaller modelsFaster
๐Ÿง  Reasoning depthโœ… Deep โ€” handles complexityโŒ Limited on complex tasks
๐Ÿ“„ Context windowOften 100kโ€“1M tokensOften smaller
๐Ÿ  Local deploymentโŒ Usually needs cloud or large GPUโœ… More practical locally
๐ŸŽฏ Best fitJudgment, coding, analysis, agentsClassification, extraction, routing

๐Ÿ“Œ Decision rule:

  • Use an LLM when the task needs judgment, creativity, or multi-step reasoning.
  • Use an SLM when the task is repetitive, well-defined, and runs at scale.

An AI model is broader than an LLM. Here is the full category map:

๐Ÿ—‚๏ธ Categoryโ†”๏ธ Input โ†’ Output๐ŸŽฏ Best For
๐Ÿ’ฌ Language modeltext โ†’ text / codeChat, writing, summarization, Q&A
๐Ÿง  Reasoning modeltext โ†’ plan / analysisArchitecture, debugging, math, migration
๐Ÿ’ป Coding modelcode โ†’ codeEditing, tests, refactoring, review
โšก Fast model / SLMtext โ†’ label / extractClassification, routing, extraction
๐Ÿ–ผ๏ธ Image generationtext prompt โ†’ imageThumbnails, mockups, art, visuals
๐Ÿ‘๏ธ Vision modelimage โ†’ textScreenshot analysis, chart reading, OCR
๐ŸŽ™๏ธ Speech-to-textaudio โ†’ textTranscripts, subtitles, voice notes
๐Ÿ”Š Text-to-speechtext โ†’ audioNarration, voice agents, accessibility
๐Ÿ” Embedding modeltext โ†’ vectorSemantic search, RAG, deduplication
๐Ÿ“Š Reranker modelpassages โ†’ ranked listImproving RAG precision
๐Ÿ›ก๏ธ Moderation modeltext / image โ†’ risk labelSafety filtering, content moderation

Language models are the default for chat, writing, summarization, code explanation, and general Q&A.

โœ… Use when:

  • โœ… input is text, code, markdown, JSON, or documents
  • โœ… output is an explanation, summary, structured data, or a plan
  • โœ… the task requires following multi-step instructions

๐Ÿšซ Do not use alone when:

  • ๐ŸŒ you need current facts โ†’ add web search tools
  • ๐Ÿ”’ you need private records โ†’ add retrieval or database tools
  • ๐Ÿ“ you need file access โ†’ add file system tools

๐Ÿ’ก Example:

โ€œRead this API spec and write a one-paragraph summary of what it does, who it is for, and what the main limitations are.โ€


Reasoning models are used when the answer requires multiple steps and mistakes are expensive.

โœ… Use when:

  • ๐Ÿ—๏ธ making architecture or technology decisions
  • ๐Ÿšจ debugging a complex production incident
  • ๐Ÿ“ doing math-heavy or logic-heavy analysis
  • ๐Ÿ”„ planning a risky migration or major refactor
  • ๐Ÿ’Ž the stakes are high enough that a second-rate answer is not acceptable

๐Ÿ’ก Example:

โ€œWe have a monolith with 3M lines of code. We want to extract the payment module as a microservice. What are the highest-risk coupling points and what should we extract first to reduce risk?โ€

โš ๏ธ Note: Reasoning models can be slower and more expensive. Use them when quality beats latency.


Coding models are language models optimized for software work.

โœ… Use for:

  • โœ… writing new code from a spec or description
  • โœ… editing existing files without breaking behavior
  • โœ… generating unit or integration tests
  • โœ… reviewing pull requests for bugs and risks
  • โœ… debugging build or CI failures
  • โœ… refactoring and renaming at scale
  • โœ… transpilation (e.g. JavaScript โ†’ TypeScript, Java โ†’ C#, Python 2 โ†’ Python 3)

๐Ÿ’ก Example:

โ€œAdd input validation to this Python function. Then write pytest tests covering the happy path, an invalid email address, and a missing required field.โ€

๐Ÿ’ก Complex coding usually needs both strong coding ability and strong reasoning ability.


Fast models and SLMs are designed for high-volume or simple structured tasks.

โœ… Use for: ๐Ÿท๏ธ classification ยท ๐Ÿ”€ routing ยท ๐Ÿ”Ž extraction ยท ๐Ÿ“ short summaries ยท โœ๏ธ simple rewrites

๐Ÿšซ Avoid for: โš ๏ธ risky code changes ยท ๐Ÿ—๏ธ complex architecture ยท โ“ ambiguous instructions ยท ๐Ÿ“„ long document analysis

๐Ÿ’ก Example:

โ€œGiven this product review, return a JSON object: {sentiment: 'positive'|'neutral'|'negative', mentions_shipping: true|false}โ€


Image models create or edit images from text prompts.

โœ… Use for: ๐Ÿ“ธ blog illustrations ยท ๐Ÿ“ฑ social media visuals ยท ๐Ÿ–ผ๏ธ thumbnails ยท ๐ŸŽจ UI mockups ยท โœ๏ธ concept art ยท ๐Ÿ›๏ธ product photography

๐Ÿ’ก Workflow tip: Use a language model to write the image prompt first. Then send it to an image model.

๐Ÿ”„ Example workflow:

  1. ๐Ÿง  Ask an LLM: โ€œWrite a detailed image prompt for a futuristic data center with blue lightingโ€
  2. ๐Ÿ–ผ๏ธ Send that prompt to an image model (DALL-E, GPT Image, Stable Diffusion, Midjourney)

Vision models read and interpret images, screenshots, charts, or PDFs.

โœ… Use for: ๐Ÿ–ฅ๏ธ screenshot analysis ยท ๐ŸŽจ UI reviews ยท ๐Ÿ“ˆ chart explanation ยท ๐Ÿ”ค OCR-like extraction ยท โ“ visual Q&A ยท โ™ฟ accessibility descriptions

๐Ÿ’ก Example:

โ€œHere is a screenshot of our checkout flow. What does the user see on this step, and what might cause confusion or drop-off?โ€

โš ๏ธ Vision โ‰  Image generation. A vision model reads images. An image model creates images.


Speech-to-text models convert audio files or streams into text.

โœ… Use for: ๐Ÿ“‹ meeting transcripts ยท ๐ŸŽฌ subtitles ยท ๐Ÿ“ž call center analytics ยท ๐Ÿ—’๏ธ voice notes ยท ๐ŸŽ™๏ธ podcast indexing ยท ๐Ÿ” audio search

๐Ÿ’ก Well-known model: Whisper (OpenAI). When you hear โ€œWisprโ€ in AI conversations, the intended model is usually Whisper.

๐Ÿ’ก Example:

๐ŸŽ™๏ธ Input: 45-minute Zoom recording โ†’ ๐Ÿ“„ Output: full timestamped transcript with speaker labels


Text-to-speech models generate spoken audio. Realtime voice models support low-latency spoken conversations.

โœ… Use for: ๐Ÿค– voice agents ยท ๐Ÿ“– narration ยท โ™ฟ accessibility ยท ๐Ÿ“ž IVR systems ยท ๐ŸŽ“ language learning apps ยท ๐Ÿ›Ž๏ธ spoken customer support

๐Ÿ”„ Three-part voice system:

๐Ÿ”ข Step๐ŸŽญ Role
1๏ธโƒฃ โ†’ ๐ŸŽ™๏ธ Speech-to-textUnderstands what the user said
2๏ธโƒฃ โ†’ ๐Ÿง  LLMDecides the right answer
3๏ธโƒฃ โ†’ ๐Ÿ”Š Text-to-speechSpeaks the answer back

Embedding models convert text (or other content) into vectors for search and retrieval.

โœ… Use for: ๐Ÿ” semantic search ยท ๐Ÿค– RAG pipelines ยท ๐Ÿ”„ duplicate detection ยท ๐Ÿ’ก recommendations ยท ๐Ÿงฉ clustering ยท ๐Ÿ“„ finding similar documents

๐Ÿ“Š Concrete RAG flow:

๐Ÿ”ข Stepโš™๏ธ What happens
1๏ธโƒฃ โ†’ ๐Ÿ“„ Index documentsEmbed each chunk into a vector
2๏ธโƒฃ โ†’ โ“ Receive queryEmbed the user question
3๏ธโƒฃ โ†’ ๐Ÿ” RetrieveFind closest document vectors
4๏ธโƒฃ โ†’ ๐Ÿ’ฌ AnswerSend top results to the LLM

โš ๏ธ Do not ask an embedding model to write an answer. Use it to find content, then use an LLM to explain or synthesize it.


Rerankers reorder search results by relevance after an initial retrieval step.

โœ… Use when:

  • ๐Ÿ” vector search returns weak or noisy matches
  • โŒ RAG answers miss the most relevant passage
  • ๐Ÿ“‚ the document collection is large (thousands to millions of records)

๐Ÿ”„ Typical RAG pipeline with reranking:

๐Ÿ”ข Step๐Ÿ› ๏ธ Tool
1๏ธโƒฃ โ†’ ๐Ÿ” Retrieve candidatesEmbedding model + vector database
2๏ธโƒฃ โ†’ ๐Ÿ“Š Reorder by relevanceReranker model
3๏ธโƒฃ โ†’ ๐Ÿ’ฌ Generate answerLLM

Moderation models classify safety risk in text, images, or prompts.

โœ… Use for: ๐Ÿ‘ค user-generated content review ยท ๐Ÿšจ abuse detection ยท ๐Ÿ”’ prompt injection screening ยท ๐Ÿ“‹ policy compliance checks

๐Ÿ’ก Example:

๐Ÿ‘ค Input: user-submitted comment โ†’ ๐Ÿ›ก๏ธ Output: {category: "safe", confidence: 0.97} or {category: "harassment", confidence: 0.89, action: "block"}


12. ๐Ÿ›๏ธ Encoder, Decoder, and Encoder-Decoder Architectures

Section titled โ€œ12. ๐Ÿ›๏ธ Encoder, Decoder, and Encoder-Decoder Architecturesโ€

These terms describe the underlying model design, not the task.

๐Ÿ›๏ธ Architectureโš™๏ธ What It Does๐ŸŽฏ Common Use
๐Ÿ“ฅ EncoderReads input โ†’ creates a compressed representationEmbeddings, classification, search
๐Ÿ“ค DecoderGenerates output token by tokenMost chat LLMs (GPT, Claude, Llama)
๐Ÿ”„ Encoder-decoderReads, then generates a transformed outputTranslation, summarization, speech โ†” text

๐Ÿ’ก For practical model selection, architecture is secondary. Choose by task type first.


For coding tasks, the specific situation matters as much as the model tier.

๐Ÿ–ฅ๏ธ Coding Situation๐Ÿ† Recommended Tier๐Ÿ’ก Why
๐Ÿ› Small bug fix in one fileSonnet-classStrong enough without the top cost
๐Ÿ“– Explain a function or moduleSonnet-classGood at reading and explaining code
โœ๏ธ Rename variables or simple mechanical editsHaiku or SonnetHaiku for trivial; Sonnet for anything with judgment
๐Ÿ”„ Large refactor across many filesOpus-classNeeds cross-file planning and reasoning
๐Ÿšจ Debugging a production incidentOpus-classFailure is expensive; use the strongest model
๐Ÿงช Generate unit tests for clear codeSonnet-classGood balance of quality and cost
๐Ÿ‘€ Review a risky pull requestOpus-classNeeds deep bug detection and risk assessment
๐Ÿท๏ธ Classify code files by categoryHaiku-classRepetitive, structured, high-volume
๐Ÿ”€ Convert small snippets between languagesSonnet-classNeeds code understanding, not max reasoning
๐Ÿš€ Migrate an old framework to a new oneOpus-classRequires compatibility planning and staged changes

๐Ÿ“Œ Summary:

  • โšก Haiku โ†’ simple, fast, repetitive coding-adjacent tasks
  • โœ… Sonnet โ†’ normal day-to-day development
  • ๐Ÿ”ฌ Opus โ†’ difficult, risky, ambiguous, or multi-file engineering

Use Opus when the task is complex, risky, or ambiguous, and quality matters more than cost or speed.

๐ŸŽฏ Ideal for:

  • ๐Ÿšจ production incident debugging
  • ๐Ÿ—๏ธ architecture and migration planning
  • ๐Ÿ“ large cross-file refactors
  • ๐Ÿ‘€ reviewing risky pull requests
  • ๐Ÿค” comparing multiple technical approaches

๐Ÿ’ก Example:

โ€œReview this migration plan from AngularJS to Angular 17. Identify the safest phased approach, what to migrate first, and which legacy patterns are most likely to break in production.โ€


Use Sonnet for strong everyday coding and development tasks.

๐ŸŽฏ Ideal for:

  • โœจ adding features and fixing bugs
  • ๐Ÿ’ป writing and explaining code
  • ๐Ÿงช generating tests for clear behavior
  • ๐Ÿ“ writing documentation and technical summaries

๐Ÿ’ก Example:

โ€œAdd input validation to this API endpoint. Then write unit tests covering the happy path and at least two error cases.โ€


Use Haiku for simple, predictable, high-volume tasks.

๐ŸŽฏ Ideal for:

  • ๐Ÿท๏ธ classification and routing
  • ๐Ÿ”Ž extraction from short text
  • ๐Ÿท๏ธ labeling, tagging, and scoring at scale
  • โœ๏ธ quick rewrites of short content

๐Ÿ’ก Example:

โ€œClassify each of these 5,000 support tickets as: billing, login, technical, or feedback. Return a JSON array with the ticket ID and label.โ€


โš ๏ธ Model names and pricing change frequently. These are illustrative examples โ€” check official provider docs before production decisions.

๐ŸŸข OpenAI Models
๐Ÿค– Model๐Ÿท๏ธ Class๐ŸŽฏ Best For
GPT-5.5๐Ÿ”ฌ Frontier reasoningHard analysis, complex coding, agent workflows
GPT-5.5 miniโš–๏ธ BalancedLower latency and cost than the top model
GPT-5.5 nanoโšก Fast / lightweightClassification, extraction, routing
GPT Codex๐Ÿ’ป Coding agentRepo edits, debugging, refactoring, code review
๐ŸŸฃ Anthropic Claude Models
๐Ÿค– Model๐Ÿท๏ธ Class๐ŸŽฏ Best For
Claude Opus๐Ÿ”ฎ Highest-capabilityHard reasoning, complex coding, risky reviews
Claude Sonnetโš–๏ธ BalancedDay-to-day coding, writing, production workflows
Claude Haikuโšก FastQuick classification, extraction, short summaries
๐Ÿ”ต Google Gemini Models
๐Ÿค– Model๐Ÿท๏ธ Class๐ŸŽฏ Best For
Gemini Pro๐Ÿ”ฌ Strong general + multimodalComplex reasoning, long context, Google ecosystem
Gemini Flashโš–๏ธ Balanced speed + qualityProduction chat, extraction, multimodal tasks
Gemini Flash Liteโšก LightweightSimple high-volume tasks
๐Ÿ‹ DeepSeek Models
๐Ÿค– Model๐Ÿท๏ธ Class๐ŸŽฏ Best For
DeepSeek Reasoner๐Ÿง  Reasoning-focusedMath, logic, coding, multi-step analysis
DeepSeek Chat๐Ÿ’ฌ General chatCost-conscious general assistant workloads

โš ๏ธ Evaluate quality and data governance fit before production use.

๐ŸชŸ Microsoft MAI Models
๐Ÿค– Modelโ†”๏ธ Modality๐ŸŽฏ Best For
MAI-Thinking๐Ÿ’ฌ Text โ†’ ๐Ÿง  reasoningComplex reasoning in Microsoft AI Foundry
MAI-Code๐Ÿ’ฌ Text โ†’ ๐Ÿ’ป codeCode generation and software engineering
MAI-Image๐Ÿ’ฌ Text โ†’ ๐Ÿ–ผ๏ธ imageImage generation and editing in Microsoft tooling
MAI-Transcribe๐ŸŽ™๏ธ Audio โ†’ ๐Ÿ“„ textTranscription workflows
MAI-Voice๐Ÿ“„ Text โ†’ ๐Ÿ”Š audioGenerated spoken audio
๐Ÿ–ผ๏ธ Image Generation Models
๐Ÿค– Model๐ŸŽฏ Best For
GPT Image๐Ÿ–ผ๏ธ Creating or editing images in OpenAI workflows
DALL-E๐Ÿ“œ Older OpenAI image generation (legacy reference)
Stable Diffusion๐Ÿ  Local control, custom pipelines, fine-tuning
Midjourney๐ŸŽจ Creative ideation, concept art, marketing imagery
Adobe Firefly๐ŸŽญ Adobe ecosystem and commercially licensed images

๐Ÿ’ก GPT Image vs DALL-E: GPT Image is the current OpenAI image family. DALL-E is the older brand. Use GPT Image for modern workflows.

๐ŸŽ™๏ธ Speech and Voice Models
๐Ÿค– Modelโ†”๏ธ Direction๐ŸŽฏ Best For
Whisper๐ŸŽ™๏ธ Audio โ†’ ๐Ÿ“„ textMeeting transcripts, subtitles, voice notes
GPT Transcribe๐ŸŽ™๏ธ Audio โ†’ ๐Ÿ“„ textOpenAI transcription API workflows
GPT Realtime๐ŸŽ™๏ธ Audio โ†” ๐Ÿ”Š audioLow-latency voice agent conversations
ElevenLabs๐Ÿ“„ Text โ†’ ๐Ÿ”Š audioHigh-quality narration and generated voices
Azure Speech๐ŸŽ™๏ธ Audio โ†” ๐Ÿ“„ textEnterprise speech services in Azure

๐Ÿ“Œ Quick distinction:

  • ๐ŸŽ™๏ธ Audio โ†’ ๐Ÿ“„ text = speech-to-text (Whisper, GPT Transcribe)
  • ๐Ÿ“„ Text โ†’ ๐Ÿ”Š audio = text-to-speech (ElevenLabs, Azure Speech)
  • ๐ŸŽ™๏ธ Audio โ†” ๐Ÿ”Š audio = realtime voice (GPT Realtime)
๐Ÿ” Embedding and Search Models
๐Ÿค– Model๐ŸŽฏ Best For
OpenAI text-embedding-3-large๐ŸŽฏ High-quality embeddings where retrieval precision matters
OpenAI text-embedding-3-smallโšก High-volume semantic search at lower cost
Cohere Embed๐Ÿข Enterprise search-heavy RAG
Cohere Rerank๐Ÿ“Š Improving relevance order after retrieval
Jina Reranker๐Ÿ“Š Improving passage relevance in search and RAG
๐Ÿ  Open-Weight and Local Models
๐Ÿค– Model๐ŸŽฏ Best For
Meta Llama๐Ÿ  Self-hosting, customization, local deployment
Mistral๐ŸŒ Efficient general models, European provider requirements
Qwen๐ŸŒ Multilingual tasks, coding, local deployment experiments
Gemmaโšก Lightweight local or edge workloads

๐Ÿ’ก Open-weight models are useful when data privacy, customization, or cost at scale drives the decision away from hosted APIs.


Ask these questions before picking a model:

โ“ Question๐ŸŽฏ What It Changes
๐Ÿ“ฅ What is the input?Text, image, audio, video โ†’ different model categories
๐Ÿ“ค What is the output?Text, code, image, audio, vector โ†’ changes the model choice
๐Ÿงฉ Is the task complex?โœ… Yes โ†’ use a stronger reasoning model
๐Ÿ” Is the task repetitive at scale?โœ… Yes โ†’ use an SLM or fast model
๐Ÿ’ธ Is failure expensive?โœ… Yes โ†’ use the strongest model + add human review
โฑ๏ธ Is latency critical?โœ… Yes โ†’ use a balanced or fast model
๐Ÿ’ฐ Is cost a hard constraint?โœ… Yes โ†’ use the smallest model that reliably succeeds
๐Ÿ”’ Do you need private data?โœ… Yes โ†’ add retrieval, tools, or local deployment
๐Ÿ” Do you need semantic search?โœ… Yes โ†’ use embeddings + reranker before the LLM
๐ŸŒ Do you need current facts?โœ… Yes โ†’ add web search or database tools

โŒ Mistake 1 โ€” Using the Strongest Model for Everything

Section titled โ€œโŒ Mistake 1 โ€” Using the Strongest Model for Everythingโ€

This wastes money and is one of the most common AI cost problems.

๐Ÿ’ก Example: Classifying 50,000 support tickets with Claude Opus costs roughly 100ร— more than using Claude Haiku. If Haiku gets the label right 95% of the time, use Haiku and reserve Opus for the ambiguous 5%.


Section titled โ€œโŒ Mistake 2 โ€” Using an LLM When You Need Searchโ€

If the answer depends on private documents, a live database, or current facts, add retrieval or tools. An LLM without retrieval will hallucinate or give outdated answers.

๐Ÿ’ก Example: โ€œWhat is our Q3 revenue?โ€ โ†’ Do not send this to a plain LLM. Connect the model to a tool that queries your data warehouse and inject the result into the prompt.


Section titled โ€œโŒ Mistake 3 โ€” Using an LLM Instead of Embeddings for Searchโ€

For finding relevant content in a large corpus, use embeddings first. Use the LLM after retrieval to synthesize.

โŒ Wrong: Ask the LLM to search through 10,000 documents in a single prompt.
โœ… Right: Embed the documents, retrieve the top 5 by similarity, then pass those 5 to the LLM with the question.


Benchmarks help, but your real prompts, documents, latency requirements, and cost constraints matter more. Run evaluations on your own workload before committing to a model in production.


๐Ÿ–ฅ๏ธ Product (end-user app)๐Ÿค– Underlying Model Family
ChatGPTGPT (OpenAI)
Claude.aiClaude (Anthropic)
Gemini appGemini (Google)
Microsoft CopilotGPT + MAI + Azure
PerplexityMultiple models

๐Ÿ’ก Products are built on top of models. When comparing capabilities, make sure you are comparing the same layer.


๐Ÿ”ข Step๐Ÿ› ๏ธ Component
1๏ธโƒฃ โ†’ ๐Ÿ“„ Preprocess documentsChunking, cleaning, deduplication
2๏ธโƒฃ โ†’ ๐Ÿ”ข Create vectorsEmbedding model
3๏ธโƒฃ โ†’ ๐Ÿ” Retrieve passagesVector database
4๏ธโƒฃ โ†’ ๐Ÿ“Š Improve rankingReranker model
5๏ธโƒฃ โ†’ ๐Ÿ’ฌ Generate answerLLM
6๏ธโƒฃ โ†’ ๐Ÿ›ก๏ธ Check for safety riskModeration model

๐Ÿ”ข Step๐Ÿ› ๏ธ Component
1๏ธโƒฃ โ†’ ๐ŸŽ™๏ธ Capture and convert speechSpeech-to-text model
2๏ธโƒฃ โ†’ ๐Ÿง  Decide the right answerLLM or reasoning model
3๏ธโƒฃ โ†’ ๐Ÿ”Œ Call business APIsTool integration
4๏ธโƒฃ โ†’ ๐Ÿ”Š Speak the responseText-to-speech or realtime voice model

๐Ÿ”ข Step๐Ÿ› ๏ธ Component
1๏ธโƒฃ โ†’ ๐Ÿ“– Read the repositoryCoding-capable LLM
2๏ธโƒฃ โ†’ ๐Ÿ“‹ Plan the changesReasoning model
3๏ธโƒฃ โ†’ โœ๏ธ Edit filesCoding agent tools
4๏ธโƒฃ โ†’ ๐Ÿงช Run testsShell or CI tools
5๏ธโƒฃ โ†’ ๐Ÿ‘€ Review the diffCoding or reasoning model

๐Ÿ”ข Step๐Ÿ› ๏ธ Component
1๏ธโƒฃ โ†’ ๐Ÿ’ก Write the creative briefLLM
2๏ธโƒฃ โ†’ โœ๏ธ Generate an image promptLLM
3๏ธโƒฃ โ†’ ๐Ÿ–ผ๏ธ Create the imageImage generation model
4๏ธโƒฃ โ†’ ๐ŸŽจ Edit or refineImage editing model
5๏ธโƒฃ โ†’ ๐Ÿ“ Write alt textVision-capable LLM

Pick the smallest model that reliably succeeds on your task.

๐ŸŽฏ Workload Type๐Ÿค– Model Tier
โšก Simple, repeated, high-volume tasksSLM or fast model
โœ… Normal everyday production tasksBalanced LLM
๐Ÿ”ฌ Difficult, risky, or ambiguous tasksFrontier reasoning model
๐ŸŽญ Image, audio, vectors, or safety tasksSpecialized model for that modality

โš ๏ธ Model names, pricing, and availability change. Verify before making production decisions: