gistigo

Summary in English

How I use LLMs

ChannelAndrej Karpathy (opens YouTube)
Video
2 hr 11 min
On YouTube since

Introduction

A guide to the LLM ecosystem in 2025 explains how to effectively use tools like ChatGPT, Claude, and Perplexity in your daily work. The author analyzes the technical aspects of how models operate, from context window management to the use of advanced reasoning modes and multimodality.

Key takeaways 4 / 7

The gist of the content in a few sentences

  • Treat models as statistical document generators that compress knowledge from the internet, which carries a risk of hallucinations and outdated data.
  • Regularly clear the context window by starting new conversations to avoid precision loss and model slowdown.
  • Use reasoning models (o1 series, DeepSeek R1) for complex logical and programming tasks, accepting a longer wait time for responses.
  • Use web search and Deep Research tools to provide the model with up-to-date facts directly in its working memory.
Show all 7 takeaways
  • Implement few-shot prompting in Custom GPTs by providing specific examples to achieve precisely formatted results, such as in language learning.
  • Automate programming using AI-powered local editors like Cursor, which have access to the entire project context.
  • Utilize native voice modes and multimodality to analyze images, medical test results, or for interactive learning from classic texts.
Video chapters 79Click and the video will play from the selected moment

Summary

First 3 of 79 parts

The language model ecosystem in 2025

Since the debut of ChatGPT in 2022, which was the first to allow a mass audience to interact with a large language model via a text interface, the AI tool market has expanded significantly. Although the OpenAI product remains the most popular and feature-rich solution, in 2025 users have a rich and diverse ecosystem of applications at their disposal. The largest tech corporations have introduced their counterparts: Google is developing the Gemini model, Meta offers its own solutions, and Microsoft promotes the Copilot tool. Each offers unique experiences that may differ from a standard chat.

Beyond the tech giants, startups and international companies are active in the market, offering high-performance alternatives. Anthropic created the Claude model, Elon Musk's xAI is developing the Grok tool, and on the international stage, the Chinese DeepSeek and French Mistral are also significant players. To navigate this large group of products, it is worth using public rankings such as Chatbot Arena run by LMSYS or the leaderboard from Scale. These allow you to track ELO scores and evaluations of individual models, making it easier to identify the tools that perform best across a wide spectrum of tasks before moving on to practical testing.

Tokenization and text generation mechanisms

The basic interaction with a language model involves providing text and receiving a response, which works best for creative tasks such as writing poems, cover letters, or emails. For example, a request to write a haiku about being a language model results in the generation of a poetic response. Although in the ChatGPT interface this looks like a conversation with a friend in the form of chat bubbles, underneath, the user's query and the model's response are split into smaller units called tokens. The whole thing is actually a one-dimensional sequence of tokens that the model processes mathematically.

To visualize this process, one can use the Tiktokenizer tool, which shows how a specific text is perceived by the GPT-4o model. A sample query might consist of exactly 15 tokens, each with its own unique identifier from a dictionary of about 200,000 items. This process is case-sensitive, and any change in the text updates the token sequence in real time. In the example discussed, the model responded to the query with a sequence of 19 tokens, creating a complete haiku structure.

The conversation format is actually more complex than a simple string of characters because it must store metadata regarding roles in the dialogue. Under the hood, a special chat format is used where the system employs special tokens marking the start of messages from the user or the assistant. This allows the model to know which part of the text is a command and which is its own previous response, enabling the continuity of the conversation within a single conversation object.

Token streaming and context window mechanisms

Beneath the graphical interface that the user sees as chat bubbles lies the process of jointly building a token stream. The speaker explains that both the human and the model append data to the same sequence; a sample exchange of sentences might consist of exactly 42 tokens. When a user sends a message, they hand over control to the model, which continues the sequence until it generates a special token ending the response. Clicking the new conversation button in ChatGPT completely clears this window and resets the token counter to zero.

What is inside the sequence is referred to as the context window, which acts like the working memory of the current conversation. All information contained in this window is directly accessible to the model when generating subsequent elements. The speaker compares the model's pre-training stage to creating a lossy and probabilistic ZIP file, where internet content is compressed into neural network parameters. For example, a file one terabyte in size might correspond to about one trillion parameters, which do not store exact copies of data, but rather a general outline and the statistical probability of word occurrences.

Read the full summary – for free

76 parts of text left, key takeaways, facts, questions and answers, action items – with the source minute for every passage. Plus search, collections and the AI assistant.

Keep reading for free

Free, in a minute. Have an account? Log in

Free account

Read them in full – for free

  • 2 649 summaries in full – the gist, chapters, facts and takeaways
  • Full-text search, collections and an AI chat about every video
  • New videos from your channels summarized automatically, with an email notification