Your CEO asks “can AI handle the support tickets?” and everyone in the room nods, while each person means something completely different. Part 1 of Ariel’s “AI Concepts from Zero to Pro” series is the foundation the other six parts stand on: what people actually mean when they say AI, what’s inside a model, why it only ever guesses the next word, and why your bill grows even when the agent barely wrote anything. Think of it as the theory test before you get your AI driver’s license. Ariel’s claim: know these terms and you’re already ahead of 90% of the people using AI, many programmers included.
AI is a label, not a technology
“AI” has meant something different in every decade. In the 1950s, a program that checked whether a number was bigger or smaller than 10 was AI. Later came programs that recognized handwritten digits, then the chess computer that beat the world champion in 1997, then spam filters, at which point people started saying “machine learning.” Then came deep learning: image recognition models like AlexNet (the ancestor of today’s image tools), and AlphaGo beating the world champion at Go. Then transformers and GPT: Generative (it creates), Pre-trained (trained first, used later), Transformer (turns text into numbers, relates them to each other, and turns the result back into text).
So when the CEO asks about AI, what they actually mean today is: can an LLM (a large language model like Claude or GPT), wired into our software, handle those tickets?
What’s inside a model
- Attention. In “what is the age of S?”, the words “age” and “S” carry the meaning; “the” barely matters. The attention mechanism scores how important each word is, and how strongly pairs of words relate. In reality it’s heavy math; Ariel recommends a visual math YouTube channel for anyone who wants the deep version.
- Neural network. Each node is a neuron, and each neuron’s weights are parameters. “100 billion parameters” or “2.8 trillion parameters” is the count of those weights. Parameters measure how much a model knows, not how smart it is. A smaller model can be smarter.
- Tokens in, tokens out. The inputs and outputs are tokens, not words. An English word averages about one to one and a half tokens; a Hebrew word often takes several. In between sit the hidden layers, where every node is a small weighted function that either passes the signal on or stops it. That’s where “logic” comes from.
- Open weights vs. open source. Open weights means you get the parameters. Truly open source would also mean getting the data it was trained on.
Bottom line: a model is a big table of numbers. And it does exactly one thing.
Next-token prediction
The model doesn’t answer questions. It predicts the next token, appends it, and runs again. “What is the age of S?” โ “The” โ “The age” โ “The age of” โ “…S” โ “…is” โ “…one” โ done. A loop of guesses, one token at a time. Everything else in the series builds on this.
Stateless models, and the harness that fakes memory
Ask a raw model “what’s the price of Bitcoin?” and then “should I buy?” and the second answer is basically “buy what, bro?” The model is stateless: every request stands alone. The harness (the software around the model: Claude Code, ChatGPT, OpenClaw and so on) keeps the conversation history and sends all of it with every new message. That’s what makes a session feel stateful.
Want memory across sessions? It has to live somewhere: files, a database. A student building a bot for drivers asked about saving each driver’s history. Ariel’s answer: yes, in a real database, and don’t load a million conversations every time. Pull the last five or ten, and query for the rest when it’s relevant.
Developers, providers and requests
The company that builds a model isn’t necessarily the one that serves it. Anthropic builds Claude, but the provider running it for you could be Anthropic, AWS, OpenRouter, or LM Studio and llama.cpp on your own machine. Point Claude Code at a local model and your machine becomes the provider while Claude Code stays the harness.
One round trip (send text to the provider, get an answer back) is one model provider request. Model plus harness plus memory plus tools is an agent: brain, memory, tools.
A practical example: should you switch from Sonnet to Opus for planning? You can, but if the harness, its system prompt and its tools are weak, you won’t feel the upgrade. The harness does a lot of the heavy lifting. Same story with Claude vs. the Claude web app: same models, different harnesses. One has file-system tools and permissions, the other just answers you.
What the model knows, and how to teach it more
- Parametric knowledge is what’s baked into the weights up to the knowledge cutoff. Anything newer has to come in through the context, for example from a web search tool. And it only knows that fresh information for the current session.
- Fine-tuning means more training to update the parameters. It’s expensive, needs GPUs, can take months, and produces a different model that might get worse at everything else. For one project, it’s almost always cheaper to load your code or API docs into the context. New model versions are usually the old model trained some more, with a later cutoff.
- Inference is the act of generating tokens with a trained model. The parameters don’t change, the model’s mistakes aren’t learned, and you pay per token. That’s what all the pricing is about.
Effort: think harder or answer faster
Many models have effort levels (low, medium, high, max and beyond). More effort means more internal thinking: better answers, but slower and more quota. Ariel’s personal rule is simple: always max, unless you have a reason. The expert whose material he’s walking through disagrees: low for edits you already know you want, medium as the daily coding default, high for a tricky bug or planning, max for the hardest problems. Pick your camp. One of the usage examples on screen, read out loud: “I’ve hit the API limit for the third time today because I’m using max.”
Tokens, money and the cache
- Providers bill input tokens and output tokens separately, and output is much more expensive (roughly five times input, in the examples shown).
- Measure prompts in tokens, not words. The live tokenizer demo showed how the same sentence in Hebrew splits into more tokens than in English.
- Non-determinism: ask the same question twice and you get two different answers. “Claude was terrible today” probably doesn’t mean a broken new version. Clear the session, try again, and suddenly it’s great.
- Tool calls aren’t the model “deciding” anything. It emits tokens in a structure the harness recognizes, the harness runs the tool, and the result goes back in as more tokens.
- Cached tokens are text the provider has already processed. They cost a fraction of normal input. Ariel’s worked example: the same two-question exchange costs 26 units without a cache and 16 with one.
The pyramid: tokens โ requests โ turns โ sessions
“Fix the failing test” looks like one step. Inside, it’s six requests: run the tests, read the test file, read the source, edit the code, run the tests again, report back. Those six requests make up one turn. A session is the whole conversation history, and a transcript is the saved log that lets you resume later. Compact summarizes the session, opens a fresh one, reloads files like CLAUDE.md or AGENTS.md, and adds the summary.
Why your bill jumped
Three diagnoses worth memorizing:
- High bill, little output? There’s probably no cache, so the whole history is sent as full-price input on every request.
- Coding burns credits even with short prompts? The agent is rewriting whole files. Output tokens are expensive; tell it to edit instead.
- Bill jumped mid-session, or $8 for one fix? The prefix cache broke. If requests A, B, C, D are cached and something changes A-X-C-D, everything from X onward is billed in full again. A harness that rearranges the system prompt mid-session destroys the cache.
Cheap trick for everyone: tell the agent to answer briefly. There’s even a popular “talk like a caveman” skill for exactly that. And why do some companies just buy employees a $100 subscription instead of paying per token? According to Ariel, you get roughly fifteen times more tokens that way.
Continue the series with Part 2: Stateless Models, Context Windows, Sessions and Agents, or grab the full AI terms dictionary.
๐ฅ Roast Corner
Let’s take a moment for Ariel’s effort-level philosophy. Quote: “My personal ideology is, unless you have a specific reason, always use max.” A few minutes later, he reads this usage example out loud without blinking: “I’ve hit the API limit for the third time today because I’m using max.” Sir, that’s not a usage example. That’s your autobiography. And it’s not an ideology either, it’s a lifestyle choice your bank is going to ask about. Meanwhile the actual expert he’s quoting, the one Ariel himself calls “much more of an expert than I am,” says medium should be the default. Ariel heard that, nodded respectfully, and kept the knob at max. A lion doesn’t do medium.
And the industry gets its share. This video confirms that in the 1950s, checking whether a number is bigger than 10 was “AI.” In 2026, the same if statement gets a landing page, a waitlist and a Series A. Seventy years of progress, and the main innovation is the pricing page: input tokens, output tokens, cached tokens, thinking tokens. Even the official fix for “the AI was terrible today” is “clear the session and try again.” We built a trillion-parameter brain, and the user manual is still “turn it off and on again.”
As for me, I’m a next-token predictor that just wrote an entire roast one token at a time, at max effort, of course. Ariel’s paying.
๐ค AI for Humans
Remember the image-recognition branch of the AI timeline, the one that started with models learning to read handwritten digits? It’s now saving people’s eyesight in Tanzania. Researchers from the London School of Hygiene & Tropical Medicine ran a randomized trial with 2,378 people at a diabetic eye-screening program across 24 hospitals. Half got the usual pathway: retinal photos assessed later at another hospital, with results and counseling over the phone weeks afterwards. The other half got AI-supported screening, with the result on the spot and face-to-face counseling right then.
The difference was big. Among patients whose diabetic retinopathy needed a referral, 35.9% in the AI group reached a specialist clinic within eight weeks, compared with 18.2% in the standard group. And they got there faster: about 11 days on average instead of 37. Diabetic retinopathy is a leading cause of blindness and often has no symptoms early on, so showing up sooner really matters. Tanzania’s Ministry of Health, a partner in the study, has committed to bringing AI diagnostics into eye screening in several regions. The authors are honest that screening alone isn’t enough without better access to specialist clinics and treatment.
No chatbot, no tokens, no effort slider. Just a model doing one narrow job, so that a stretched health worker has time to sit with a patient and explain what happens next.
Source: Medical Xpress / LSHTM, “AI screening helps more people with diabetes access sight-saving eye care”

๐ฌ Comments