<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How it works on LoomLoops</title><link>https://loomloops.com/tags/how-it-works/</link><description>How everyday technology works: card payments, contactless taps, GPS and the blue dot, Wi-Fi in a far room, password managers, map traffic, QR codes and JPEG files.</description><language>en-us</language><lastBuildDate>Wed, 25 Nov 2026 09:15:00 +0000</lastBuildDate><atom:link href="https://loomloops.com/tags/how-it-works/index.xml" rel="self" type="application/rss+xml"/><item><title>Robotaxi: A Car With Nobody in the Driver's Seat</title><link>https://loomloops.com/post/tesla-robotaxi-austin-and-beyond/</link><pubDate>Wed, 25 Nov 2026 09:15:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-robotaxi-austin-and-beyond/</guid><description>&lt;p&gt;On Sunday 22 June 2025, Tesla&amp;rsquo;s Model Ys began carrying paying riders around South Austin with the driver&amp;rsquo;s seat empty. Riders paid a flat $4.20. In the front passenger seat sat a Tesla employee, called a safety monitor. &lt;a href="https://techcrunch.com/2025/06/22/tesla-launches-robotaxi-rides-in-austin-with-big-promises-and-unanswered-questions"&gt;TechCrunch&lt;/a&gt; put the fleet at about ten cars, going by Musk&amp;rsquo;s figure.&lt;/p&gt;&#10;&lt;p&gt;By the next day NHTSA, the US car safety regulator, had contacted Tesla. It told &lt;a href="https://fortune.com/2025/06/25/tesla-nhtsa-federal-regulators-traffic-safety-elon-musk/"&gt;Fortune&lt;/a&gt; it was &amp;ldquo;in contact with the manufacturer to gather additional information&amp;rdquo;. On 22 January 2026 Musk wrote that Tesla had &amp;ldquo;just started&amp;rdquo; Robotaxi drives in Austin &amp;ldquo;with no safety monitor in the car&amp;rdquo; (&lt;a href="https://www.cnbc.com/2026/01/22/musk-says-tesla-takes-safety-supervisors-out-of-some-austin-robotaxis.html"&gt;CNBC&lt;/a&gt;). By October, Tesla&amp;rsquo;s Q3 deck counted nearly two million &amp;ldquo;unsupervised&amp;rdquo; miles.&lt;/p&gt;&#10;&lt;p&gt;So what does &amp;ldquo;unsupervised&amp;rdquo; mean, and who is still watching? That is the whole story of this last part. Every claim below is labelled: &amp;ldquo;Tesla says&amp;rdquo;, &amp;ldquo;regulator&amp;rdquo;, or &amp;ldquo;outside&amp;rdquo;. Where they disagree, I show both.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 12 of Inside a Tesla. I like the car and the tech, so I researched it to feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&amp;ldquo;Supervised&amp;rdquo; means a human must watch the road and is responsible. &amp;ldquo;Unsupervised&amp;rdquo; means nobody in the car has that job. Around the unsupervised Robotaxi there are still people: remote staff, and, in Electrek&amp;rsquo;s report of 22 Jan 2026, trailing cars with monitors (no source I found says they stopped).&lt;/li&gt;&#10;&lt;li&gt;Tesla says nearly two million unsupervised miles by 30 Sep 2026. NHTSA&amp;rsquo;s crash file has 43 Tesla reports from its automated driving system through Sep 2026. Neither number alone shows how safe it is.&lt;/li&gt;&#10;&lt;li&gt;Regulators have opened files on Tesla&amp;rsquo;s driver-assist system, on the Cybercab and on the Robotaxi. An opening is a question, not a finding.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-scale-everyone-uses-sae-levels"&gt;The scale everyone uses: SAE levels&lt;/h2&gt;&#10;&lt;p&gt;When people argue about self-driving, they use the levels from SAE International, a standards body. The standard is &lt;a href="https://www.sae.org/standards/content/j3016_202104/"&gt;SAE J3016&lt;/a&gt;, and SAE shows it as a &lt;a href="https://www.sae.org/blog/sae-j3016-update"&gt;colour chart&lt;/a&gt;. I drew my own simple version, in my own words:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/sae-levels.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/sae-levels.svg" alt="SAE levels 0 to 5: at 0 to 2 a human watches the road, at 3 the system watches and a human takes over when asked, at 4 and 5 the system takes over itself. NHTSA records FSD (Supervised) as Level 2." loading="lazy" decoding="async" width="640" height="540"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The line that matters sits between Level 2 and Level 3. At Level 2 the system steers and controls speed, but the human is the one watching the road, and must be ready to act at once. J3016 says the driver &amp;ldquo;completes the OEDR subtask and supervises&amp;rdquo;. OEDR means object and event detection and response, which is the job of noticing things and reacting. From Level 3 up, the system watches. At Level 4 it also handles its own failures, but only inside the area and conditions it was built for.&lt;/p&gt;&#10;&lt;p&gt;Two points about the labels. NHTSA&amp;rsquo;s file on Tesla&amp;rsquo;s driver-assist software says that &amp;ldquo;Tesla characterizes FSD as an SAE Level 2 partial automation system requiring a fully attentive driver&amp;rdquo; (&lt;a href="https://static.nhtsa.gov/odi/inv/2025/INOA-PE25012-19171.pdf"&gt;NHTSA PE25012&lt;/a&gt;, 7 Oct 2025). Tesla&amp;rsquo;s Q3 2026 deck says only this in a footnote: &amp;ldquo;Active driver supervision required; does not make the vehicle autonomous&amp;rdquo; (&lt;a href="https://www.sec.gov/Archives/edgar/data/0001318605/000162828026066738/exhibit9914.htm"&gt;Tesla, 8-K exhibit 99.1&lt;/a&gt;). It does not say &amp;ldquo;Level 2&amp;rdquo;. That label is NHTSA recording Tesla&amp;rsquo;s own description. The Robotaxi is different. Tesla&amp;rsquo;s crash reports to NHTSA are filed as &amp;ldquo;ADS&amp;rdquo; (automated driving system), and in J3016 that word means Levels 3 to 5. I found no Tesla statement that names a level for the driverless Austin service.&lt;/p&gt;&#10;&lt;p&gt;One more note. ANSI lists a &lt;a href="https://webstore.ansi.org/standards/sae/sae30162026"&gt;2026 edition&lt;/a&gt; of J3016 that rewords the short level descriptions. I used the April 2021 text, because I could not read the new one.&lt;/p&gt;&#10;&lt;p&gt;The levels say who should watch. They do not say who actually does. Take one Robotaxi and look at the seats.&lt;/p&gt;&#10;&lt;h2 id="supervised-and-unsupervised-who-is-watching"&gt;Supervised and unsupervised: who is watching?&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/who-is-watching.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/who-is-watching.svg" alt="Who watches the road in four set-ups: a driver in a customer car, a monitor in the passenger seat at the 2025 Austin launch, empty cars from January 2026, and remote staff who can help or take control." loading="lazy" decoding="async" width="640" height="590"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Set-up A is the car in a driveway. Tesla calls the software FSD (Supervised), and the driver is the supervisor.&lt;/p&gt;&#10;&lt;p&gt;Set-up B is the launch. A person sits in the front passenger seat. TechCrunch noted it was unclear what control, if any, those monitors have.&lt;/p&gt;&#10;&lt;p&gt;Set-up C is where the word gets hard. Musk said some rides had no safety monitor in the car. Tesla&amp;rsquo;s vice president of software, Ashok Elluswamy, wrote that the service had &amp;ldquo;a few unsupervised vehicles mixed in with the broader robotaxi fleet with safety monitors&amp;rdquo; (CNBC). In an update to its story of that day, &lt;a href="https://electrek.co/2026/01/22/tesla-starts-robotaxi-rides-without-safety-monitor-in-austin-what-you-need-to-know/"&gt;Electrek&lt;/a&gt; reported video of black Tesla cars with monitors inside following the empty cars. Electrek&amp;rsquo;s reading: Tesla &amp;ldquo;just moved them to a different vehicle&amp;rdquo;. Tesla&amp;rsquo;s statement did not describe trailing cars, and I did not find another Tesla description of them.&lt;/p&gt;&#10;&lt;p&gt;Set-up D is the one most people forget. Somewhere, a person can help the car.&lt;/p&gt;&#10;&lt;h3 id="remote-help-advice-or-driving"&gt;Remote help: advice or driving?&lt;/h3&gt;&#10;&lt;p&gt;J3016 draws a clear line here. &lt;strong&gt;Remote assistance&lt;/strong&gt; is a person giving &amp;ldquo;information or advice&amp;rdquo; to a driverless car, and the car still does all the driving. &lt;strong&gt;Remote driving&lt;/strong&gt; is a person doing the driving task in real time. The standard notes that remote driving is sometimes called &amp;ldquo;teleoperation&amp;rdquo;, and avoids the word because people use it in different ways.&lt;/p&gt;&#10;&lt;p&gt;Tesla told a US senator&amp;rsquo;s inquiry that its remote staff &amp;ldquo;are authorized to temporarily assume direct vehicle control&amp;rdquo; as a final step (&lt;a href="https://techcrunch.com/2026/03/31/robotaxi-companies-refuse-to-say-how-often-their-avs-need-remote-help/"&gt;TechCrunch&lt;/a&gt;, 31 Mar 2026, quoting Tesla&amp;rsquo;s reply). TechCrunch&amp;rsquo;s account of the same reply: this applies to Tesla&amp;rsquo;s pilot fleet at 2 mph or less, and the remote operator cannot drive faster than 10 mph. Tesla gave no figure for how often this happens.&lt;/p&gt;&#10;&lt;p&gt;NHTSA&amp;rsquo;s crash file shows what that looks like in practice. In my reading of the 43 Tesla narratives, five describe a person at a distance in control when the car hit something. The speeds were between 0.4 and 9 mph, so inside the 10 mph cap TechCrunch reports. Two of the five were in 2025 and 2026 and were reported by &lt;a href="https://electrek.co/2026/05/15/tesla-unredacts-robotaxi-crash-narratives-nhtsa/"&gt;Electrek&lt;/a&gt;: the call for help came from the safety monitor in the car, and the teleoperator then drove. The other three were later, with no passengers aboard. J3016 would call those cases remote driving, since a person controlled the car in real time. That last sentence is my reading of the standard. It is not NHTSA&amp;rsquo;s or Tesla&amp;rsquo;s.&lt;/p&gt;&#10;&lt;p&gt;There is one more edge. The Robotaxi Safety Report that Tesla published on 21 October 2026 excludes miles with a monitor aboard. Drive Tesla writes (&lt;a href="https://driveteslacanada.ca/robotaxi/tesla-robotaxi-safety-report-zero-injuries/"&gt;article&lt;/a&gt;; I could not open Tesla&amp;rsquo;s own page): &amp;ldquo;Tesla says it counts every collision reported to NHTSA while a Robotaxi drives without a safety monitor, including cases where a remote operator is assisting.&amp;rdquo; So Tesla keeps remote help inside &amp;ldquo;unsupervised&amp;rdquo;. Someone else could fairly count a remote person who can step in as a form of supervision. The word does not settle it.&lt;/p&gt;&#10;&lt;p&gt;So the label depends on what you count as watching. The next question is how that label spread from one city to many.&lt;/p&gt;&#10;&lt;h2 id="from-one-city-to-many"&gt;From one city to many&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/timeline.svg" alt="Timeline of the Robotaxi, June 2025 to November 2026: Austin launch with a monitor, first rides with none in January 2026, five more cities by July, and four NHTSA files opened." loading="lazy" decoding="async" width="640" height="636"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Austin came first, with monitors. On 18 April 2026, &lt;a href="https://www.teslarati.com/tesla-expands-unsupervised-robotaxi-service-two-new-cities/"&gt;Teslarati&lt;/a&gt; reported that Tesla&amp;rsquo;s Robotaxi account announced Dallas and Houston, with a video from a passenger seat showing no monitor. Miami followed in early July, according to press reports. Orlando and Tampa were added on 21 July, the day before the Q2 call (&lt;a href="https://www.foxbusiness.com/markets/tesla-touts-380000-unsupervised-robotaxi-miles-zero-notable-incidents"&gt;Fox Business&lt;/a&gt;). In Austin, Tesla&amp;rsquo;s Q3 deck said hours were &amp;ldquo;6am to midnight&amp;rdquo;. About three weeks later Tesla&amp;rsquo;s Robotaxi account said service now runs 24/7 in every city it serves (&lt;a href="https://www.notateslaapp.com/news/4991/tesla-robotaxi-now-runs-247-in-every-city"&gt;Not a Tesla App&lt;/a&gt;, 12 Nov 2026, quoting the post).&lt;/p&gt;&#10;&lt;p&gt;How many cities is that? It depends on the date and on who is counting:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/city-counts.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/city-counts.svg" alt="How many Robotaxi cities? Counts range from 4 to 8 by source and date: 6 on Tesla’s Q3 call, 4 with NHTSA crash reports, and 8 unsupervised markets per Not a Tesla App on 12 November 2026." loading="lazy" decoding="async" width="640" height="584"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla&amp;rsquo;s Elluswamy said &amp;ldquo;we do 6 cities now&amp;rdquo; on the &lt;a href="https://www.fool.com/earnings/call-transcripts/2026/10/22/tesla-tsla-q3-2026-earnings-call-transcript/"&gt;Q3 call&lt;/a&gt; of 21 October. The deck itself names only Austin. The Q2 call (via Fox Business) named Austin, Dallas, Houston, Miami, Orlando and Tampa. The Open Robotaxi tracker says Tesla&amp;rsquo;s Q2 update counted &amp;ldquo;seven major metros&amp;rdquo;, with the Bay Area, against the call&amp;rsquo;s six. By 12 November, Not a Tesla App listed eight unsupervised markets, after adding &lt;a href="https://www.notateslaapp.com/news/4748/teslas-active-robotaxi-markets-and-their-sizes"&gt;Fort Worth&lt;/a&gt; (2 Nov) and &lt;a href="https://www.notateslaapp.com/news/4991/tesla-robotaxi-now-runs-247-in-every-city"&gt;San Antonio&lt;/a&gt;. The &lt;a href="https://open-robotaxi.vercel.app/"&gt;Open Robotaxi tracker&lt;/a&gt; uses a strict rule: a city counts when unsupervised rides with no in-car monitor were publicly announced. Its snapshot of 31 August had six, plus the Bay Area apart as supervised.&lt;/p&gt;&#10;&lt;p&gt;Fleet size is just as unclear. Tesla has not published one that I could find. The same tracker estimated about 85 cars at the end of August, and noted that Texas registrations showed about 269 Robotaxi Model Ys, which it treats as registered cars, not active ones. In January, a tracker cited by Electrek found 32 different Model Ys in Austin, with fewer than ten running at once. These are outside estimates, each with its own method.&lt;/p&gt;&#10;&lt;p&gt;California is a different case. The state&amp;rsquo;s DMV permit list, &lt;a href="https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/autonomous-vehicle-testing-permit-holders/"&gt;as of 17 November 2026&lt;/a&gt;, shows &amp;ldquo;Tesla Robotaxi LLC&amp;rdquo; only under testing with a safety driver. It is not under driverless testing or deployment. A California Public Utilities Commission official, Pat Tsen, said on the Driverless Digest Podcast that &amp;ldquo;Tesla is not operating an autonomous vehicle service&amp;rdquo; (&lt;a href="https://electrek.co/2026/03/25/california-regulator-confirms-tesla-not-operating-autonomous-vehicle-service/"&gt;Electrek&lt;/a&gt; reported it on 25 March). The Bay Area service uses a person in the driver&amp;rsquo;s seat. Electrek also reports that Tesla&amp;rsquo;s February 2026 filing to the commission called the service Level 2 (I did not read the filing). Texas has its own rule: since 28 May 2026, companies that run automated vehicles commercially must hold an &lt;a href="https://www.txdmv.gov/AVprogram"&gt;authorization from the state&amp;rsquo;s DMV&lt;/a&gt;. That page does not name companies, so I do not know Tesla&amp;rsquo;s status there.&lt;/p&gt;&#10;&lt;p&gt;Cities are one count. Miles are the other.&lt;/p&gt;&#10;&lt;h2 id="miles-three-tesla-numbers-three-wordings"&gt;Miles: three Tesla numbers, three wordings&lt;/h2&gt;&#10;&lt;p&gt;The Q3 deck says: &amp;ldquo;We reached nearly two million cumulative unsupervised miles for our Robotaxi service as of the end of the quarter&amp;rdquo;, and that these miles &amp;ldquo;grew eightfold quarter over quarter&amp;rdquo;. The deck gives no exact figure. Its chart axis runs to 2,000,000. If &amp;ldquo;nearly two million&amp;rdquo; is eight times the figure three months before, then end of June was about a quarter of a million miles. That is my arithmetic, not a Tesla number.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/miles-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/miles-chart.svg" alt="Three Tesla statements about Robotaxi miles: over 380,000 unsupervised (Q2 call), nearly 2 million cumulative unsupervised (Q3 deck), 3,112,541 autonomous (safety report). Wording and start dates differ." loading="lazy" decoding="async" width="640" height="460"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;On the day of the Q3 call, 21 October, Tesla also published a Robotaxi Safety Report. It gave a bigger number: 3,112,541 miles between 22 January and 18 October 2026, as &lt;a href="https://notateslaapp.com/news/4860/tesla-names-next-robotaxi-cities-shares-miles-driven-safety-data"&gt;Not a Tesla App&lt;/a&gt; reported it. The per-city miles add up to that total exactly:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;City&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Miles, 22 Jan to 18 Oct 2026&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Austin&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2,118,015&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Dallas&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;608,130&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Houston&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;225,964&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Orlando&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;61,053&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tampa&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;53,117&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Miami&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;46,262&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The deck says &amp;ldquo;unsupervised&amp;rdquo;. The report, as the press describes it, says &amp;ldquo;autonomous&amp;rdquo;. The windows differ too: the deck is cumulative to 30 September, and the report starts on 22 January. I found no Tesla note that reconciles them. So I would not chain these three into one line on a graph, and I did not.&lt;/p&gt;&#10;&lt;p&gt;What does Tesla&amp;rsquo;s report claim about safety? Per Drive Tesla&amp;rsquo;s summary, no one was injured by a Robotaxi, there were no airbag deployments, and no pedestrians or cyclists were hit. Tesla discloses its own limits. The injury count only covers crashes where a Robotaxi made first contact, while its human benchmark, built from Texas police data, counts all collisions. The miles exclude those with a monitor aboard. The benchmark covers only Tesla&amp;rsquo;s Texas markets.&lt;/p&gt;&#10;&lt;p&gt;Now compare what a regulator publishes.&lt;/p&gt;&#10;&lt;h2 id="what-nhtsas-crash-file-shows"&gt;What NHTSA&amp;rsquo;s crash file shows&lt;/h2&gt;&#10;&lt;p&gt;NHTSA runs a rule called the Standing General Order, or SGO. It says named companies must report crashes on public roads when an automated driving system, or a Level 2 driver-assist system, was engaged within 30 seconds of the crash. Crashes that meet set criteria are reported within five days, and other ADS crashes monthly (&lt;a href="https://www.federalregister.gov/d/2026-10363"&gt;Federal Register notice 2026-10363&lt;/a&gt;). The full data is a public file. I used the ADS file, whose server header says it was last modified on 16 November 2026. Its newest submissions are from October 2026.&lt;/p&gt;&#10;&lt;p&gt;I counted Tesla&amp;rsquo;s rows in that file, taking the newest version of each report ID:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; csv&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;newest &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; {}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; row &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; csv&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;DictReader(&lt;span style="color:#8be9fd;font-style:italic"&gt;open&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;&amp;#34;SGO-2021-01_Incident_Reports_ADS.csv&amp;#34;&lt;/span&gt;, encoding&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;utf-8-sig&amp;#34;&lt;/span&gt;)):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;if&lt;/span&gt; row[&lt;span style="color:#f1fa8c"&gt;&amp;#34;Reporting Entity&amp;#34;&lt;/span&gt;] &lt;span style="color:#ff79c6"&gt;!=&lt;/span&gt; &lt;span style="color:#f1fa8c"&gt;&amp;#34;Tesla, Inc.&amp;#34;&lt;/span&gt;:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;continue&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; key &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; row[&lt;span style="color:#f1fa8c"&gt;&amp;#34;Report ID&amp;#34;&lt;/span&gt;]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;if&lt;/span&gt; key &lt;span style="color:#ff79c6"&gt;not&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; newest &lt;span style="color:#ff79c6"&gt;or&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;int&lt;/span&gt;(row[&lt;span style="color:#f1fa8c"&gt;&amp;#34;Report Version&amp;#34;&lt;/span&gt;]) &lt;span style="color:#ff79c6"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;int&lt;/span&gt;(newest[key][&lt;span style="color:#f1fa8c"&gt;&amp;#34;Report Version&amp;#34;&lt;/span&gt;]):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; newest[key] &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; row&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#8be9fd;font-style:italic"&gt;len&lt;/span&gt;(newest)) &lt;span style="color:#6272a4"&gt;# 43 in the file dated 16 Nov 2026&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The file is at &lt;a href="https://static.nhtsa.gov/odi/ffdd/sgo-2021-01/SGO-2021-01_Incident_Reports_ADS.csv"&gt;static.nhtsa.gov&lt;/a&gt;. Here is what the 43 reports show, in my counts:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;All are model year 2026: 39 Model Y and 4 Cybercab. By city: Austin 30, Dallas 10, Houston 2, Tampa 1.&lt;/li&gt;&#10;&lt;li&gt;38 are property damage only. Three allege a minor injury, two of them with hospital care. None reports an airbag in the Tesla.&lt;/li&gt;&#10;&lt;li&gt;35 of 43 happened at 5 mph or less, and 17 with the Tesla at 0 mph. 15 were in parking lots. The fastest was 29 mph, a pothole.&lt;/li&gt;&#10;&lt;li&gt;19 narratives say a safety monitor was in the car (July 2025 to April 2026, plus one Cybercab in August 2026). Of the 25 reports from May to September 2026, 24 do not mention one.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/sgo-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/sgo-chart.svg" alt="Bar chart of 43 Tesla ADS crash reports to NHTSA by month, July 2025 to September 2026, peaking at 10 in August 2026. 19 narratives mention a safety monitor. Counts, not rates." loading="lazy" decoding="async" width="640" height="640"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Please read the chart for what it is. It counts reports, and the fleet grew a lot. The file has no miles. NHTSA says so itself, in its May 2026 Federal Register notice. The order &amp;ldquo;is an early-warning mechanism&amp;rdquo;, and &amp;ldquo;not currently a program designed to support normalized, &amp;lsquo;apples-to-apples&amp;rsquo; comparison scorecards&amp;rdquo;. It adds that putting fleet mileage into the program &amp;ldquo;would alter the focus and burdens of the reporting requirements&amp;rdquo;. Also, &amp;ldquo;does not mention a monitor&amp;rdquo; is not proof that none was there. The file has no field that says so directly.&lt;/p&gt;&#10;&lt;p&gt;The injury count is one place where Tesla&amp;rsquo;s report and the file need careful reading. Tesla&amp;rsquo;s report says no one was injured by a Robotaxi. The file has three minor-injury reports. Two are from July 2025, before the report&amp;rsquo;s 22 January start, and one is from September 2026. That one is a Dallas car hitting a pothole at about 29 mph, where the narrative says &amp;ldquo;one customer alleged they sought medical care&amp;rdquo;. Tesla says its injury count covers crashes where a Robotaxi made first contact. I cannot tell whether a pothole counts, so I do not call this a conflict. It is a definition to ask about.&lt;/p&gt;&#10;&lt;p&gt;Electrek&amp;rsquo;s earlier count for July 2025 to March 2026 was 17 reports. That matches my count for the same months. Tesla had at first marked every narrative as confidential, and later refiled the older reports without the label (&lt;a href="https://electrek.co/2026/05/15/tesla-unredacts-robotaxi-crash-narratives-nhtsa/"&gt;Electrek&lt;/a&gt; reported it on 15 May 2026), so all 43 narratives can now be read in the file.&lt;/p&gt;&#10;&lt;h2 id="the-cybercab"&gt;The Cybercab&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/cybercab-cabin-2024.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/cybercab-cabin-2024.jpg" alt="The Tesla Cybercab prototype cabin at its October 2024 unveiling: two seats, a screen, no steering wheel or pedals." loading="lazy" decoding="async" width="1200" height="900"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Steve Jurvetson, &lt;a href="https://creativecommons.org/licenses/by/2.0/"&gt;CC BY 2.0&lt;/a&gt;, via &lt;a href="https://commons.wikimedia.org/wiki/File:Inside_the_Tesla_Cybercab.jpg"&gt;Wikimedia Commons&lt;/a&gt;. This is the 2024 prototype, not a production car.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The Cybercab is the car built for this job: two seats, and no steering wheel or pedals. The photographer&amp;rsquo;s caption on the 2024 prototype reads &amp;ldquo;No steering wheel or pedals. Two comfy seats. One big screen.&amp;rdquo; On the Q1 2026 call Musk said, &amp;ldquo;We have just started production of Cybercab&amp;rdquo; (&lt;a href="https://electrek.co/2026/04/23/tesla-cybercab-production-starts-no-nhtsa-2500-vehicle-cap/"&gt;Electrek&lt;/a&gt;, 23 Apr 2026).&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s Q3 deck says Cybercab rides in Austin began on 3 September 2026. It lists installed annual capacity at Texas of &amp;ldquo;&amp;gt;125,000&amp;rdquo; with the status &amp;ldquo;Production&amp;rdquo;. Capacity is not output. On the call, Tesla said every Cybercab built so far goes to its own Robotaxi fleet, and that the Austin Cybercab fleet had grown &amp;ldquo;by a factor of 10&amp;rdquo; in about a month. Tesla&amp;rsquo;s Q3 call also said Cybercab rides were available only in Austin at that point.&lt;/p&gt;&#10;&lt;p&gt;The same day, 3 September, NHTSA opened audit query &lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-AQ26002-17078.pdf"&gt;AQ26002&lt;/a&gt;. Its resume says Tesla &amp;ldquo;notified the Agency that it certified those Cybercab vehicles as compliant with all applicable Federal Motor Vehicle Safety Standards (FMVSS)&amp;rdquo;. It notes the vehicles &amp;ldquo;lack permanently attached, conventional manual controls, such as a brake pedal, gas pedal, steering wheel, and mirrors&amp;rdquo;. NHTSA will &amp;ldquo;consider the extent to which Tesla&amp;rsquo;s certification depended on determinations that certain FMVSS are inapplicable to the Cybercab&amp;rdquo;. Earlier, when asked on X whether a 2,500-vehicle exemption cap applied to the Cybercab, Tesla&amp;rsquo;s Lars Moravy answered with one word: &amp;ldquo;No&amp;rdquo; (&lt;a href="https://electrek.co/2026/04/23/tesla-cybercab-production-starts-no-nhtsa-2500-vehicle-cap/"&gt;Electrek&lt;/a&gt;). NHTSA&amp;rsquo;s file takes no side. It is an audit of the paperwork, and I found no outcome as of 25 November.&lt;/p&gt;&#10;&lt;p&gt;Where does the Cybercab sit in the crash file? Four of the 43 reports are Cybercabs: one in August (with a monitor aboard, a water-filled pothole at 5 mph) and three in September, all at 5 mph or less.&lt;/p&gt;&#10;&lt;h2 id="the-regulators-file-by-file"&gt;The regulators, file by file&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/regulator-table.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/regulator-table.svg" alt="Regulator files on Tesla: EA26002 (FSD in glare and dust), PE25012 (traffic violations), RQ24009 (Autopilot recall), AQ26002 (Cybercab audit), DP26010 (school zones), and a California DMV ruling." loading="lazy" decoding="async" width="640" height="566"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The codes are letters and a number. The letters tell you the stage. Here is what each file says in its own words, from NHTSA&amp;rsquo;s opening resumes:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;DP26010, opened 9 October 2026.&lt;/strong&gt; This is a defect petition, a request from the public. NHTSA received it on 23 September, about &amp;ldquo;MY 2026 Tesla Robotaxi (Model Y and Cybercab)&amp;rdquo;, about 1,000 vehicles. The allegation is that the driving system &amp;ldquo;exceeds posted speed limits in active school zones&amp;rdquo;. The petitioner gave three video links. NHTSA lists four incidents, one complaint and three social media reports, with no crashes or injuries. It opened the file &amp;ldquo;to evaluate the allegations and determine whether to grant or deny the petition&amp;rdquo; (&lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-DP26010-19159.pdf"&gt;resume&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;AQ26002, opened 3 September 2026.&lt;/strong&gt; The Cybercab audit above.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;EA26002, opened 18 March 2026.&lt;/strong&gt; An engineering analysis, upgraded from preliminary evaluation &lt;a href="https://static.nhtsa.gov/odi/inv/2024/INOA-PE24031-23232.pdf"&gt;PE24031&lt;/a&gt; of 17 October 2024. It covers 3,203,754 cars with FSD (Supervised). It asks about &amp;ldquo;failure of the FSD&amp;rsquo;s degradation detection system, when encountering reduced roadway visibility conditions, to detect a degraded state and to warn the driver appropriately&amp;rdquo;. NHTSA describes Tesla&amp;rsquo;s system as one that &amp;ldquo;relies exclusively on vision-based cameras&amp;rdquo; (&lt;a href="https://loomloops.com/post/tesla-vision-cameras-no-radar/"&gt;part 6&lt;/a&gt; covers those cameras). It lists 9 crashes and 1 fatality. Tesla&amp;rsquo;s own analysis, NHTSA says, was that an update &amp;ldquo;may have affected 3 of the 9 incidents&amp;rdquo; (&lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-EA26002-10023.pdf"&gt;resume&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;PE25012, opened 7 October 2025.&lt;/strong&gt; A preliminary evaluation of FSD (Supervised) behaviours such as &amp;ldquo;proceeding through red traffic signals and driving against the proper direction of travel&amp;rdquo;, over 2,882,566 cars. At opening, NHTSA had 58 incidents on file, 14 of them crashes. A follow-up &lt;a href="https://static.nhtsa.gov/odi/inv/2025/INIM-PE25012-30897.pdf"&gt;information request&lt;/a&gt; of 3 December 2025 listed 62 complaints, 4 media reports and 14 SGO reports and asked Tesla to answer by 19 January 2026. NHTSA then gave Tesla about five more weeks, to 23 February (&lt;a href="https://www.bloomberg.com/news/articles/2026-01-16/tesla-needs-weeks-to-review-8-313-potential-traffic-violations"&gt;Bloomberg&lt;/a&gt;, 16 Jan 2026); &lt;a href="https://electrek.co/2026/02/23/tesla-nhtsa-fsd-traffic-violation-investigation-second-extension/"&gt;Electrek&lt;/a&gt; reports a second extension, to 9 March (I read only its search summary). I found no later upgrade or closing document (&lt;a href="https://static.nhtsa.gov/odi/inv/2025/INOA-PE25012-19171.pdf"&gt;resume&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;RQ24009, opened 25 April 2024.&lt;/strong&gt; A recall query, to check whether Tesla&amp;rsquo;s own Autopilot recall 23V838 was enough. NHTSA writes that its earlier investigation &amp;ldquo;identified at least 13 crashes involving one or more fatalities&amp;rdquo; where &amp;ldquo;foreseeable driver misuse of the system played an apparent role&amp;rdquo;. Tesla&amp;rsquo;s recall report had said &amp;ldquo;the prominence and scope of the system&amp;rsquo;s controls may be insufficient to prevent driver misuse&amp;rdquo; (&lt;a href="https://static.nhtsa.gov/odi/inv/2024/INOA-RQ24009-12046.pdf"&gt;resume&lt;/a&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Status in this list is as the files were opened. For the NHTSA items I did not find closing documents by 25 November 2026, but I did not check every page NHTSA hosts.&lt;/p&gt;&#10;&lt;p&gt;The Robotaxi has two open questions, one about speed in school zones and one about how the Cybercab was certified. The older files are about the supervised software that customers drive with. The two may not stay separate: on the Q3 call, Elluswamy said &amp;ldquo;somewhere around Q2 next year is when we can turn on some of the first customer vehicles&amp;rdquo; for the unsupervised network.&lt;/p&gt;&#10;&lt;p&gt;One more regulator acted on words instead of software. California&amp;rsquo;s DMV found in its &lt;a href="https://www.dmv.ca.gov/portal/news-and-media/dmv-finds-tesla-violated-california-state-law/"&gt;16 December 2025 decision&lt;/a&gt; that Tesla&amp;rsquo;s use of &amp;ldquo;Autopilot&amp;rdquo; and &amp;ldquo;Full Self-Driving Capability&amp;rdquo; &amp;ldquo;is misleading and violates state law&amp;rdquo;. The judge had proposed 30-day licence suspensions. The DMV stayed the manufacturer one and gave Tesla 60 days. On 17 February 2026 the DMV said &lt;a href="https://www.dmv.ca.gov/portal/news-and-media/tesla-takes-corrective-action-to-avoid-dmv-suspension/"&gt;Tesla had stopped using &amp;ldquo;Autopilot&amp;rdquo;&lt;/a&gt; in its California marketing, and uses &amp;ldquo;Full Self-Driving (Supervised)&amp;rdquo;. In this case the regulator did decide. It ruled on advertising, and it did not rule on how the car drives.&lt;/p&gt;&#10;&lt;p&gt;Before any of these, there was the NTSB.&lt;/p&gt;&#10;&lt;h2 id="the-ntsb-what-happens-when-the-supervisor-stops-watching"&gt;The NTSB: what happens when the supervisor stops watching&lt;/h2&gt;&#10;&lt;p&gt;The NTSB is a separate agency. It investigates crashes and makes recommendations. NHTSA writes and enforces the rules. Its work on Tesla is older, from 2016 and 2018, and it is about supervised cars.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/williston-model-s.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/williston-model-s.jpg" alt="A black Tesla Model S with its roof torn away and a crushed front end, in a lot after the 7 May 2016 crash near Williston, Florida." loading="lazy" decoding="async" width="1200" height="693"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Florida Highway Patrol, via NTSB (public domain), via Wikimedia Commons. The 2015 Model S after the 7 May 2016 crash near Williston, Florida.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The Williston crash killed the Model S driver. The NTSB found the probable cause was &amp;ldquo;the truck driver&amp;rsquo;s failure to yield the right of way to the car&amp;rdquo; together with &amp;ldquo;the car driver&amp;rsquo;s inattention due to overreliance on vehicle automation&amp;rdquo; (&lt;a href="https://www.ntsb.gov/investigations/Pages/HWY16FH018.aspx"&gt;NTSB HWY16FH018&lt;/a&gt;). It said the system&amp;rsquo;s design permitted prolonged disengagement from driving. For Mountain View in 2018, it found the cause was the Autopilot system &amp;ldquo;steering the sport utility vehicle into a highway gore area due to system limitations&amp;rdquo;, and also cited the driver&amp;rsquo;s lack of response, likely from a phone game, and overreliance on Autopilot. Ineffective monitoring of driver engagement was a contributing factor (&lt;a href="https://www.ntsb.gov/investigations/Pages/HWY18FH011.aspx"&gt;NTSB HWY18FH011&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The common thread is a person who is supposed to supervise and stops. Taking the human out of the supervisor&amp;rsquo;s job is one answer to that. It also means the system, and the company running the fleet, must handle every case that a supervisor used to catch. That is my reading, not the NTSB&amp;rsquo;s.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Is Tesla&amp;rsquo;s Robotaxi really driverless?&lt;/strong&gt;&#10;Some rides have nobody inside, per Tesla&amp;rsquo;s statements since January 2026. Remote staff can help, and as a last step, per Tesla&amp;rsquo;s reply to a senator, take control at low speed. In California the service runs with a person in the driver&amp;rsquo;s seat.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is FSD (Supervised) the same as the Robotaxi?&lt;/strong&gt;&#10;No. FSD (Supervised) is Level 2 driver assistance, per Tesla&amp;rsquo;s description as recorded by NHTSA, and the driver is responsible. The Robotaxi is filed with NHTSA as an automated driving system and runs on Tesla&amp;rsquo;s own fleet.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Has NHTSA found the Robotaxi defective?&lt;/strong&gt;&#10;In the files I read, no. DP26010 asks whether to grant or deny a petition. AQ26002 audits the Cybercab&amp;rsquo;s certification. Neither is a finding.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can I compare Tesla&amp;rsquo;s crash count with another company&amp;rsquo;s?&lt;/strong&gt;&#10;Not from the SGO file. It has no miles, and NHTSA says it is not built for ranking. A fair comparison needs miles, the same definitions and independent checks. Tesla&amp;rsquo;s own report adds miles, but only Tesla&amp;rsquo;s.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is a safety monitor the same as a driver?&lt;/strong&gt;&#10;Not in J3016. The words &amp;ldquo;safety monitor&amp;rdquo; do not appear in the standard. In California the CPUC treats the person in the driver&amp;rsquo;s seat as the driver (Electrek&amp;rsquo;s account of the CPUC). In Austin the monitor sits in the passenger seat, and what control that seat gives is not clear from public sources.&lt;/p&gt;&#10;&lt;h2 id="what-to-watch-next"&gt;What to watch next&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/watch-next.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-robotaxi-austin-and-beyond/watch-next.svg" alt="What to watch next. For Tesla: NHTSA reports growing slower than miles, the Cybercab audit closing, customer cars joining by Q2 2027. For caution: a defect finding, or reports outpacing miles." loading="lazy" decoding="async" width="640" height="472"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Each side has something it can point to. For Tesla: nearly two million unsupervised miles by 30 September, more cities each month, and a safety report with no injuries counted under its rules. For the cautious reading: 43 crash reports from a young fleet, a Cybercab certification under audit, one school-zone petition, and remote help that is real but unmeasured in public.&lt;/p&gt;&#10;&lt;p&gt;My own view is a modest one. The numbers are public, and most of them can be checked. The two things I would look at first are miles next to crash reports for the same period, and how often remote staff step in. Tesla could publish both. NHTSA&amp;rsquo;s file has neither miles nor the number of remote interventions, only the crashes.&lt;/p&gt;&#10;&lt;p&gt;Next: this is the end of the series. The car is built, it sees, it decides, it learns, and Tesla says it now drives some rides with nobody inside. What to watch is whether the next few NHTSA releases and Tesla&amp;rsquo;s next decks let someone outside the company check that claim, one mile at a time.&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.sec.gov/Archives/edgar/data/0001318605/000162828026066738/exhibit9914.htm"&gt;Tesla Q3 2026 update, 8-K exhibit 99.1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/10/22/tesla-tsla-q3-2026-earnings-call-transcript/"&gt;Tesla Q3 2026 earnings call transcript&lt;/a&gt; (Motley Fool copy of the call)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.tesla.com/robotaxi/safety"&gt;Tesla Robotaxi Safety Report&lt;/a&gt; (21 Oct 2026; I could not load the page and relied on press summaries)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulators and standards&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;NHTSA files: &lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-DP26010-19159.pdf"&gt;DP26010&lt;/a&gt;, &lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-AQ26002-17078.pdf"&gt;AQ26002&lt;/a&gt;, &lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-EA26002-10023.pdf"&gt;EA26002&lt;/a&gt;, &lt;a href="https://static.nhtsa.gov/odi/inv/2024/INOA-PE24031-23232.pdf"&gt;PE24031&lt;/a&gt;, &lt;a href="https://static.nhtsa.gov/odi/inv/2025/INOA-PE25012-19171.pdf"&gt;PE25012&lt;/a&gt;, &lt;a href="https://static.nhtsa.gov/odi/inv/2024/INOA-RQ24009-12046.pdf"&gt;RQ24009&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nhtsa.gov/laws-regulations/standing-general-order-crash-reporting"&gt;NHTSA Standing General Order crash reporting&lt;/a&gt; and the &lt;a href="https://static.nhtsa.gov/odi/ffdd/sgo-2021-01/SGO-2021-01_Incident_Reports_ADS.csv"&gt;ADS data file&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.federalregister.gov/d/2026-10363"&gt;Federal Register notice 2026-10363 on SGO incident reporting&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.dmv.ca.gov/portal/news-and-media/dmv-finds-tesla-violated-california-state-law/"&gt;California DMV decision, 16 Dec 2025&lt;/a&gt; and &lt;a href="https://www.dmv.ca.gov/portal/news-and-media/tesla-takes-corrective-action-to-avoid-dmv-suspension/"&gt;follow-up, 17 Feb 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.dmv.ca.gov/portal/vehicle-industry-services/autonomous-vehicles/autonomous-vehicle-testing-permit-holders/"&gt;California DMV autonomous vehicle permit holders&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.txdmv.gov/AVprogram"&gt;Texas DMV automated vehicles program&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ntsb.gov/investigations/Pages/HWY16FH018.aspx"&gt;NTSB HWY16FH018, Williston&lt;/a&gt; and &lt;a href="https://www.ntsb.gov/investigations/Pages/HWY18FH011.aspx"&gt;NTSB HWY18FH011, Mountain View&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.sae.org/standards/content/j3016_202104/"&gt;SAE J3016 (April 2021)&lt;/a&gt;, the &lt;a href="https://www.sae.org/blog/sae-j3016-update"&gt;SAE levels chart&lt;/a&gt; and the &lt;a href="https://webstore.ansi.org/standards/sae/sae30162026"&gt;2026 edition listing&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis and reporting&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2025/06/22/tesla-launches-robotaxi-rides-in-austin-with-big-promises-and-unanswered-questions"&gt;TechCrunch: the Austin launch, 22 Jun 2025&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://fortune.com/2025/06/25/tesla-nhtsa-federal-regulators-traffic-safety-elon-musk/"&gt;Fortune: NHTSA contacts Tesla, 25 Jun 2025&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.cnbc.com/2026/01/22/musk-says-tesla-takes-safety-supervisors-out-of-some-austin-robotaxis.html"&gt;CNBC: no safety monitor in some Austin cars, 22 Jan 2026&lt;/a&gt; and &lt;a href="https://electrek.co/2026/01/22/tesla-starts-robotaxi-rides-without-safety-monitor-in-austin-what-you-need-to-know/"&gt;Electrek, the same day&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2026/03/31/robotaxi-companies-refuse-to-say-how-often-their-avs-need-remote-help/"&gt;TechCrunch: robotaxi companies and remote help, 31 Mar 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/05/15/tesla-unredacts-robotaxi-crash-narratives-nhtsa/"&gt;Electrek: Tesla unredacts crash narratives, 15 May 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/03/25/california-regulator-confirms-tesla-not-operating-autonomous-vehicle-service/"&gt;Electrek: the CPUC on Tesla, 25 Mar 2026&lt;/a&gt; and &lt;a href="https://electrek.co/2026/04/23/tesla-cybercab-production-starts-no-nhtsa-2500-vehicle-cap/"&gt;Electrek: Cybercab production, 23 Apr 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.teslarati.com/tesla-expands-unsupervised-robotaxi-service-two-new-cities/"&gt;Teslarati: Dallas and Houston, 18 Apr 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.foxbusiness.com/markets/tesla-touts-380000-unsupervised-robotaxi-miles-zero-notable-incidents"&gt;Fox Business: Tesla&amp;rsquo;s Q2 call remarks, 22 Jul 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.notateslaapp.com/news/4748/teslas-active-robotaxi-markets-and-their-sizes"&gt;Not a Tesla App: markets and their sizes&lt;/a&gt;, &lt;a href="https://www.notateslaapp.com/news/4991/tesla-robotaxi-now-runs-247-in-every-city"&gt;24/7 in every city&lt;/a&gt; and &lt;a href="https://notateslaapp.com/news/4860/tesla-names-next-robotaxi-cities-shares-miles-driven-safety-data"&gt;Tesla&amp;rsquo;s safety report, 21 Oct 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://driveteslacanada.ca/robotaxi/tesla-robotaxi-safety-report-zero-injuries/"&gt;Drive Tesla: the Robotaxi Safety Report&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://open-robotaxi.vercel.app/"&gt;Open Robotaxi tracker&lt;/a&gt; (independent, snapshot of 31 Aug 2026)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>The Data Engine: How Tesla Teaches the Car</title><link>https://loomloops.com/post/tesla-data-engine-dojo-cortex/</link><pubDate>Thu, 19 Nov 2026 17:30:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-data-engine-dojo-cortex/</guid><description>&lt;p&gt;In June 2021, at a computer vision workshop, Tesla&amp;rsquo;s Andrej Karpathy said his team had written 221 small rules by hand to pull hard examples out of customer cars. Tesla calls them triggers. They came out of roughly four months of work on one problem, replacing radar with cameras. One rule asks whether the main and narrow cameras disagree. Another asks whether a new network predicts a car braking hard when the driver does not seem to mind.&lt;/p&gt;&#10;&lt;p&gt;Those rules are the key to this part. The network in your car does not learn on the road. It stays the same until the next software update. The learning happens on servers, from examples, and the real question is who picks the examples. Tesla calls the answer the data engine.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 11 of Inside a Tesla. I like the car and the tech, so I researched it to feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The data engine is a loop. Find a mistake, write a rule that finds more cases like it, collect those clips from the fleet, label them, retrain, test the new network quietly in customer cars, and go round again. Karpathy said the dataset behind Tesla&amp;rsquo;s vision-only Autopilot went through seven rounds of shadow mode.&lt;/li&gt;&#10;&lt;li&gt;Labelling is done more and more by software. Offline networks rebuild the road from many trips and use the future frames of each clip. Simulation covers cases that are rare or hard to label.&lt;/li&gt;&#10;&lt;li&gt;All of it runs on GPUs. Tesla&amp;rsquo;s own figures go from 5,760 A100s (June 2021) to more than 230,000 H100 equivalents in April 2026 (my sum of two Tesla figures). Dojo, Tesla&amp;rsquo;s own training chip, has a dated story where Tesla, Musk and the press each say something different.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-loop-in-one-picture"&gt;The loop in one picture&lt;/h2&gt;&#10;&lt;p&gt;Here is the whole thing. Every box is explained below, and every number has a source and a date.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/data-engine-loop.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/data-engine-loop.svg" alt="The data engine loop: find a failure, write a trigger, the fleet sends clips if the owner opted in, label, retrain, shadow-test, repeat. Tesla said one signal went round five times in 2022." loading="lazy" decoding="async" width="640" height="480"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla has given a few numbers for one pass. Karpathy&amp;rsquo;s June 2021 talk described a dataset of about 1.5 petabytes: one million videos of 10 seconds each, with 6 billion labelled objects. He said the team spun the loop &amp;ldquo;over and over again until the network basically becomes incredibly good&amp;rdquo; (&lt;a href="https://www.youtube.com/watch?v=g6bOwQdCJrc"&gt;talk video&lt;/a&gt;, &lt;a href="https://venturebeat.com/business/tesla-ai-chief-explains-why-self-driving-cars-dont-need-lidar"&gt;VentureBeat&amp;rsquo;s report&lt;/a&gt;). I checked the figures against the video captions. At AI Day in September 2022, a Tesla engineer said one signal, the one that tells a car whether another vehicle is moving, had been updated five times that year, each time with new data (&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;AI Day 2022&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;So one lap is not a one-off project. It is a routine. The first step of the routine is the clever one.&lt;/p&gt;&#10;&lt;h2 id="steps-1-and-2-a-rule-that-spots-the-moment"&gt;Steps 1 and 2: a rule that spots the moment&lt;/h2&gt;&#10;&lt;p&gt;A trigger is a rule that runs in the car and says: keep this moment. Karpathy showed examples in 2021 that are mostly disagreements: a new network that does not match the old stack or the radar the car still had then, jitter in a bounding box, the main and narrow cameras not agreeing, a predicted hard brake that the driver ignores. VentureBeat also reports tunnel entry and exit as a known hard scene.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s patent &lt;a href="https://patents.google.com/patent/EP3850549A1/en"&gt;EP3850549B1&lt;/a&gt; explains how this can be cheap. Karpathy is the only named inventor, the priority date is 14 September 2018, and the European patent was granted on 28 May 2025. A small classifier reads an intermediate result of the driving network, so the car does not need a second network. If the score passes a threshold, the car keeps the sensor data and uploads it. The patent gives example conditions. A trigger may capture a tunnel &amp;ldquo;only at dawn and dusk&amp;rdquo;. Another may fire at most every 30 minutes, and only after the car has been driven for at least 20 minutes. The patent&amp;rsquo;s Figure 1A shows a car spotting a tyre on the road.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/trigger-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/trigger-timeline.svg" alt="One trigger, illustrated. In a tunnel the shadow network predicts braking but the driver holds speed. After a 2 second gap the car saves a 10 second clip. Idea from patent EP3850549B1, not fleet data." loading="lazy" decoding="async" width="640" height="500"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The picture is my illustration of the idea in the patent. It is not a real trace.&lt;/p&gt;&#10;&lt;p&gt;The grey line is shadow mode, the second kind of trigger. Karpathy said the new network runs silently in customer cars. It sends no commands. Its output is compared with the old network, with the radar and with what the driver did. A disagreement is a reason to keep a clip. &lt;a href="https://spectrum.ieee.org/tesla-autopilot-data-deluge"&gt;IEEE Spectrum&lt;/a&gt; wrote in August 2022 that shadow mode has run since 2016 and that Karpathy told it a new detector brings back thousands of images quickly. It also quotes one outside expert who says shadow mode captures only a small share of driving time.&lt;/p&gt;&#10;&lt;p&gt;Why not let a network write the triggers? VentureBeat reports that Karpathy said this is hard, because a trigger is a judgement about meaning: something &amp;ldquo;semantic that you as a person have to intuit&amp;rdquo;. That line is not in the talk captions I read, so it may come from the question time. On the count, the captions say 221, a number &lt;a href="https://medium.com/dynamically-typed/70-karpathy-on-tesla-autopilot-at-cvpr21-distill-s-hiatus-and-tattling-on-flemish-scrollers-1d5a9fe7ef80"&gt;Dynamically Typed&amp;rsquo;s summary&lt;/a&gt; also gives. VentureBeat wrote &amp;ldquo;more than 200&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;Four years later the idea was the same. In an October 2025 talk, Tesla&amp;rsquo;s Ashok Elluswamy said the fleet gives Tesla &amp;ldquo;the Niagara Falls of data&amp;rdquo;. He said 500 years of driving is more data than Tesla could ever store on its clusters. He said Tesla picks data with &amp;ldquo;explicit triggers or small neural networks targeting specific scenarios&amp;rdquo; and by &amp;ldquo;constantly evaluating what the model predicted versus what actually happened&amp;rdquo; (&lt;a href="https://ceointerviews.ai/interview/721812/"&gt;transcript copy&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h2 id="step-3-what-leaves-the-car"&gt;Step 3: what leaves the car&lt;/h2&gt;&#10;&lt;p&gt;If a trigger fires, something is uploaded. What exactly, and who agreed to it? This is what Tesla&amp;rsquo;s own documents say. I could not open tesla.com from my tools, so the manual below is the English edition for China, which Tesla hosts on tesla.cn. Wording for other regions may differ.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Question&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What Tesla says&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Where&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Is fleet learning opt-in?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;Certain advanced data collection (e.g., Fleet Learning or Cabin Camera Analytics) is opt-in&amp;rdquo; and is controlled in Controls &amp;gt; Software &amp;gt; Data Sharing&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/Data-Provision-Disclosure-EN.pdf"&gt;EU Data Act disclosure&lt;/a&gt; (undated)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;How big is a clip?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Fleet Learning video clips &amp;ldquo;may be several MBs and are collected only in limited scenarios&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;same disclosure&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Does it name you?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The data &amp;ldquo;does not identify you personally and can be sent to Tesla only with your explicit consent&amp;rdquo;. The same passage says &amp;ldquo;Tesla shares this data with partners that contribute similar data&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://www.tesla.cn/ownersmanual/modely/en_cn/Owners_Manual.pdf"&gt;Model Y 2025+ manual&lt;/a&gt;, Data Sharing section (software 2026.26.200.11)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;What about location?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla &amp;ldquo;does not record or store vehicle-specific GPS information, except the location where a crash occurred&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;same manual&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Poor-visibility images&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;They stay in the car unless Data Sharing allows it, and are deleted after two days&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;same manual&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Diagnostic data&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The car records VIN, speed, direction, location, charging events and fault codes, and its telematics system sends vehicle information to Tesla &amp;ldquo;on a periodic basis&amp;rdquo;. This reads as a separate channel from Data Sharing&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;same manual, Vehicle Telematics&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Look at the last two rows together. The telematics section lists &amp;ldquo;location&amp;rdquo; among the recorded data. The Data Sharing note says Tesla does not store vehicle-specific GPS information apart from where a crash happened. I could not reconcile the two sentences, and they may be written for different purposes or regions.&lt;/p&gt;&#10;&lt;p&gt;Two more things are worth keeping in mind. First, the patent also says location and identifying information &amp;ldquo;may be anonymized&amp;rdquo; and that its methods &amp;ldquo;may require affirmative user consent (e.g., opt-in)&amp;rdquo;. The words are about how the system could work, not a promise about any one car.&lt;/p&gt;&#10;&lt;p&gt;Second, the rules have moved before. In November 2021 &lt;a href="https://techcrunch.com/2021/11/24/tesla-requires-full-self-driving-testers-to-allow-video-collection-in-case-of-a-crash"&gt;TechCrunch&lt;/a&gt; reported that the FSD Beta agreement asked drivers to consent to &amp;ldquo;VIN-associated image data&amp;rdquo; from the external and cabin cameras after a serious safety risk or a collision. It said this was the first time Tesla would link footage to a specific car and driver. The EU Data Act is the law behind the disclosure above: &lt;a href="https://eur-lex.europa.eu/eli/reg/2023/2854/oj/eng"&gt;Regulation (EU) 2023/2854&lt;/a&gt;. I found no Tesla text that lists which uploads each switch controls. The screen on the car is the place to check.&lt;/p&gt;&#10;&lt;h2 id="step-4-labels-mostly-by-machine"&gt;Step 4: labels, mostly by machine&lt;/h2&gt;&#10;&lt;p&gt;Clips arrive without labels. Someone has to mark the lanes, the cars and the walkers. At AI Day in August 2021 Karpathy said Tesla had brought labelling in-house, with a team of more than a thousand people, and had moved from drawing on single images to labelling in 3D, then projecting the labels back into every camera view. But he said people are good at meaning and computers are good at geometry, and the future was a mix (&lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;AI Day 2021&lt;/a&gt;, &lt;a href="https://pharath.github.io/self%20driving/post-Tesla-AI-day-2021"&gt;transcript copy&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The computer side was shown by Elluswamy. Servers run large networks over each clip offline, which can be slow because no car has to run them. A clip is 45 seconds to a minute of video, motion and GPS data. From it the servers rebuild the road surface, and he showed 16 trips through one place being aligned in a single optimisation.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/autolabel-reconstruction.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/autolabel-reconstruction.svg" alt="Auto-labelling joins trips A, B and C into one road reconstruction, and a new trip is labelled in about 30 minutes. Tesla claimed at AI Day 2022 that 5 million hand hours became 12 cluster hours." loading="lazy" decoding="async" width="640" height="500"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The point of the join is that no single trip sees the whole scene. A parked van hides a lane, and the next trip from another car shows it. The second advantage is easier to see in a picture:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/hindsight.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/hindsight.svg" alt="Hindsight in auto-labelling. A walker hidden behind a car in frames t3 and t4 vanishes for an in-car network, which sees only the past. An offline network sees t1 to t5 and labels the gap with speed." loading="lazy" decoding="async" width="640" height="426"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Elluswamy called it &amp;ldquo;the benefit of hindsight&amp;rdquo;. The car must guess a speed from the past. The server can look at the future too and get the answer &amp;ldquo;basically cheat&amp;rdquo;, in his words. It can also keep a walker&amp;rsquo;s identity through several occlusions, which the planner needs.&lt;/p&gt;&#10;&lt;p&gt;Tesla gave scale numbers for this. In 2021 Elluswamy said the fleet collected clips for the radar-removal project in about 200 conditions. Auto-labelling produced 10,000 clips in about a week, a job that &amp;ldquo;would have taken several months&amp;rdquo; with human labelling. At AI Day 2022 a Tesla engineer said the new multi-trip method replaces 5 million hours of manual labelling with 12 hours on a cluster for 10,000 trips, and labels a new trip in about 30 minutes instead of several hours by hand. The same talk gave 10,000 GPUs for training and about 4,000 for auto-labelling. The 2022 numbers come from a speech-to-text transcript of the talk, so I would check them on the video before repeating them.&lt;/p&gt;&#10;&lt;p&gt;A human still finishes the job. The 2022 engineer said &amp;ldquo;the human analyst comes in and finalizes the label&amp;rdquo;. IEEE Spectrum reported that Tesla laid off 195 data-annotation workers in June 2022. It did not say why.&lt;/p&gt;&#10;&lt;h2 id="step-5-simulation-fills-the-gaps"&gt;Step 5: simulation fills the gaps&lt;/h2&gt;&#10;&lt;p&gt;Some scenes are rare. Others are hard to label, such as a crowd crossing a road. Simulation gives perfect labels, because the scene starts as a list of objects and positions. At AI Day 2021 Elluswamy said Tesla had built about 2,000 miles of simulated road, and that most of its simulated training data was generated by program rather than by artists. The networks then in the cars had been trained with 300 million simulated images carrying almost half a billion labels.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/failure-to-test.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/failure-to-test.svg" alt="A real failure becomes a simulation test: the clip is rebuilt in 3D by offline networks, replayed against new software and kept as a test. Tesla said in 2021 it built about 2,000 miles of simulated road." loading="lazy" decoding="async" width="640" height="504"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The loop in the picture is the useful part. A real failure is auto-labelled, rebuilt in simulation, and replayed with the new software. The same clip then stays in the test set. At AI Day 2022 a Tesla simulation engineer said a complex San Francisco intersection that takes artists two weeks could be generated in about five minutes from the auto-labels.&lt;/p&gt;&#10;&lt;p&gt;In October 2025 Elluswamy described a newer kind, a neural world simulator. One network generates all eight camera streams at once and takes the car&amp;rsquo;s actions as input. He gave uses such as replaying old failures against a newer model and injecting a vehicle that cuts across the path. He also said it could be powerful for closed-loop reinforcement learning, which means training by trial and error inside the generated world. Similar ideas exist outside Tesla, such as the open &lt;a href="https://arxiv.org/abs/1711.03938"&gt;CARLA simulator&lt;/a&gt; and Wayve&amp;rsquo;s &lt;a href="https://arxiv.org/abs/2309.17080"&gt;GAIA-1 world model&lt;/a&gt;. I found no independent test of how closely Tesla&amp;rsquo;s simulator matches real cameras. At AI Day 2021 Tesla showed side-by-side camera exposures as its evidence.&lt;/p&gt;&#10;&lt;h2 id="step-6-the-gpus-behind-it"&gt;Step 6: the GPUs behind it&lt;/h2&gt;&#10;&lt;p&gt;All of this ends at one place: a training run. Karpathy gave the numbers for Tesla&amp;rsquo;s 2021 cluster. He said it was 720 nodes of A100 GPUs with 80 GB each. With eight GPUs per node, which &lt;a href="https://electrek.co/2021/06/21/tesla-unveils-new-supercomputer-train-self-driving-ai/"&gt;Electrek&amp;rsquo;s slide summary&lt;/a&gt; gives, that is 5,760 GPUs, with 10 petabytes of fast storage. VentureBeat printed &amp;ldquo;80 nodes&amp;rdquo; for the same cluster, but 80 times 8 is 640. The 5,760 total only works with 720 nodes. Karpathy said that in terms of FLOPS it was &amp;ldquo;roughly the number 5 supercomputer in the world&amp;rdquo;. That is Tesla&amp;rsquo;s claim. I found no benchmark published by Tesla that others could rerun.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s later statements come from its quarterly updates. Each bar below is a statement by Tesla on a date:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/compute-gpus.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/compute-gpus.svg" alt="Bar chart of Tesla’s GPU counts for AI training: 5,760 A100 in Jun 2021, 29,000 H100 in Oct 2024, more than 230,000 in Apr 2026 (my sum, includes expected capacity). Early bars are not like for like." loading="lazy" decoding="async" width="640" height="520"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Date&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What Tesla said&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;20 Jun 2021&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;5,760 A100 GPUs&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Karpathy at CVPR, via &lt;a href="https://electrek.co/2021/06/21/tesla-unveils-new-supercomputer-train-self-driving-ai/"&gt;Electrek&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;19 Aug 2021&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;barely shy of 10,000 GPUs&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;AI Day 2021&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;30 Sep 2022&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10,000 GPUs for training, about 4,000 for auto-labelling&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;AI Day 2022&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;23 Oct 2024&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;29,000 H100 cluster at Giga Texas, 50,000 expected by end of October&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q3-2024-Update"&gt;Q3 2024 update&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;29 Jan 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cortex, &amp;ldquo;a ~50k H100 training cluster&amp;rdquo;, complete&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q4-2024-Update"&gt;Q4 2024 update&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;23 Jul 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;16,000 H200s added, &amp;ldquo;a total of 67k H100 equivalents&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q2-2025-Update"&gt;Q2 2025 update&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;22 Oct 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;a total of 81k H100 equivalents&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q3-2025-Update.pdf"&gt;Q3 2025 update&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;28 Jan 2026&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cortex 1 over 100k H100e in production, Cortex 2 under construction&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q4-2025-Update.pdf"&gt;Q4 2025 update&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;22 Apr 2026&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cortex 1 over 100k, Cortex 2 over 130k H100e (early ramp, which &amp;ldquo;includes expected capacity&amp;rdquo;); the 230k in the chart is my sum&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q1-2026-Update.pdf"&gt;Q1 2026 update&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Read the chart with care. An A100 is not an H100. NVIDIA lists 624 TFLOPS of BF16 for the &lt;a href="https://www.nvidia.com/en-us/data-center/a100/"&gt;A100&lt;/a&gt; and 1,979 for the &lt;a href="https://www.nvidia.com/en-us/data-center/h100/"&gt;H100&lt;/a&gt;, both with sparsity, so one H100 is about three A100s. That is why the first three bars are teal. Tesla does not say how it converts other chips into &amp;ldquo;H100 equivalents&amp;rdquo;. The Q2 2025 update adds 16,000 H200s to about 50,000 H100s and reports 67,000, so it seems to count an H200 as about one H100. That is my arithmetic, not Tesla&amp;rsquo;s statement.&lt;/p&gt;&#10;&lt;p&gt;Then the unit changed. From the Q2 2026 update, Tesla counts compute in megawatts:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/compute-mw.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/compute-mw.svg" alt="Stacked bar chart of Tesla’s training compute in megawatts. Q2 deck, July 2026: over 205 MW. Q3 deck, October 2026: over 225 MW, excluding 40 MW of other compute. The plan is 400 MW by the end of 2026." loading="lazy" decoding="async" width="640" height="486"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The &lt;a href="https://www.sec.gov/Archives/edgar/data/0001318605/000162828026066738/exhibit9914.htm"&gt;Q3 2026 update&lt;/a&gt;, dated 21 October 2026, lists Cortex 1 at more than 105 MW and Cortex 2 at more than 120 MW, and plans 400 MW by the end of the year. Its footnote says the table leaves out 40 MW of other compute. Tesla gave no reason for the switch and no conversion from megawatts to GPUs, so the two charts must not be joined into one line. My guess is that megawatts let Tesla count a mixed fleet of chips with one number. Tesla did not say that.&lt;/p&gt;&#10;&lt;p&gt;The Q4 2025 update also shows that compute is a budget, not a free resource. Tesla said it aims to scale training compute &amp;ldquo;judiciously, including when the training backlog gets too long&amp;rdquo;. The 2024 update said training compute grew &amp;ldquo;by over 400%&amp;rdquo; that year.&lt;/p&gt;&#10;&lt;h2 id="dojo-teslas-own-training-chip"&gt;Dojo: Tesla&amp;rsquo;s own training chip&lt;/h2&gt;&#10;&lt;p&gt;GPUs were not the original plan. At AI Day 2021 Tesla showed Dojo, a training computer built around its own chip. The goal, in the lead engineer&amp;rsquo;s words, was the best AI training performance, with good power use and cost.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/dojo-ladder.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/dojo-ladder.svg" alt="How Tesla said Dojo scales: 354 nodes make a D1 chip, 25 dies a tile of about 9 PFLOPS, 10 cabinets an ExaPOD of about 1.1 EFLOP on Tesla’s slide. Tray and ExaPOD totals are the author’s sums." loading="lazy" decoding="async" width="640" height="556"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The ladder is built from the numbers in the 2021 talk. The tray, ExaPOD node count and D1 count are my sums from Tesla&amp;rsquo;s own multipliers, and they match what Tesla said: 120 tiles of 25 dies is 3,000 chips, and 3,000 times 354 is about 1.06 million nodes. The tile is the part that was new. Tesla said it joins 25 tested D1 dies on one package, takes 52 volts in, and is cooled by liquid on both sides. It also said the first working tile had arrived the week before the talk. For the whole machine, Tesla claimed 1.3 times the performance per watt and a footprint five times smaller. The transcript I read does not say what it compared against. I found no independent benchmark of any of this.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/dojo-training-tile.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/dojo-training-tile.jpg" alt="A Dojo training tile in a clear case, photographed in December 2023. The five by five grid of blocks is the 25 D1 dies." loading="lazy" decoding="async" width="960" height="754"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: &amp;ldquo;Tesla Dojo supercomputer tile.jpg&amp;rdquo; by Steve Jurvetson, &lt;a href="https://creativecommons.org/licenses/by/2.0"&gt;CC BY 2.0&lt;/a&gt;, via &lt;a href="https://commons.wikimedia.org/wiki/File:Tesla_Dojo_supercomputer_tile.jpg"&gt;Wikimedia Commons&lt;/a&gt;. The photographer&amp;rsquo;s caption relays 15 kW per tile and about 9 quadrillion operations per second.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;What happened next depends on who is talking, so here it is by date:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/dojo-cortex-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/dojo-cortex-timeline.svg" alt="Timeline of Dojo and Cortex. Aug 2021: D1 chip shown. Jan 2025: Cortex of about 50,000 H100 done. Aug 2025: Dojo team reported disbanded. Oct 2026: Q3 update lists Cortex in MW, not Dojo." loading="lazy" decoding="async" width="640" height="656"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Tesla&amp;rsquo;s decks.&lt;/strong&gt; The &lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q2-2023-Update"&gt;Q2 2023 update&lt;/a&gt; said Tesla was taking &amp;ldquo;a step towards faster and cheaper neural net training with the start of production of our Dojo training computer&amp;rdquo;. I searched every quarterly update from Q1 2023 to Q3 2026 for the word Dojo. Outside the legal notices it appears only in that update and in the &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q1-2026-Update.pdf"&gt;Q1 2026 update&lt;/a&gt;, which says Tesla is &amp;ldquo;continuing our custom silicon development with Dojo 3 in an effort to reduce the cost of training over time&amp;rdquo;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Press, August 2025.&lt;/strong&gt; On 7 August &lt;a href="https://techcrunch.com/2025/08/07/tesla-shuts-down-dojo-the-ai-training-supercomputer-that-musk-said-would-be-key-to-full-self-driving"&gt;TechCrunch&lt;/a&gt;, citing Bloomberg&amp;rsquo;s anonymous sources, reported that Tesla was disbanding the Dojo team and that its lead, Peter Bannon, was leaving. About 20 people had already left to start DensityAI.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Musk, August 2025.&lt;/strong&gt; On Sunday 10 August he posted on X: &amp;ldquo;Once it became clear that all paths converged to AI6, I had to shut down Dojo and make some tough personnel choices, as Dojo 2 was now an evolutionary dead end.&amp;rdquo; He added that &amp;ldquo;Dojo 3 arguably lives on in the form of a large number of AI6 SoCs on a single board&amp;rdquo; (&lt;a href="https://techcrunch.com/2025/08/11/elon-musk-confirms-shutdown-of-tesla-dojo-an-evolutionary-dead-end"&gt;TechCrunch&lt;/a&gt;, &lt;a href="https://electrek.co/2025/08/11/elon-musk-confirms-killed-tesla-dojo-but-reason-raises-eyebrows/"&gt;Electrek&lt;/a&gt;). Electrek argued the explanation did not add up, because training and inference chips have different needs.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Musk, January 2026.&lt;/strong&gt; On Sunday 18 January he posted: &amp;ldquo;AI7/Dojo3 will be for space-based AI compute&amp;rdquo; (&lt;a href="https://techcrunch.com/2026/01/20/elon-musk-says-teslas-restarted-dojo3-will-be-for-space-based-ai-compute"&gt;TechCrunch, 20 Jan 2026&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Q3 2026 update.&lt;/strong&gt; Tesla&amp;rsquo;s October 2026 update does not mention Dojo. It reports Cortex only.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;I am not going to call Dojo dead or alive. Dojo 2 was stopped, by Musk&amp;rsquo;s own account. The name Dojo 3 is back, in a post and in one deck line, for a chip plan whose design Tesla has not published in the updates I read.&lt;/p&gt;&#10;&lt;h2 id="cortex-the-gpus-tesla-bought-instead"&gt;Cortex: the GPUs Tesla bought instead&lt;/h2&gt;&#10;&lt;p&gt;Cortex is the name Tesla gives its training cluster at Giga Texas. The Q2 2024 update said the south extension of the factory was nearing completion and would &amp;ldquo;house our largest cluster of H100s yet&amp;rdquo;. By January 2025 Cortex was a 50,000-H100 cluster. By April 2026 Cortex 2 was online and &amp;ldquo;running training workloads&amp;rdquo;. By October 2026 the two clusters were listed at more than 225 MW in total, with 400 MW planned for the end of the year. None of the updates I read names the GPU supplier. Press names Nvidia and AMD, for example in &lt;a href="https://techcrunch.com/2025/08/07/tesla-shuts-down-dojo-the-ai-training-supercomputer-that-musk-said-would-be-key-to-full-self-driving"&gt;Bloomberg&amp;rsquo;s report as relayed by TechCrunch&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="where-the-loop-is-weak"&gt;Where the loop is weak&lt;/h2&gt;&#10;&lt;p&gt;Everything above is Tesla&amp;rsquo;s account. These are the places where I would push on it.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;A person has to think of the rule.&lt;/strong&gt; A trigger catches what someone imagined. VentureBeat&amp;rsquo;s report of Karpathy&amp;rsquo;s remarks says the same about tunnels. Shadow mode and the &amp;ldquo;predicted versus actual&amp;rdquo; check cover some of the gap, but a failure nobody thought of may never fire a rule. I found no Tesla figure for how often that happens.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The fleet is only partly open to Tesla.&lt;/strong&gt; Clips leave the car only if the owner opts in, and Tesla says clips are collected &amp;ldquo;only in limited scenarios&amp;rdquo;. The outside expert in IEEE Spectrum says shadow mode sees a small share of driving. I found no Tesla figure for what share of cars have Data Sharing on.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Auto-labels are as good as the reconstruction.&lt;/strong&gt; A bad alignment gives bad labels at scale. The 2022 talk says a human analyst finalises the label, and I found no figure for how often the analyst has to fix the machine.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Simulation must match the cameras.&lt;/strong&gt; Tesla showed matched exposures. I could not find an outside test.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Almost every number is Tesla&amp;rsquo;s own.&lt;/strong&gt; They come from talks and decks, and the 2022 figures come from a transcript. The few outside checks, such as NVIDIA&amp;rsquo;s spec sheets and a regulation, only test small pieces.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What is Tesla&amp;rsquo;s data engine?&lt;/strong&gt;&#10;It is the loop Tesla uses to improve its driving network. The fleet finds hard moments with triggers and shadow mode, the clips are labelled, the network is retrained, and the new version is tested quietly in cars before it ships. Karpathy described it at CVPR in June 2021.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is shadow mode?&lt;/strong&gt;&#10;The new network runs in customer cars without controlling them. Its output is compared with the old network, with the radar when a car has it, and with what the driver did. A disagreement can make the car keep a clip. IEEE Spectrum dates the idea to 2016.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Tesla use video from my car to train FSD?&lt;/strong&gt;&#10;Tesla says clips for fleet learning reach it only with Data Sharing turned on, and that the data does not identify you personally. In the FSD Beta agreement from November 2021, drivers also agreed to share VIN-associated image data after a safety event or a collision. The switch on the car&amp;rsquo;s screen is the place to check your own settings.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is Dojo cancelled?&lt;/strong&gt;&#10;Bloomberg reported on 7 August 2025 that Tesla was disbanding the Dojo team, and Musk said on 10 August that Dojo 2 was a dead end and he had shut Dojo down. On 18 January 2026 he wrote that &amp;ldquo;AI7/Dojo3&amp;rdquo; would be for space-based compute, and Tesla&amp;rsquo;s Q1 2026 update mentions Dojo 3. Those are all dated statements. The Q3 2026 update does not mention Dojo.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How big is Tesla&amp;rsquo;s AI training cluster?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s latest figure, in its Q3 2026 update, is Cortex 1 at more than 105 MW and Cortex 2 at more than 120 MW, with a plan for 400 MW by the end of 2026. Its last GPU count, in April 2026, was more than 100,000 H100 equivalents at Cortex 1 and more than 130,000 at Cortex 2 in early ramp.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-data-engine-dojo-cortex/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-data-engine-dojo-cortex/cheat-sheet.svg" alt="Data engine cheat sheet. Loop: find a mistake, write a trigger, collect clips, label, retrain, shadow-test. Clips leave the car only with Data Sharing on. Tesla says 5 million hand hours became 12 cluster hours." loading="lazy" decoding="async" width="640" height="590"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; A network trained this way still has to pass one test, a car with nobody in the driver&amp;rsquo;s seat. What has Tesla actually launched, what do regulators say about it, and what is still open?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla (talks, updates, manuals)&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=g6bOwQdCJrc"&gt;Andrej Karpathy, CVPR 2021 workshop keynote, 20 Jun 2021&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;Tesla AI Day 2021, 19 Aug 2021&lt;/a&gt;, with a &lt;a href="https://pharath.github.io/self%20driving/post-Tesla-AI-day-2021"&gt;third-party transcript&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;Tesla AI Day 2022, 30 Sep 2022&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ceointerviews.ai/interview/721812/"&gt;Ashok Elluswamy, ICCV 2025 workshop talk, October 2025 (transcript copy)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Quarterly updates: &lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q2-2023-Update"&gt;Q2 2023&lt;/a&gt;, &lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q3-2024-Update"&gt;Q3 2024&lt;/a&gt;, &lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q4-2024-Update"&gt;Q4 2024&lt;/a&gt;, &lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q2-2025-Update"&gt;Q2 2025&lt;/a&gt;, &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q3-2025-Update.pdf"&gt;Q3 2025&lt;/a&gt;, &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q4-2025-Update.pdf"&gt;Q4 2025&lt;/a&gt;, &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q1-2026-Update.pdf"&gt;Q1 2026&lt;/a&gt;, &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q2-2026-Update.pdf"&gt;Q2 2026&lt;/a&gt;, &lt;a href="https://www.sec.gov/Archives/edgar/data/0001318605/000162828026066738/exhibit9914.htm"&gt;Q3 2026 (SEC Exhibit 99.1)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.tesla.cn/ownersmanual/modely/en_cn/Owners_Manual.pdf"&gt;Model Y 2025+ owner&amp;rsquo;s manual, China edition in English&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/Data-Provision-Disclosure-EN.pdf"&gt;Tesla EU Data Act disclosure&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/EP3850549A1/en"&gt;EP3850549B1, System and method for obtaining training data&lt;/a&gt; (Karpathy; priority 14 Sep 2018; granted 28 May 2025)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US12223428B2/en"&gt;US12223428B2, Generating ground truth for machine learning from time series elements&lt;/a&gt; (priority 1 Feb 2019; granted 11 Feb 2025)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulation&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://eur-lex.europa.eu/eli/reg/2023/2854/oj/eng"&gt;Regulation (EU) 2023/2854, the Data Act&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1604.03540"&gt;Shrivastava et al., Training Region-based Object Detectors with Online Hard Example Mining (2016)&lt;/a&gt;, an older form of the same idea: train more on the examples the model gets wrong&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2003.08934"&gt;Mildenhall et al., NeRF (2020)&lt;/a&gt;, the style of scene model Elluswamy named for the road surface (AI Day 2021)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1711.03938"&gt;Dosovitskiy et al., CARLA: An Open Urban Driving Simulator (2017)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2309.17080"&gt;Hu et al., GAIA-1: A Generative World Model for Autonomous Driving (2023)&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://venturebeat.com/business/tesla-ai-chief-explains-why-self-driving-cars-dont-need-lidar"&gt;VentureBeat, Tesla AI chief explains why self-driving cars don&amp;rsquo;t need lidar (3 Jul 2021)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2021/06/21/tesla-unveils-new-supercomputer-train-self-driving-ai/"&gt;Electrek, Tesla unveils a new supercomputer to train self-driving AI (21 Jun 2021)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://spectrum.ieee.org/tesla-autopilot-data-deluge"&gt;IEEE Spectrum, Tesla&amp;rsquo;s Autopilot depends on a deluge of data (4 Aug 2022)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://medium.com/dynamically-typed/70-karpathy-on-tesla-autopilot-at-cvpr21-distill-s-hiatus-and-tattling-on-flemish-scrollers-1d5a9fe7ef80"&gt;Dynamically Typed, notes on the CVPR 2021 talk&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2021/11/24/tesla-requires-full-self-driving-testers-to-allow-video-collection-in-case-of-a-crash"&gt;TechCrunch, Tesla requires FSD testers to allow video collection in case of a crash (24 Nov 2021)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2025/08/07/tesla-shuts-down-dojo-the-ai-training-supercomputer-that-musk-said-would-be-key-to-full-self-driving"&gt;TechCrunch, Tesla shuts down Dojo (7 Aug 2025)&lt;/a&gt; and &lt;a href="https://techcrunch.com/2025/08/11/elon-musk-confirms-shutdown-of-tesla-dojo-an-evolutionary-dead-end"&gt;Elon Musk confirms shutdown (11 Aug 2025)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2025/08/11/elon-musk-confirms-killed-tesla-dojo-but-reason-raises-eyebrows/"&gt;Electrek, Elon Musk confirms he killed Tesla Dojo (11 Aug 2025)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2026/01/20/elon-musk-says-teslas-restarted-dojo3-will-be-for-space-based-ai-compute"&gt;TechCrunch, Musk says Dojo3 will be for space-based AI compute (20 Jan 2026)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nvidia.com/en-us/data-center/a100/"&gt;NVIDIA A100&lt;/a&gt; and &lt;a href="https://www.nvidia.com/en-us/data-center/h100/"&gt;H100&lt;/a&gt; product pages&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>From Hand-Written Rules to One Network: How FSD Plans</title><link>https://loomloops.com/post/tesla-fsd-end-to-end-neural-network/</link><pubDate>Sat, 14 Nov 2026 10:05:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-fsd-end-to-end-neural-network/</guid><description>&lt;p&gt;A Tesla waits at the end of a side street. It wants to turn left onto a main&#10;road. A person is walking across the side street, not at the crosswalk. A car&#10;is coming along the main road from the right.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s &lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;AI Day 2022&lt;/a&gt; talk on&#10;planning used a scene like this one: a car on a side street that must yield to&#10;traffic from the right and to a pedestrian crossing outside the crosswalk. My&#10;drawing below is my own illustration of such a scene. A human driver sorts it out in a blink: let the walker pass,&#10;then slot in behind them, ahead of the car if there is room, behind it if not.&#10;The car has to make the same call, and it has to do it again every fraction of a&#10;second.&lt;/p&gt;&#10;&lt;p&gt;For several years the answer came from code that engineers wrote: a search over&#10;possible moves and a set of scores. Tesla now says a single neural network makes&#10;the call. This part is about what changed, what Tesla has actually said about&#10;it, and what nobody outside Tesla can check.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 10 of Inside a Tesla. I like the car and the tech, so I researched it to&#10;feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Planning means choosing a path through time: where to go, how fast, and who&#10;yields. In 2021 and 2022 Tesla showed a planner that searched many futures and&#10;scored each one with hand-written checks and small networks.&lt;/li&gt;&#10;&lt;li&gt;From v12, Tesla says one end-to-end network goes from camera pixels to steering&#10;and acceleration. Tesla&amp;rsquo;s v12 release note says it replaced over 300k lines of&#10;C++. It learns from human driving.&lt;/li&gt;&#10;&lt;li&gt;That is harder to debug, because there is no rule to open. Tesla says it uses&#10;probes, a world simulator and closed-loop tests. I found no architecture&#10;diagram or parameter count from Tesla, and I mark every claim by who made it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-planning-means"&gt;What planning means&lt;/h2&gt;&#10;&lt;p&gt;By the time the planner runs, the car already has a picture of the road: lanes,&#10;cars, walkers, free space. The earlier parts followed that picture being built&#10;from eight camera feeds. Planning is the step after it. It turns the picture into&#10;a path: where the car will be, second by second, for the next 10 to 15 seconds,&#10;as described in notes of Tesla&amp;rsquo;s AI Day 2021 talk.&lt;/p&gt;&#10;&lt;p&gt;That path answers three questions at once:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/three-decisions.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/three-decisions.svg" alt="My own top-down illustration of a car turning left onto a main road, with a pedestrian ahead and a car coming from the right. Three decisions: where to go, how fast, and who yields." loading="lazy" decoding="async" width="640" height="400"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The third question is the hard one. The walker and the other car do not follow a&#10;script. What the Tesla does changes what they do, and what they do changes what&#10;the Tesla should do.&lt;/p&gt;&#10;&lt;p&gt;The problem has an odd shape. Say a parked truck blocks your lane. You can pass&#10;on the left or on the right. Both work. A path halfway between them drives into&#10;the truck. Engineers call this a non-convex problem: good answers exist, but you&#10;cannot find one by averaging or by nudging a bad one a little at a time.&lt;/p&gt;&#10;&lt;h2 id="2021-search-first-then-smooth"&gt;2021: search first, then smooth&lt;/h2&gt;&#10;&lt;p&gt;At AI Day 2021 (19 August 2021), Ashok Elluswamy described a planner built on&#10;that idea. I could not read Tesla&amp;rsquo;s slides, which are Tesla&amp;rsquo;s to share, so this&#10;section follows the &lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;video&lt;/a&gt; through&#10;transcripts of it, including a viewer&amp;rsquo;s &lt;a href="https://pharath.github.io/self%20driving/post-Tesla-AI-day-2021"&gt;detailed notes&lt;/a&gt;&#10;and a &lt;a href="https://ceointerviews.ai/interview/736856/"&gt;full transcript&lt;/a&gt;.&#10;The planning segment starts at about 1:13:11. The parking demo counts below come&#10;from two transcripts of the video, not from my own measurement.&lt;/p&gt;&#10;&lt;p&gt;Tesla said the planner works in two stages:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;A coarse search finds a corridor of free space that leads to the goal. It can&#10;try thousands of maneuvers, for example lane changes, and weigh safety,&#10;comfort and the upcoming turn.&lt;/li&gt;&#10;&lt;li&gt;A smooth optimiser then fits a path inside the corridor. It scores the path on&#10;distance to obstacles, time taken, comfort and jerk (how suddenly the&#10;acceleration changes).&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Tesla also said the planner runs on every relevant object in the scene, not only&#10;on the car. That predicts what others will do. In one example from the notes,&#10;the planner worked out that an oncoming car would yield, so the Tesla kept going&#10;instead of braking.&lt;/p&gt;&#10;&lt;p&gt;The talk had a parking lot demo with numbers. A plain A* search, a classic method&#10;that always expands the node that looks closest to the goal, looked at about&#10;400,000 nodes in the demo lot. Adding a navigation route cut that to&#10;about 22,000. A Monte Carlo tree search guided by a neural network needed about&#10;288.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/parking-nodes-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/parking-nodes-chart.svg" alt="Log-scale bar chart of nodes expanded in the AI Day 2021 parking demo: plain A star about 400,000, with a navigation route about 22,000, network-guided tree search about 288. Figures from a viewer’s notes." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;A node is one position the search has to examine. Monte Carlo tree search is the&#10;family of methods behind game programs such as AlphaGo: try many futures and&#10;keep count of which first moves lead to good ones. Per the notes, Tesla named&#10;MuZero and AlphaZero as inspiration. The network&amp;rsquo;s job was to say which branches&#10;are worth trying, so the search spends its time in the right place.&lt;/p&gt;&#10;&lt;p&gt;I only use the words &amp;ldquo;Monte Carlo&amp;rdquo; for this parking demo. They come from&#10;the transcripts of the AI Day 2021 video. Some outside papers, such as&#10;&lt;a href="https://arxiv.org/abs/2205.04799"&gt;this Berkeley one&lt;/a&gt;, state that Tesla&amp;rsquo;s planner&#10;uses Monte Carlo tree search in general. They point to a blog post, not to a Tesla&#10;source. The 2022 talk, next, uses other words.&lt;/p&gt;&#10;&lt;h2 id="2022-interaction-search"&gt;2022: interaction search&lt;/h2&gt;&#10;&lt;p&gt;The AI Day 2022 planning talk (30 September 2022) was given by Paril Jain. I read&#10;a machine-made &lt;a href="https://gist.github.com/L0rdCha0s/de22ae0c7e7a7a70b37ac9c1262e27e1"&gt;transcript&lt;/a&gt;&#10;of it. It has errors and its clock may be off from the video, so I quote only&#10;short phrases.&lt;/p&gt;&#10;&lt;p&gt;The talk starts with the scene from the top of this post. Jain said a check of&#10;each other car&amp;rsquo;s path against the Tesla&amp;rsquo;s path misses many valid options. Tesla&#10;instead plans the Tesla and the others together. The method has a name: &amp;ldquo;we rely&#10;on a framework what we call as interaction search&amp;rdquo;. The planner &amp;ldquo;needs to make a&#10;decision every 50 milliseconds&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;Here is the idea, drawn small. Each branch is one choice: a goal, or how to&#10;interact with one other road user.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/interaction-tree.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/interaction-tree.svg" alt="Search tree for the left turn. Turn right is pruned as off the route. Under turn left, go after the walker (0.71) beats go before (0.22), and go after the car (0.91) beats go before (0.34). Scores are made up." loading="lazy" decoding="async" width="640" height="452"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Every branch gets a fresh score. According to the talk, the scorers were a mix:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Score&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Who wrote it&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it asks&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Collision checks&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Engineers&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Does this path hit anything?&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Comfort&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Engineers&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;How hard are the jerk and the acceleration?&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Intervention risk&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A network, trained on FSD Beta interventions&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Will the driver likely take over in the next few seconds?&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Human-likeness&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A network&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;How close is this path to what people drove?&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Low scores prune a branch, so the search keeps its time for promising ones. Jain&#10;said running a full optimisation for every branch was too slow, and Tesla built&#10;&amp;ldquo;lightweight queryable networks&amp;rdquo; that brought the cost to &amp;ldquo;close to 100&#10;microseconds per action&amp;rdquo;. He also said the mix lets Tesla avoid relying on &amp;ldquo;a lot&#10;of hand engineered costs&amp;rdquo;. Two of the four rows are still hand-written.&lt;/p&gt;&#10;&lt;p&gt;A &lt;a href="https://patents.google.com/patent/US20260105614A1/en"&gt;patent application&lt;/a&gt;&#10;describes the same design. It is titled &amp;ldquo;Artificial intelligence modeling&#10;techniques for joint behavior planning and forecasting&amp;rdquo; (US 2026/0105614 A1) and&#10;lists Elluswamy and Jain among its inventors. Its priority date, 30 September&#10;2022, is the day of the talk. The application was published on 16 April 2026. It&#10;describes a graph with a goal layer and interaction layers, scores for comfort,&#10;physics, intervention likelihood and human-likeness, and pruning of low scores.&#10;It says the method can pick a path &amp;ldquo;without determining trajectories of objects&#10;in the surrounding environment&amp;rdquo;. A patent shows a design. It does not say what&#10;runs in a car today.&lt;/p&gt;&#10;&lt;p&gt;The talk also handled hidden space. A visibility mask stops at the first thing&#10;that blocks the cameras, and the planner can place &amp;ldquo;ghost objects&amp;rdquo; in the hidden&#10;area, such as a car that could be around a corner, so the car slows down for what&#10;it cannot see.&lt;/p&gt;&#10;&lt;p&gt;This planner was strong, and it was also a lot of code with many hand-set parts.&#10;Years later Elluswamy gave a reason Tesla moved on from that style.&lt;/p&gt;&#10;&lt;h2 id="v12-one-network"&gt;v12: one network&lt;/h2&gt;&#10;&lt;p&gt;In the &lt;a href="https://ceointerviews.ai/interview/721812/"&gt;ICCV 2025 talk&lt;/a&gt; Elluswamy&#10;said Tesla moved away from explicit modules because &amp;ldquo;codifying human values is&#10;really difficult&amp;rdquo;. His examples: braking and yielding trade comfort against&#10;speed, and the right balance depends on the moment. He gave a puddle against an&#10;oncoming lane as an example, and said you &amp;ldquo;can&amp;rsquo;t write it in code, at least not&#10;very well&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;So Tesla stopped writing it. The FSD v12.1 release note, first shown to&#10;employees on 24 December 2023, says FSD Beta v12 &amp;ldquo;upgrades the city-streets&#10;driving stack to a single end-to-end neural network&amp;rdquo; and is &amp;ldquo;replacing over 300k&#10;lines of explicit C++ code&amp;rdquo; (as &lt;a href="https://www.notateslaapp.com/software-updates/version/2023.44.30.10/release-notes"&gt;reproduced by NotATeslaApp&lt;/a&gt;,&#10;a tracker, not Tesla&amp;rsquo;s own page). In late August 2023, Elon Musk showed an early&#10;v12 on a livestream drive and said that &lt;a href="https://insideevs.com/news/683889/tesla-ceo-elon-musk-fsd-v12-demonstration/"&gt;version 11 had over 300,000 lines of C++&#10;and version 12 had &amp;ldquo;basically none of that&amp;rdquo;&lt;/a&gt;,&#10;as InsideEVs reported. InsideEVs also reported that on that drive the car nearly&#10;ran a red light and Musk took over.&lt;/p&gt;&#10;&lt;p&gt;End-to-end means one thing: a single network that takes in pixels and puts out&#10;controls, with nothing hand-written in between.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/modular-vs-end-to-end.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/modular-vs-end-to-end.svg" alt="Two pipelines. Before v12: cameras, vision networks, a hand-written planner, a controller, the car. From v12, Tesla says: cameras, route and speed go into one network that outputs steering and acceleration." loading="lazy" decoding="async" width="640" height="420"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Elluswamy&amp;rsquo;s ICCV 2025 talk is the best primary account I found. I could not find&#10;the official video, so I read a transcript copy and a &lt;a href="https://threadreaderapp.com/thread/1982161471644545387"&gt;viewer&amp;rsquo;s summary&lt;/a&gt;&#10;of it, and the wording below is approximate. The talk was at the &lt;a href="https://wdfm-ad.github.io/iccv25/"&gt;WDFM-AD&#10;workshop&lt;/a&gt; in Honolulu, which ran on 20 October&#10;2025. What Tesla said there:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;One large network takes raw sensor data plus the route, vehicle speed and&#10;motion data. It outputs &amp;ldquo;roughly two tokens&amp;rdquo;, the next steering and&#10;acceleration.&lt;/li&gt;&#10;&lt;li&gt;The input is &amp;ldquo;seven or eight cameras depending on the vehicle&amp;rdquo;, each a &amp;ldquo;5&#10;megapixel&amp;rdquo; stream at a high frame rate. For a 30 second context, Elluswamy put&#10;that at &amp;ldquo;like two billion tokens&amp;rdquo;. By my own arithmetic, two billion tokens in&#10;and two out is about a billion to one. The squeeze is the whole problem.&lt;/li&gt;&#10;&lt;li&gt;Explicit perception modules (cars, road boundaries) are no longer used for&#10;driving. They &amp;ldquo;can be implicit and they can be trained as auxiliary things&amp;rdquo;.&lt;/li&gt;&#10;&lt;li&gt;A summary of the talk quotes the main premise as &amp;ldquo;gradients must flow&#10;end-to-end&amp;rdquo;. In plain words: during training, the error at the controls&#10;reaches every layer back to the pixels, which is what the dashed teal arrow in&#10;the picture shows.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="it-learns-from-people"&gt;It learns from people&lt;/h2&gt;&#10;&lt;p&gt;How does a network learn to drive? In the simplest form, it copies. People drive,&#10;the cameras record, and the network is trained to produce the steering and pedal&#10;inputs that the person used.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/human-driving-loop.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/human-driving-loop.svg" alt="Learning from human driving. A person drives while cameras record video, steering and pedals. The network guesses the controls, the error against the person is used to nudge the weights, over very many clips." loading="lazy" decoding="async" width="640" height="380"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;This is old. In 2016 an NVIDIA team trained a network to steer a car from one&#10;front camera, with the human steering angle as the target (&lt;a href="https://arxiv.org/abs/1604.07316"&gt;Bojarski et al.&lt;/a&gt;).&#10;The car ran it at 30 frames per second.&lt;/p&gt;&#10;&lt;p&gt;Copying has a known trap. Humans drive well, so the clips show good drives. But&#10;the learner is not perfect. A small slip puts it in a spot that no human clip&#10;shows, so it has nothing to copy there, and the next error is bigger. The&#10;statistics behind this were described by &lt;a href="https://arxiv.org/abs/1011.0686"&gt;Ross, Gordon and Bagnell&lt;/a&gt;&#10;in 2010: each step depends on the earlier ones, so the usual assumptions of&#10;machine learning break.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/drift-off-the-data.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/drift-off-the-data.svg" alt="Why copying humans is not enough. Grey human paths stay in the lane. A learned car path drifts, each small error making the next more likely, until it reaches a region with no human examples." loading="lazy" decoding="async" width="640" height="380"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Researchers outside Tesla have attacked it in different ways. Waymo&amp;rsquo;s&#10;&lt;a href="https://arxiv.org/abs/1812.03079"&gt;ChauffeurNet&lt;/a&gt; (2018) reported that plain&#10;copying fails in complex driving even with 30 million training examples, and added&#10;synthetic bad situations plus penalties for collisions. Tesla&amp;rsquo;s stated answers&#10;are different in shape, and I could only check them as claims:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Elluswamy said the fleet is the source of rare cases. He described explicit&#10;triggers and small targeted networks to find them, and a pile of &amp;ldquo;500 years of&#10;driving&amp;rdquo; too large to store whole.&lt;/li&gt;&#10;&lt;li&gt;The v14.3.9 release notes (8 September 2026) say Tesla &amp;ldquo;upgraded the&#10;Reinforcement Learning (RL) stage of training the FSD neural network&amp;rdquo;. That is&#10;learning from the result of driving, not only from copying.&lt;/li&gt;&#10;&lt;li&gt;Elluswamy said the same model can feed a world simulator, covered below.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Other public work follows the same direction. &lt;a href="https://arxiv.org/abs/2212.10156"&gt;UniAD&lt;/a&gt;&#10;(CVPR 2023) joins perception, prediction and planning in one network and is&#10;organised around the final plan. Its licence is non-commercial, so I link to it&#10;and do not reproduce its figures. Google&amp;rsquo;s &lt;a href="https://arxiv.org/abs/2410.23262"&gt;EMMA&lt;/a&gt;&#10;(2024) maps raw camera data to planner trajectories and other driving outputs&#10;with a large multimodal model. Neither paper says how Tesla&amp;rsquo;s system is built.&lt;/p&gt;&#10;&lt;h2 id="v13-v14-and-what-comes-next"&gt;v13, v14 and what comes next&lt;/h2&gt;&#10;&lt;p&gt;Here is what Tesla&amp;rsquo;s own release notes and staff said, release by release, up to&#10;14 November 2026. I read the release notes through trackers and press that copy&#10;them, so the wording may differ a little from Tesla&amp;rsquo;s own pages.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Release&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Date&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What Tesla said&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;v13.2.2&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;21 Dec 2024&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;Upgrades every part of the end-to-end driving network.&amp;rdquo; 36 Hz full-resolution video on the AI4 computer, 4.2x data scaling, 5x training compute scaling, about half the latency from camera to controls. &amp;ldquo;3x model size and context length scaling&amp;rdquo; listed as upcoming. (&lt;a href="https://www.notateslaapp.com/software-updates/version/2024.45.25.5/release-notes"&gt;notes&lt;/a&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;v14&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7 Oct 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;Added navigation and routing into the vision-based neural network for real-time handling of blocked roads and detours.&amp;rdquo; (&lt;a href="https://electrek.co/2025/10/07/tesla-fsd-v14-release-notes/"&gt;Electrek, quoting the notes&lt;/a&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;v14.3.9&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;8 Sep 2026&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Upgraded RL stage, upgraded vision encoder, AI compiler and runtime rewritten with MLIR for faster reaction. &amp;ldquo;Expand reasoning to all behaviors beyond destination handling&amp;rdquo; listed as upcoming. (&lt;a href="https://www.notateslaapp.com/software-updates/version/2026.27.6/release-notes"&gt;notes&lt;/a&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;v15&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;not released&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;On the Q3 2026 call (21 Oct 2026) Elluswamy said &amp;ldquo;pretty soon&amp;rdquo; Tesla would &amp;ldquo;release the same software as part of the v15 release to customers&amp;rdquo;. The moderator&amp;rsquo;s question had asked about the unsupervised software; Elluswamy did not use that word. No date. He also said &amp;ldquo;we are building an entirely new architecture with essentially AI-based mapping and navigation&amp;rdquo;. (&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/10/22/tesla-tsla-q3-2026-earnings-call-transcript/"&gt;call transcript&lt;/a&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Two things stand out. The notes list capabilities, not the inside of the network.&#10;And the word &amp;ldquo;reasoning&amp;rdquo; appears: the v14.3.9 notes imply that reasoning exists for&#10;destination handling today and is planned for more. In the ICCV talk Elluswamy&#10;said you &amp;ldquo;can always think longer and produce reasoning tokens&amp;rdquo;, used only when&#10;needed, because reasoning on every decision would add too much latency.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Parameter counts: reported, none from Tesla.&lt;/strong&gt; On 6 August 2025 Musk&#10;&lt;a href="https://www.upi.com/Top_News/US/2025/08/06/Tesla-Musk-AI-FSD-car/8451754479349/"&gt;posted on X&lt;/a&gt;&#10;that Tesla was &amp;ldquo;training a new FSD model with ~10X params&amp;rdquo;, probably ready for&#10;release &amp;ldquo;end of next month if testing goes well&amp;rdquo;, as UPI reported. v14 began rolling out on 7 October&#10;2025. Its release notes, as quoted by Electrek, do not name a parameter count.&#10;In September 2026 NotATeslaApp &lt;a href="https://www.notateslaapp.com/news/4679/tesla-ai-chief-talks-about-whats-coming-in-fsd-v15"&gt;reported&lt;/a&gt;&#10;that Musk credited v15 with &amp;ldquo;a 10x parameter upgrade&amp;rdquo;. The article&amp;rsquo;s own&#10;wording adds &amp;ldquo;about one billion&amp;rdquo; to &amp;ldquo;ten billion&amp;rdquo; parameters, and it names no&#10;source for those two figures. I found no Tesla source that ties any release to a&#10;count. Treat all of these as second-hand.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/claims-ledger.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/claims-ledger.svg" alt="Who said what. Planner designs of 2021 and 2022, and v12 replacing over 300k lines of C++: Tesla said. About 10 times the parameters: the CEO on X, August 2025. No v12 to v14 architecture diagram found." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;One more thing I cannot say. Elluswamy listed 3D occupancy and objects as outputs&#10;the network can be asked for, so the ideas from the earlier parts probably live on&#10;inside or beside the network. I did not find a Tesla source that says what&#10;happened to the 2022 planner. It may be gone, or it may survive as a training&#10;aid. That is my guess, not a Tesla statement.&lt;/p&gt;&#10;&lt;p&gt;Here is the whole run in one picture.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/timeline.svg" alt="Timeline from August 2021 to October 2026. Aug 2021 AI Day, a planner that searches. Dec 2023 v12.1: one network replaces over 300k lines of C++. Oct 2025 v14 rolls out. Oct 2026 Q3 call: v15 pretty soon." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="why-one-network-is-harder-to-debug"&gt;Why one network is harder to debug&lt;/h2&gt;&#10;&lt;p&gt;In the 2022 design a bad move leaves a trail. The prediction said the other car&#10;would yield, or a cost was too low, or a threshold was off. An engineer opens the&#10;rule and changes one line. In a single network, the bad move traces to millions of&#10;weights, and no single weight holds the reason.&lt;/p&gt;&#10;&lt;p&gt;Andrej Karpathy, then Tesla&amp;rsquo;s director of AI, wrote this down in 2017 in&#10;&lt;a href="https://karpathy.medium.com/software-2-0-a64152b37c35"&gt;Software 2.0&lt;/a&gt;: code that&#10;is &amp;ldquo;written by the optimization&amp;rdquo;, where large networks work well but it is hard&#10;to see how, and they can fail in odd ways that are difficult to inspect.&lt;/p&gt;&#10;&lt;p&gt;Regulators have not studied the architecture. They study behaviour. In October&#10;2025 the US safety agency NHTSA &lt;a href="https://static.nhtsa.gov/odi/inv/2025/INOA-PE25012-19171.pdf"&gt;opened a Preliminary Evaluation&lt;/a&gt;&#10;(PE25012) into about 2.88 million Teslas with FSD, on reports of cars going through&#10;red lights and entering opposing lanes. The document says multiple incidents&#10;happened at one intersection in Joppa, Maryland, and that NHTSA understands Tesla&#10;&amp;ldquo;has since taken action to address the issue at this intersection&amp;rdquo;. It does not&#10;say what the action was. This is a regulator&amp;rsquo;s opening summary of complaints, not a finding.&#10;But it shows the debugging question: after a failure at one place, how do you&#10;change a network without breaking the places that work?&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s answer in the ICCV talk has three parts.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;1. Ask the network.&lt;/strong&gt; The same model, Elluswamy said, &amp;ldquo;can be prompted to predict&#10;arbitrary things&amp;rdquo;. Tesla trains it to also give 3D occupancy, objects, traffic&#10;lights, signs, and plain-language reasoning, and he said you &amp;ldquo;can ask it why it&#10;made some decisions&amp;rdquo;. He said this helps interpret the model and gives some&#10;safety guarantees. A probe tells you what the network seems to know. It does not&#10;prove why the controls came out as they did.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/probes.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/probes.svg" alt="How Tesla says it looks inside one network. Cameras, route and speed go in, steering and acceleration come out. Probes give extra readouts: 3D occupancy, objects, lights and signs, and plain-language reasoning." loading="lazy" decoding="async" width="640" height="390"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;2. Test in a loop.&lt;/strong&gt; Elluswamy warned that &amp;ldquo;your open-loop performance might&#10;look amazing&amp;rdquo; and still fail on the road. Open loop means scoring the network&amp;rsquo;s&#10;guess against a recording. The recording never reacts to the guess. Closed loop&#10;means the guess changes what happens next. Tesla said it built a world simulator&#10;that generates all eight camera views from past states and actions &amp;ldquo;simultaneously&#10;by a single neural network&amp;rdquo;. It can replay past failures and inject adversarial&#10;events such as a car cutting across the path. It also supports closed-loop&#10;reinforcement learning.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/world-simulator-loop.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/world-simulator-loop.svg" alt="A closed test loop. The driving network sends steering and acceleration to a world simulator, which returns video for all eight cameras. It can replay a past failure or inject an event such as a car cutting in." loading="lazy" decoding="async" width="640" height="380"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Outside research backs the warning about open-loop tests. &lt;a href="https://arxiv.org/abs/2312.03031"&gt;Li et al.&lt;/a&gt;&#10;(CVPR 2024) found that on a popular open-loop benchmark, nuScenes, end-to-end&#10;models lean mostly on the car&amp;rsquo;s own status (its speed and heading) to predict a&#10;path. They argue the metrics do not fully measure planning quality, and a simple&#10;baseline did competitively without perception annotations.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;3. Choose the test set on purpose.&lt;/strong&gt; Random fleet samples are mostly &amp;ldquo;boring&#10;highway driving&amp;rdquo;, Elluswamy said, so the test sets must be balanced and cover rare&#10;cases.&lt;/p&gt;&#10;&lt;p&gt;I cannot verify any of this from outside. The talk describes tools. It shows no&#10;numbers for how often they catch a failure. That is also true of most vendors, but&#10;it is the key gap for anyone who wants to judge the claim.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Is Tesla FSD one neural network?&lt;/strong&gt;&#10;Tesla says so. From v12, the release note says the city-streets stack became &amp;ldquo;a&#10;single end-to-end neural network&amp;rdquo;, and in 2025 Elluswamy described one large&#10;network from sensor data to steering and acceleration. I found no architecture diagram from Tesla, so how that network is built inside is not public.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does FSD still run any hand-written code?&lt;/strong&gt;&#10;Tesla said v12 replaced over 300k lines of explicit C++ in the city-streets stack.&#10;I found no Tesla line count for what remains, such as the code that runs the&#10;network on the chip. The v14.3.9 notes mention a rewritten AI compiler and runtime,&#10;which is code, but it runs the network and does not plan.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What does end-to-end mean in self-driving?&lt;/strong&gt;&#10;One trained model from sensor input to control output, with no hand-written&#10;perception, prediction or planning step between them. The opposite is a modular&#10;stack, where each step is separate and can be tested on its own.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How does FSD decide who goes first at an intersection?&lt;/strong&gt;&#10;In the 2022 design, by searching joint futures of the Tesla and the others and&#10;scoring each. Tesla says the current system learns this from human driving instead.&#10;I found nothing from Tesla on how the choice is represented inside the network.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why can&amp;rsquo;t Tesla just fix one mistake like a normal bug?&lt;/strong&gt;&#10;There is no line that holds the mistake. The fix is to add examples or change&#10;training, which can change behaviour elsewhere. Simulators and balanced test sets, which Tesla talks about, are how you check&#10;that a fix does not break something else.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-end-to-end-neural-network/cheat-sheet.svg" alt="Cheat sheet. Planning: where to go, how fast, who yields. v12 on: one network from pixels to controls, replacing over 300k lines of C++ (Tesla). Tesla gives no architecture diagram or parameter counts." loading="lazy" decoding="async" width="640" height="480"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; a network is only as good as the examples it learns from. Elluswamy&#10;called the fleet &amp;ldquo;the Niagara Falls of data&amp;rdquo;. How does Tesla pick which clips&#10;to keep, and what does it need to train on them?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla talks and notes&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;Tesla AI Day 2021, video&lt;/a&gt; and &lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;Tesla AI Day 2022, video&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ceointerviews.ai/interview/721812/"&gt;Elluswamy, ICCV 2025 talk, transcript copy&lt;/a&gt; and the &lt;a href="https://wdfm-ad.github.io/iccv25/"&gt;workshop page&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.notateslaapp.com/software-updates/version/2023.44.30.10/release-notes"&gt;FSD v12.1 release notes&lt;/a&gt;, &lt;a href="https://www.notateslaapp.com/software-updates/version/2024.45.25.5/release-notes"&gt;v13.2.2&lt;/a&gt;, &lt;a href="https://www.notateslaapp.com/software-updates/version/2026.27.6/release-notes"&gt;v14.3.9&lt;/a&gt; (tracker copies)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/10/22/tesla-tsla-q3-2026-earnings-call-transcript/"&gt;Tesla Q3 2026 earnings call transcript&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US20260105614A1/en"&gt;US 2026/0105614 A1, Artificial intelligence modeling techniques for joint behavior planning and forecasting&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulators&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://static.nhtsa.gov/odi/inv/2025/INOA-PE25012-19171.pdf"&gt;NHTSA ODI resume for PE25012, traffic safety violations while FSD is engaged, opened 7 Oct 2025&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1604.07316"&gt;Bojarski et al., End to End Learning for Self-Driving Cars (NVIDIA, 2016)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1011.0686"&gt;Ross, Gordon, Bagnell, A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning (2010)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1812.03079"&gt;Bansal, Krizhevsky, Ogale, ChauffeurNet (2018)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2212.10156"&gt;Hu et al., Planning-oriented Autonomous Driving, UniAD (CVPR 2023, CC BY-NC-SA, link only)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2410.23262"&gt;Hwang et al., EMMA: End-to-End Multimodal Model for Autonomous Driving (2024)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2312.03031"&gt;Li et al., Is Ego Status All You Need for Open-Loop End-to-End Autonomous Driving? (CVPR 2024)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://karpathy.medium.com/software-2-0-a64152b37c35"&gt;Karpathy, Software 2.0 (2017)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2205.04799"&gt;Chiu, Designing a Recurrent Neural Network to Learn a Motion Planner for High-Dimensional Inputs (Berkeley, 2022)&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis and press&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://pharath.github.io/self%20driving/post-Tesla-AI-day-2021"&gt;pharath, notes on Tesla AI Day 2021&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://gist.github.com/L0rdCha0s/de22ae0c7e7a7a70b37ac9c1262e27e1"&gt;Machine transcript of Tesla AI Day 2022&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/683889/tesla-ceo-elon-musk-fsd-v12-demonstration/"&gt;InsideEVs, Musk&amp;rsquo;s FSD v12 demonstration (28 Aug 2023)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2025/10/07/tesla-fsd-v14-release-notes/"&gt;Electrek, Tesla FSD v14 release notes (7 Oct 2025)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.upi.com/Top_News/US/2025/08/06/Tesla-Musk-AI-FSD-car/8451754479349/"&gt;UPI, Musk on the new FSD model (6 Aug 2025)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.notateslaapp.com/news/4679/tesla-ai-chief-talks-about-whats-coming-in-fsd-v15"&gt;NotATeslaApp, Tesla&amp;rsquo;s AI chief on FSD v15 (11 Sep 2026)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://threadreaderapp.com/thread/1982161471644545387"&gt;Bradford Ferguson&amp;rsquo;s thread summarising the ICCV 2025 talk&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Tesla Occupancy Network: Seeing Things It Has No Name For</title><link>https://loomloops.com/post/tesla-occupancy-network/</link><pubDate>Sat, 07 Nov 2026 12:25:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-occupancy-network/</guid><description>&lt;p&gt;On 1 June 2020 (Taiwan time) a Model 3 drove into a truck lying on its side on a highway in&#10;Taiwan. Security cameras filmed it. The truck&amp;rsquo;s roof faced the&#10;traffic. Tyre smoke in the video suggests braking at the last second. Electrek said it&#10;could not tell whether the driver or the car&amp;rsquo;s automatic braking did it. The driver&#10;was reportedly unhurt&#10;(&lt;a href="https://electrek.co/2020/06/01/tesla-model-3-crashing-truck-autopilot-video-viral/"&gt;Electrek, 1 June 2020&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;I don&amp;rsquo;t know why the car did not stop sooner, and I could not find a final&#10;ruling. Local media quoted the driver telling police that an assist system was on.&#10;Electrek said it was unclear what that meant, and that the car reportedly had some&#10;Autopilot features on. What the video does show is a hard question for any&#10;camera system: what do you do with something big that is not on your list of&#10;things?&lt;/p&gt;&#10;&lt;p&gt;For years the usual answer was a list. Find the cars. Find the trucks. Find the&#10;people. Draw a box around each one. A truck on its roof is on no list in that&#10;pose. This post is about the answer Tesla showed at AI Day in September 2022:&#10;stop asking what each thing is, and ask a simpler question about every small cube&#10;of space around the car. Is something there?&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 9 of Inside a Tesla. I like the car and the tech, so I researched it to feed&#10;my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A box detector needs a class and a shape for everything it reports. Odd&#10;shapes, debris and things with no name fall between the boxes.&lt;/li&gt;&#10;&lt;li&gt;Tesla&amp;rsquo;s occupancy network cuts the space around the car into cubes (voxels),&#10;says whether each one is occupied, and adds a speed and direction for each (flow).&#10;Tesla said in 2022 that it runs about every 10 milliseconds, on the car.&lt;/li&gt;&#10;&lt;li&gt;Tesla also writes lane maps as a string of tokens, like a sentence, and has shown&#10;a generative world model that predicts the next camera video. What runs in the car&#10;today is not public.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="why-a-box-needs-a-name"&gt;Why a box needs a name&lt;/h2&gt;&#10;&lt;p&gt;A typical object detector hands the planner a list. Each entry has a class (car,&#10;truck, pedestrian), a position, a size, a heading and a speed. The planner never&#10;sees the road itself. It only sees the list.&lt;/p&gt;&#10;&lt;p&gt;That works until something is not on the list. The authors of the Occ3D benchmark&#10;put it this way: existing methods &amp;ldquo;typically focus on estimating 3D bounding boxes,&#10;neglecting finer geometric details and struggling to handle general,&#10;out-of-vocabulary objects&amp;rdquo;&#10;(&lt;a href="https://arxiv.org/abs/2304.14365"&gt;Occ3D, arXiv, April 2023&lt;/a&gt;). Out-of-vocabulary&#10;means a thing the model was never given a name for.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/boxes-miss-things.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/boxes-miss-things.svg" alt="Three things a bounding box handles badly. A truck on its roof matches no known upright class. A bent bus makes one box count empty road, while two boxes call it two vehicles. Debris and smoke fit no class at all." loading="lazy" decoding="async" width="640" height="468"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla&amp;rsquo;s own examples came from Ashok Elluswamy of Tesla&amp;rsquo;s Autopilot team, in&#10;his CVPR 2023 keynote&#10;(&lt;a href="https://www.youtube.com/watch?v=6x-Xb_uT7ts"&gt;video&lt;/a&gt;,&#10;&lt;a href="https://ceointerviews.ai/interview/721771/"&gt;transcript copy&lt;/a&gt;). He listed smoke&#10;(&amp;ldquo;you can drive through it, but it is occupying space&amp;rdquo;), paper flying everywhere,&#10;flying trash bins and construction vehicles with their lever arms moving.&lt;/p&gt;&#10;&lt;p&gt;Two regulator reports show the same habit in other systems:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Tesla, 2019 (NTSB).&lt;/strong&gt; A Model 3 on Autopilot hit the side of a semitrailer&#10;crossing a Florida road. Tesla told the NTSB that its collision avoidance&#10;needed the radar and the camera to agree, and that &amp;ldquo;complex or unusual vehicle&#10;shapes can delay or prevent the system from classifying the vehicles as targets&#10;or threats&amp;rdquo;. The vision system did not consistently detect and track the truck,&#10;and the radar and vision never matched on it. The NTSB&amp;rsquo;s probable cause named&#10;the truck driver&amp;rsquo;s failure to yield and the car driver&amp;rsquo;s inattention, with the&#10;design of the partial automation contributing&#10;(&lt;a href="https://www.ntsb.gov/investigations/AccidentReports/Reports/HAB2001.pdf"&gt;NTSB/HAB-20/01, 22 Jan 2020&lt;/a&gt;).&#10;That was the radar-and-camera system of the time, not the occupancy network.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Uber&amp;rsquo;s test car, 2018 (NTSB).&lt;/strong&gt; Not a Tesla, and it used lidar. The system saw&#10;a pedestrian pushing a bicycle 5.6 seconds before impact. It classified her as a&#10;vehicle, then also as an unknown object and a bicyclist. When the class changed,&#10;the system dropped that object&amp;rsquo;s tracking history, and it never correctly&#10;predicted her path&#10;(&lt;a href="https://www.ntsb.gov/investigations/AccidentReports/Reports/HAR1903.pdf"&gt;NTSB/HAR-19/03&lt;/a&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Both are about the name. When the name is wrong or missing, everything built on&#10;the name goes with it. So what if the car never needed one?&lt;/p&gt;&#10;&lt;h2 id="cubes-instead-of-boxes"&gt;Cubes instead of boxes&lt;/h2&gt;&#10;&lt;p&gt;A voxel is a pixel in three dimensions: a small cube of space. An occupancy grid&#10;chops the space around the robot into cubes and stores one number for each: the&#10;chance that something is in it. The idea is old. Wikipedia says occupancy grids were&#10;first proposed by Moravec and Elfes in 1985, for mobile robots&#10;(&lt;a href="https://en.wikipedia.org/wiki/Occupancy_grid_mapping"&gt;Wikipedia&lt;/a&gt;). Here is the&#10;same bent bus as before, once with a box and once with cubes:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/box-vs-voxel.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/box-vs-voxel.svg" alt="The same bent bus seen from above, twice. On the left one box around it covers 40 grid cells, and 18 of them are empty road. On the right a grid of cubes fills only the 22 cells the bus really occupies." loading="lazy" decoding="async" width="640" height="392"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The bus is Tesla&amp;rsquo;s example, not mine. At AI Day 2022 a Tesla engineer showed an&#10;articulated bus parked at the side of the road and said it came out as an L-shaped&#10;voxel shape. He pointed out that a box detector would have to decide between one&#10;cuboid and two to fit the bend, while the occupancy network only cares about &amp;ldquo;the&#10;occupancy in the visible space&amp;rdquo; (AI Day 2022,&#10;&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;video&lt;/a&gt;, machine-made&#10;&lt;a href="https://gist.github.com/L0rdCha0s/de22ae0c7e7a7a70b37ac9c1262e27e1"&gt;transcript&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Building the grid takes four steps. The numbers below are made up to show the idea:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/voxel-buildup.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/voxel-buildup.svg" alt="How a voxel grid is built: cut space into cubes, give each cube a chance of being occupied, keep cubes at 0.5 or more, and repeat at every height to get a stack of slices." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Nothing in those four steps asks what the occupied cubes are. A parked bus, a&#10;fallen branch and a mattress on the road all look the same to the grid: filled&#10;cubes. That is the point. The planner needs to know where it cannot drive. It does&#10;not need the noun.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Box detector&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Occupancy grid&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;What it reports&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A list of named objects&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A number for every cube&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Needs a class first?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Yes&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Odd shapes&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;One cuboid, or a guess&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The cubes follow the shape&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Empty space&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Counted inside the box&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Left empty&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Something new&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;May not appear&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Still fills cubes&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Tesla had used grids before. A summon patent filed in February 2019 describes an&#10;occupancy grid that &amp;ldquo;contains drivability values at each grid location&amp;rdquo;, a chance&#10;that a spot can be driven on, produced by a neural network from camera images&#10;(&lt;a href="https://patents.google.com/patent/US11567514B2/en"&gt;US 11,567,514 B2&lt;/a&gt;). The 2022&#10;network flips the question from &amp;ldquo;can I drive here?&amp;rdquo; to &amp;ldquo;is something here?&amp;rdquo;, and&#10;makes the grid three-dimensional.&lt;/p&gt;&#10;&lt;h2 id="what-tesla-showed-in-2022-and-2023"&gt;What Tesla showed in 2022 and 2023&lt;/h2&gt;&#10;&lt;p&gt;At AI Day, Elluswamy called the occupancy network the &amp;ldquo;base geometry layer&amp;rdquo; of the&#10;system. He said it predicts the full physical occupancy of the world around the car,&#10;and that anything physically present, &amp;ldquo;trees walls buildings&amp;rdquo;, gets predicted along&#10;with its future motion. The network takes the video streams of all eight cameras&#10;as input. A Tesla engineer said it produces a single volumetric occupancy and runs&#10;&amp;ldquo;about every 10 milliseconds&amp;rdquo; on the car&amp;rsquo;s accelerator chip. That is about 100 runs a&#10;second. I read that number in a machine-made transcript, so treat the exact figure as&#10;approximate.&lt;/p&gt;&#10;&lt;p&gt;Elluswamy&amp;rsquo;s 2023 keynote gave the plain version: the network &amp;ldquo;really just predicts&#10;whether some voxel in 3D space is occupied or not and the probability of that&amp;rdquo;. It&#10;&amp;ldquo;doesn&amp;rsquo;t have any specific ontology&amp;rdquo;. An ontology here is the list of classes. Tesla&#10;also said it predicts the flow of the voxels, and that everything runs in real time.&lt;/p&gt;&#10;&lt;p&gt;Customers met it in October 2022. Tesla said it was launching a &amp;ldquo;vision-based&#10;occupancy network&amp;rdquo; in FSD Beta to replace what the ultrasonic sensors used to&#10;supply, and that cars built without those sensors would have some features limited&#10;or inactive until software restored them&#10;(&lt;a href="https://techcrunch.com/2022/10/04/tesla-is-now-building-model-3-and-model-y-vehicles-without-ultrasonic-sensors"&gt;TechCrunch, 4 Oct 2022&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;There is no Tesla paper on the network, so the best look inside is a patent&#10;application. US 2025/0282344 A1, published on 11 September 2025, lists Tesla as&#10;applicant and Ashok Elluswamy among ten inventors. It is pending, so it is not a&#10;granted patent, and it does not say what runs in the car today. Its figure 2A&#10;reads left to right like the 2022 talk:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/us20250282344a1-fig2a.png"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/us20250282344a1-fig2a.png" alt="Figure 2A of Tesla’s pending patent application US 2025/0282344 A1: eight rectified camera images, RegNet and BiFPN featurizers, attention, temporal alignment, deconvolutions, then volume and queryable outputs." loading="lazy" decoding="async" width="1100" height="766"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;US patent application 2025/0282344 A1, fig. 2A (cropped, converted to grey scale).&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Read the boxes in order. Each camera image is straightened (&amp;ldquo;rectify&amp;rdquo;), turned into&#10;features, and combined across cameras by attention. Features from earlier frames are&#10;shifted using the car&amp;rsquo;s own motion, so a cube that was visible a moment ago is not&#10;forgotten when a van hides it. Deconvolutions then grow the result back into a 3D&#10;grid. The last box is the clever one. The grid is not the end of the line.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/us20250282344a1-fig3b.png"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/us20250282344a1-fig3b.png" alt="Figure 3B of the same patent application: a simulation of the voxels around a simulated car drawn in the centre, with blocks of filled cubes on both sides of the road." loading="lazy" decoding="async" width="1100" height="420"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;US patent application 2025/0282344 A1, fig. 3B (cropped, converted to grey scale).&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The patent describes this picture as a simulation of the car&amp;rsquo;s surroundings with&#10;simulated masses in the cubes around the car. It is what the cubes look like once you&#10;draw them.&lt;/p&gt;&#10;&lt;h2 id="cubes-get-expensive-fast"&gt;Cubes get expensive fast&lt;/h2&gt;&#10;&lt;p&gt;Why is the last box clever? Because a fine grid is very costly. Cut the cube edge in&#10;half and you need eight times as many cubes (two times two times two). I worked it out&#10;for an 80 m by 80 m by 6 m box around the car. The 6 m height is the patent&amp;rsquo;s range of&#10;-3 m to +3 m. The 80 m is my guess, because Tesla has not said how far the grid&#10;reaches:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/voxel-count-vs-size.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/voxel-count-vs-size.svg" alt="Voxels in an 80 m by 80 m by 6 m box, by cube size: 1 m gives 38,400, the patent default of 33 cm gives about 1.07 million, 10 cm gives 38.4 million. Halving the edge gives 8 times as many cubes." loading="lazy" decoding="async" width="640" height="472"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The patent says the default voxel may be 33 cm on a side, and that the size can be&#10;cut to 10 cm for occupied voxels near the car or its driving surface. In my box&#10;that is about 1.07 million cubes against 38.4 million. That is a lot of cubes to&#10;fill 100 times a second.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s AI Day answer was to keep the grid coarse and add detail on request. The&#10;grids are &amp;ldquo;fixed-size voxel grids, which might not be precise enough for planning&amp;rdquo;,&#10;so the network also makes a feature for each voxel and feeds it to a small network&#10;(an MLP) to get a higher resolution. That is the &amp;ldquo;queryable outputs&amp;rdquo; box in the&#10;figure. You hand it an x, y, z position and it answers for that exact spot, not just&#10;for the cube that contains it.&lt;/p&gt;&#10;&lt;p&gt;The patent adds a second trick: a signed distance. Instead of &amp;ldquo;occupied or not&amp;rdquo;, each&#10;cube stores how far it is from the nearest surface. Positive means outside an&#10;object, negative means inside:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/us20250282344a1-fig7.png"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/us20250282344a1-fig7.png" alt="Figure 7 of the patent application: a grid of numbers where values fall from 6.6 at the edges to -3.3 at the centre, with a dark ring where the values cross zero, showing a rounded object inside the grid." loading="lazy" decoding="async" width="720" height="889"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;US patent application 2025/0282344 A1, fig. 7 (resized, colours reduced).&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The zero crossing is the surface, so a distance can place a surface inside a cube.&#10;The patent gives a related example: a 33 cm voxel on a curb that is only half&#10;occupied, 16 cm of it.&lt;/p&gt;&#10;&lt;h2 id="flow-which-cubes-are-moving"&gt;Flow: which cubes are moving&lt;/h2&gt;&#10;&lt;p&gt;Occupancy alone has a hole in it. A parked van and a van pulling out look the same&#10;in one frame: filled cubes. The planner needs to know which cubes will be somewhere&#10;else in a moment.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/occupancy-flow.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/occupancy-flow.svg" alt="Occupancy and flow on a top-view grid. The top grid marks occupied cubes. The bottom adds arrows on the moving car and ball cubes and dots on the parked ones." loading="lazy" decoding="async" width="640" height="492"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;At AI Day Tesla said the network predicts occupancy flow for motion. In 2023&#10;Elluswamy said it predicts &amp;ldquo;the flow of voxels in the future&amp;rdquo;. So each cube&#10;carries a motion estimate as well as an occupied chance. A ball rolling into the road&#10;and a parked car are the same kind of object to a box detector only if it first&#10;names them. In a flow grid the ball&amp;rsquo;s cube has an arrow and the car&amp;rsquo;s cubes have&#10;none, and no name was needed.&lt;/p&gt;&#10;&lt;h2 id="teaching-it-without-hand-labels"&gt;Teaching it without hand labels&lt;/h2&gt;&#10;&lt;p&gt;Someone has to say which cubes were really occupied so the network can learn. Marking&#10;cubes by hand over billions of frames is impossible. Tesla talked about two ways&#10;around it.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Render it back.&lt;/strong&gt; At AI Day a Tesla engineer said geometry &amp;ldquo;gives us a nice way to&#10;supervise these networks&amp;rdquo; and frees the team from defining an ontology. He said the&#10;supervision is &amp;ldquo;essentially free&amp;rdquo; because you can differentiably render the scene&#10;into any image that was observed. This is the idea behind NeRF, short for neural&#10;radiance field. A NeRF is a small network that, given a 3D position and a viewing&#10;direction, answers with a density and a colour. You draw (render) the scene from a&#10;camera&amp;rsquo;s position and compare it to that camera&amp;rsquo;s real picture&#10;(&lt;a href="https://arxiv.org/abs/2003.08934"&gt;Mildenhall et al., arXiv 2020&lt;/a&gt;). If your 3D guess&#10;is right, the drawing matches the photo. The error trains the guess, and no person&#10;labels anything.&lt;/p&gt;&#10;&lt;p&gt;Tesla said at AI Day it was &amp;ldquo;looking into&amp;rdquo; both using NeRF features in occupancy&#10;training and using the network&amp;rsquo;s output as the input state for NeRF. That was a&#10;plan, not a finished product. In June 2023 Elluswamy said the occupancy network is&#10;&amp;ldquo;quite similar to NeRF in general&amp;rdquo;, with one difference: NeRF multi-view&#10;reconstruction is usually done for a single scene as an offline step, while the&#10;occupancy network predicts from the eight streaming cameras in real time.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Reconstruct offline.&lt;/strong&gt; Tesla also said it builds 3D reconstructions from many&#10;trips over the same place, then runs more networks offline &amp;ldquo;to produce the labels&#10;that we want&amp;rdquo;. It called this a hybrid of NeRF and general 3D reconstruction. A&#10;warning from the same talk: a NeRF can look good while &amp;ldquo;the underlying geometry&#10;might be very fuzzy and cloudy&amp;rdquo;. At AI Day Tesla said the occupancy network is&#10;&amp;ldquo;trained with large auto-labeled data sets without any human in the loop&amp;rdquo; and that&#10;it took 1.4 billion frames to train.&lt;/p&gt;&#10;&lt;p&gt;The patent application describes a third source. Some cars may carry a 3D sensor&#10;that fires laser pulses, and its readings say which voxels hold something with mass. Those&#10;readings are paired with the camera images of the same places. Once trained, the&#10;model uses cameras only. The patent also notes a camera can think a cube is full&#10;because of fog, when nothing with mass is there. Smoke is the same problem from&#10;the other side: Elluswamy&amp;rsquo;s example of something you can drive through that still&#10;occupies space.&lt;/p&gt;&#10;&lt;h2 id="lanes-as-language"&gt;Lanes as language&lt;/h2&gt;&#10;&lt;p&gt;Lanes do not fit in cubes. A lane is a path with a direction, and it joins other&#10;paths. At AI Day 2022 a Tesla engineer said early Autopilot treated lanes as an&#10;image-space segmentation task. That handled &amp;ldquo;a few different kinds of geometries&amp;rdquo;,&#10;forks and merges needed special cases, and at intersections it &amp;ldquo;just totally breaks&#10;down&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;The goal became a graph: the nodes are lane segments and the edges say which one&#10;leads to which. Tesla&amp;rsquo;s trick was to write that graph out as a sentence. The engineer&#10;described a special language for encoding lanes and their connectivity, where &amp;ldquo;the&#10;words and tokens are the lane positions in 3D space&amp;rdquo;. A new lane starts with a start&#10;token. Points along it use a continuation token. A fork gets a fork token that&#10;points back to the earlier token it splits from.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/lane-graph-tokens.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/lane-graph-tokens.svg" alt="A forked lane map written as tokens: START p1, CONT p2 to p4, then FORK back to p3 and CONT p6, p7. The fork token points back to where the branch leaves." loading="lazy" decoding="async" width="640" height="462"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Why do this? Because a model that writes one token at a time can say &amp;ldquo;there is a fork&#10;here&amp;rdquo; and keep going, with no fixed list of lane shapes. The engineer said modelling&#10;the task as language let the team use recent autoregressive architectures, and that a&#10;simple segmentation approach &amp;ldquo;would just draw both&amp;rdquo; when it was unsure. In 2023&#10;Elluswamy said the lanes are modelled with autoregressive transformers &amp;ldquo;quite&#10;similar to I would say GPT&amp;rdquo;, with a difference: unlike language, which is mostly&#10;linear, the model has to predict a full graph. His line about the hard part: lanes&#10;&amp;ldquo;can fork and merge and cause all kinds of trouble&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;Tesla has not published the token list. My picture is a simplified version of what&#10;the talk showed. A real token carries numbers, not a name like p3.&lt;/p&gt;&#10;&lt;h2 id="the-world-model-idea"&gt;The world model idea&lt;/h2&gt;&#10;&lt;p&gt;If a network can imagine the space around the car, can it imagine what comes next?&#10;In the same 2023 keynote Elluswamy showed a generative model that predicts future&#10;video. He called it &amp;ldquo;purely generated video sequences&amp;rdquo;, and said it can also be&#10;&amp;ldquo;action-conditioned&amp;rdquo;: ask it to keep in lane, or to change lanes to the right, and&#10;the imagined video follows. The aim, he said, was &amp;ldquo;a more general world model that can&#10;really just represent arbitrary things&amp;rdquo;. He called it &amp;ldquo;work in progress&amp;rdquo;. Asked whether it would reach cars, he said it&#10;&amp;ldquo;doesn&amp;rsquo;t ship to customers yet and we are still optimizing it&amp;rdquo;, and added &amp;ldquo;Maybe later&#10;this year, I don&amp;rsquo;t know.&amp;rdquo;&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/world-model-loop.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/world-model-loop.svg" alt="The world model idea: past video from all eight cameras plus an action go into a generative model that outputs the next video. Tesla described it at CVPR 2023 and ICCV 2025." loading="lazy" decoding="async" width="640" height="452"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Others were working on the same idea in public. Wayve&amp;rsquo;s GAIA-1 takes video, text&#10;and actions and generates driving scenes&#10;(&lt;a href="https://arxiv.org/abs/2309.17080"&gt;arXiv, Sept 2023&lt;/a&gt;). Drive-WM generates&#10;multi-camera video and scores imagined futures to pick a trajectory&#10;(&lt;a href="https://arxiv.org/abs/2311.17918"&gt;arXiv, Nov 2023&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;In October 2025 Elluswamy gave a talk at an ICCV workshop&#10;(&lt;a href="https://ceointerviews.ai/interview/721812/"&gt;transcript copy&lt;/a&gt;). He described a world&#10;simulator where &amp;ldquo;all eight cameras are generated simultaneously by a single neural&#10;network&amp;rdquo; that takes an action as input. He said it is useful for evaluation: you can&#10;replay past failures and check the new model against them. Training the driving&#10;model inside the simulator he described as something one could imagine, not as&#10;current practice.&lt;/p&gt;&#10;&lt;p&gt;The same talk matters for the rest of this post. He said the driving network &amp;ldquo;no&#10;longer is doing explicit perception of like vehicles, road boundaries or things like&#10;those&amp;rdquo;. Things like 3D occupancy can still be predicted, but as auxiliary outputs&#10;that &amp;ldquo;can be quite helpful&amp;rdquo;. The only thing that matters in the car, he said, is the&#10;control actions it produces.&lt;/p&gt;&#10;&lt;h2 id="what-is-not-public"&gt;What is not public&lt;/h2&gt;&#10;&lt;p&gt;Here is what I could not find.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;What runs in the car today.&lt;/strong&gt; Tesla has shown no architecture diagram for its&#10;current driving software. The 2022 modules may still exist as outputs or as&#10;training aids. That is my inference from the 2025 talk, not a Tesla statement.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The grid size.&lt;/strong&gt; Tesla has not said how far the grid reaches. The 33 cm and&#10;10 cm figures are from a pending patent application, not a Tesla spec.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The 10 ms figure.&lt;/strong&gt; It comes from a machine transcript of one talk, and it&#10;describes AI Day 2022, not today&amp;rsquo;s hardware.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;How often it fails.&lt;/strong&gt; No outside data I found says how well the occupancy&#10;network finds odd objects in real traffic, compared with box detectors.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-other-researchers-built"&gt;What other researchers built&lt;/h2&gt;&#10;&lt;p&gt;Within months of AI Day 2022, camera-only occupancy became a research topic in the&#10;open. These are link-only, since arXiv&amp;rsquo;s default licence does not allow copying&#10;their figures:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2302.07817"&gt;TPVFormer&lt;/a&gt; (Feb 2023) turns multi-camera images&#10;into a 3D semantic occupancy grid using three planes through the scene instead&#10;of a full grid, trained with sparse supervision.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2303.09551"&gt;SurroundOcc&lt;/a&gt; (Mar 2023) predicts dense occupancy&#10;from several cameras, and builds its training labels from lidar scans over many&#10;frames.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2304.14365"&gt;Occ3D&lt;/a&gt; (Apr 2023) is a benchmark with labels&#10;made from Waymo and nuScenes data, so teams can compare occupancy models fairly.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2306.02851"&gt;Scene as Occupancy&lt;/a&gt; (Jun 2023) uses occupancy as&#10;the shared scene description for detection, segmentation and planning.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;None of these is Tesla&amp;rsquo;s code. They show the idea works outside Tesla, on public&#10;data, with cameras.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What is a voxel?&lt;/strong&gt; A voxel is a 3D pixel: a small cube of space. Where a picture is&#10;a grid of coloured squares, a voxel grid is a stack of them, one for each small cube&#10;of the world around the car.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is an occupancy network the same as lidar?&lt;/strong&gt; No. Lidar is a sensor that measures&#10;distance with laser pulses. An occupancy network is software that outputs a grid, and&#10;it can be built from camera images. Tesla&amp;rsquo;s patent application describes training&#10;with 3D sensor readings and then running on cameras alone.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How is occupancy different from a depth map?&lt;/strong&gt; A depth map gives one distance per&#10;pixel, the first surface that pixel sees. Occupancy describes a volume. Tesla&amp;rsquo;s&#10;design also shifts features from past frames with the car&amp;rsquo;s motion, so earlier&#10;frames can inform cubes that are hidden now.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Tesla still use an occupancy network?&lt;/strong&gt; Tesla has not said. In October 2025&#10;Elluswamy described one large network that outputs steering and acceleration, with&#10;things like 3D occupancy as outputs it can be prompted for. Whether the car runs&#10;the 2022 network as described then is not public.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why not just use boxes and add more classes?&lt;/strong&gt; You can, and detectors do. The&#10;problem is the long tail: the next odd thing is never on the list. A grid needs no&#10;list.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-occupancy-network/occupancy-cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-occupancy-network/occupancy-cheat-sheet.svg" alt="Occupancy at a glance: boxes need a class, voxels ask only whether a cube is occupied, flow gives each cube a motion. Numbers: 8 cameras, about every 10 ms, 1.4 billion frames, 33 cm cubes in the patent." loading="lazy" decoding="async" width="640" height="498"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Next: now the car has a 3D grid with motion, a lane graph, and a way to imagine what&#10;comes next. Something still has to turn that into a steering angle. For years that was&#10;hand-written rules and a search over possible moves. Tesla says it replaced most of&#10;that with one network. What did the old planner do, and what did Tesla say changed?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla (talks)&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;Tesla AI Day 2022&lt;/a&gt;, 30 Sep 2022 (video)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=6x-Xb_uT7ts"&gt;Ashok Elluswamy, CVPR 2023 WAD keynote&lt;/a&gt; (video, June 2023)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ceointerviews.ai/interview/721771/"&gt;CVPR 2023 keynote, transcript copy&lt;/a&gt; and &lt;a href="https://gist.github.com/L0rdCha0s/de22ae0c7e7a7a70b37ac9c1262e27e1"&gt;AI Day 2022, machine transcript&lt;/a&gt; (third-party copies, with recognition errors)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ceointerviews.ai/interview/721812/"&gt;Elluswamy at an ICCV 2025 workshop, transcript copy&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US20250282344A1/en"&gt;US 2025/0282344 A1&lt;/a&gt;, vision-based high-fidelity occupancy (pending, published 11 Sep 2025)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US11567514B2/en"&gt;US 11,567,514 B2&lt;/a&gt;, summon to a target, with an occupancy grid of drivability values (granted 31 Jan 2023)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulators&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.ntsb.gov/investigations/AccidentReports/Reports/HAB2001.pdf"&gt;NTSB/HAB-20/01&lt;/a&gt;, Delray Beach, Florida, 1 March 2019&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ntsb.gov/investigations/AccidentReports/Reports/HAR1903.pdf"&gt;NTSB/HAR-19/03&lt;/a&gt;, Tempe, Arizona, 18 March 2018&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2003.08934"&gt;NeRF&lt;/a&gt;, Mildenhall et al., 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2304.14365"&gt;Occ3D&lt;/a&gt;, &lt;a href="https://arxiv.org/abs/2302.07817"&gt;TPVFormer&lt;/a&gt;, &lt;a href="https://arxiv.org/abs/2303.09551"&gt;SurroundOcc&lt;/a&gt;, &lt;a href="https://arxiv.org/abs/2306.02851"&gt;Scene as Occupancy&lt;/a&gt;, 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2309.17080"&gt;GAIA-1&lt;/a&gt; and &lt;a href="https://arxiv.org/abs/2311.17918"&gt;Drive-WM&lt;/a&gt;, world models for driving, 2023&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2022/10/04/tesla-is-now-building-model-3-and-model-y-vehicles-without-ultrasonic-sensors"&gt;TechCrunch, 4 Oct 2022&lt;/a&gt;: ultrasonic sensors out, occupancy network in&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.teslarati.com/tesla-autopilot-enables-car-perceive-space"&gt;Teslarati, 21 Aug 2022&lt;/a&gt;: Elluswamy on occupancy networks and NeRF&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2020/06/01/tesla-model-3-crashing-truck-autopilot-video-viral/"&gt;Electrek, 1 June 2020&lt;/a&gt;: the Taiwan crash&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/Occupancy_grid_mapping"&gt;Occupancy grid mapping&lt;/a&gt;, Wikipedia&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Tesla HydraNet and Bird's-Eye View: From Eight Cameras to One Map</title><link>https://loomloops.com/post/tesla-hydranet-birds-eye-view/</link><pubDate>Sat, 31 Oct 2026 09:50:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-hydranet-birds-eye-view/</guid><description>&lt;p&gt;Tesla&amp;rsquo;s engineers once had a parking lot problem. Smart Summon, the feature that&#10;drives a parked car to its owner, needs to see curbs. The curb detector looked&#10;great on every camera image. Red and blue lines sat right&#10;on the curb edges. Then they placed those lines on the ground, which is where a&#10;car has to drive, and the picture fell apart. The lines wobbled, bent and&#10;drifted. In the words of the engineer showing it, you could not drive on that.&lt;/p&gt;&#10;&lt;p&gt;They showed it at Tesla AI Day on 19 August 2021, about 57 minutes into the&#10;&lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;video&lt;/a&gt;. The fix was not a better&#10;curb detector. It was a different place to make the prediction. Instead of&#10;guessing in each camera&amp;rsquo;s picture and joining the guesses afterwards, Tesla built&#10;one network that looks at all eight cameras together and draws the answer&#10;straight onto a top-down map.&lt;/p&gt;&#10;&lt;p&gt;This post follows one set of eight camera frames through that network, one step&#10;at a time. I read the captions of the whole vision section of the AI Day talk and&#10;of Karpathy&amp;rsquo;s CVPR talk two months earlier, and I checked the public papers that&#10;do the same job. For each step I say what is Tesla&amp;rsquo;s own description and what is&#10;general technique.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 8 of Inside a Tesla. I like the car and the tech, so I researched it to feed&#10;my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Tesla says a network that predicts in each camera&amp;rsquo;s image, then stitches the&#10;results, failed, mainly because it needs near-perfect depth for every pixel&#10;to reach the ground, and one car can be split across five of the eight&#10;cameras. So the network takes all eight frames and outputs positions around&#10;the car directly.&lt;/li&gt;&#10;&lt;li&gt;The 2021 recipe, in Tesla&amp;rsquo;s words: warp every frame into one virtual camera,&#10;extract features (RegNet, BiFPN), let a transformer move them into a top-down&#10;grid, keep a memory in time and in distance, then read the result with many&#10;small task heads. The shared body and many heads is what Tesla calls a&#10;HydraNet.&lt;/li&gt;&#10;&lt;li&gt;The transformer step has public cousins: Lift-Splat-Shoot (2020), DETR3D&#10;(2021) and BEVFormer (2022). They solve the same problem, but they pick where&#10;to look in a different way, and Tesla has not published its own code, weights&#10;or benchmark scores for this network.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="how-i-label-things"&gt;How I label things&lt;/h2&gt;&#10;&lt;p&gt;Four labels run through the post:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Tesla says:&lt;/strong&gt; from Tesla&amp;rsquo;s talks, which I read as captions of the official&#10;videos. These are claims, shown on Tesla&amp;rsquo;s own clips.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Regulator:&lt;/strong&gt; a US safety agency&amp;rsquo;s own document.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Outside analysis:&lt;/strong&gt; papers, teardowns and write-ups by other people.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;General technique:&lt;/strong&gt; an idea from public research that Tesla may or may not&#10;use in this exact form.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Everything about Tesla&amp;rsquo;s design below comes from 2021 talks: Karpathy&amp;rsquo;s CVPR&#10;keynote on 20 June 2021 and AI Day on 19 August 2021. Tesla has described other&#10;designs since, and the next parts cover them. This post is what Tesla described&#10;in 2021, not a blueprint of the car today.&lt;/p&gt;&#10;&lt;h2 id="the-trip-in-eight-steps"&gt;The trip in eight steps&lt;/h2&gt;&#10;&lt;p&gt;Here is the whole route. The rest of the post takes one box at a time.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/pipeline-map.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/pipeline-map.svg" alt="The route from camera frames to a map in eight steps: rectify, RegNet backbone, BiFPN, transformer into a top-down grid, feature queue, spatial RNN, then HydraNet heads. The output is positions around the car." loading="lazy" decoding="async" width="640" height="330"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Karpathy&amp;rsquo;s own summary at 1:11 in the AI Day video lists the same chain:&#10;rectification, RegNets, BiFPN, a transformer into vector space, a feature queue&#10;in time or space, a video module such as a spatial RNN, then the branching&#10;HydraNet with trunks and heads. &amp;ldquo;Vector space&amp;rdquo; is Tesla&amp;rsquo;s name for the output.&#10;It means positions and shapes of things around the car, not pictures.&#10;Kimbo Chen&amp;rsquo;s &lt;a href="https://kimbochen.github.io/blog/2021/11/09/tesla-ai-day-vision.html"&gt;notes on the talk&lt;/a&gt;&#10;are a good second read of the same chain (outside analysis).&lt;/p&gt;&#10;&lt;h2 id="a-neural-network-in-one-paragraph"&gt;A neural network in one paragraph&lt;/h2&gt;&#10;&lt;p&gt;A neural network is a stack of layers. Each layer takes numbers in, multiplies&#10;them by other numbers called weights, and passes the result on. The weights start&#10;random. Training shows the network many examples with the right answers and&#10;nudges the weights to shrink the error. A &lt;strong&gt;feature&lt;/strong&gt; is one of those&#10;intermediate numbers: it says how strongly some pattern shows up at one place.&#10;Stanford&amp;rsquo;s &lt;a href="https://cs231n.github.io/convolutional-networks/"&gt;CS231n notes&lt;/a&gt;&#10;describe it for images: the first layer responds to edges and colour blobs, and&#10;deeper layers respond to larger patterns built from those.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/nn-basics.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/nn-basics.svg" alt="A neural network in one picture, not Tesla’s: a picture goes in as numbers, three layers build edges, then parts, then whole shapes, and the output is a score per class, such as car 0.93." loading="lazy" decoding="async" width="640" height="372"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;A picture goes in, a stack of layers builds up patterns from small to big, and&#10;something at the end reads off an answer. Tesla&amp;rsquo;s network is a much bigger&#10;version of this, with extra steps for eight cameras and for time.&lt;/p&gt;&#10;&lt;h2 id="step-1-the-backbone-turns-pixels-into-features"&gt;Step 1: the backbone turns pixels into features&lt;/h2&gt;&#10;&lt;p&gt;Karpathy described the input at AI Day as a 1280 by 960 image of 12-bit numbers,&#10;arriving at roughly 36 Hz. If all eight cameras ran at that size, the network&#10;would face 1,228,800 pixels times 8 cameras times 36 frames. That is about 354&#10;million pixels every second, or 4.25 gigabits per second of raw values (my&#10;arithmetic, not Tesla&amp;rsquo;s). In 2022 Tesla said it feeds the network these raw&#10;12-bit values and skips the usual image-processing chip, to save time&#10;(&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;AI Day 2022&lt;/a&gt;, about 1:14 in).&lt;/p&gt;&#10;&lt;p&gt;The first job is the &lt;strong&gt;backbone&lt;/strong&gt;: the part that turns pixels into features.&#10;Tesla says it uses residual networks, a design from 2015 where each block adds&#10;its result to its input so that very deep stacks can still be trained&#10;(&lt;a href="https://arxiv.org/abs/1512.03385"&gt;He et al.&lt;/a&gt;). The specific family is&#10;&lt;strong&gt;RegNet&lt;/strong&gt;, from a 2020 paper that designed whole families of simple networks&#10;instead of one hand-tuned network (&lt;a href="https://arxiv.org/abs/2003.13678"&gt;Radosavovic et al.&lt;/a&gt;).&#10;Tesla&amp;rsquo;s reason: RegNets let you trade speed against accuracy cleanly. In 2019 the&#10;same engineer had described the backbones as &amp;ldquo;ResNet-50 like&amp;rdquo;&#10;(&lt;a href="https://www.youtube.com/watch?v=oBklltKXtDE"&gt;PyTorch conference, Oct 2019&lt;/a&gt;), so&#10;the backbone had changed by 2021.&lt;/p&gt;&#10;&lt;p&gt;The backbone hands out features at several scales. Tesla says the bottom of the&#10;stack has high resolution and few channels, so its neurons scrutinise detail.&#10;The top has low resolution and many channels, so its neurons see most of the&#10;image and its context. A &lt;strong&gt;BiFPN&lt;/strong&gt; (weighted bi-directional feature pyramid&#10;network, from the 2019 &lt;a href="https://arxiv.org/abs/1911.09070"&gt;EfficientDet paper&lt;/a&gt;)&#10;lets the scales talk to each other.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/backbone-pyramid.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/backbone-pyramid.svg" alt="A 1280 by 960 frame goes through a four-stage RegNet backbone, where resolution falls and channels grow. A BiFPN then mixes the scales in both directions, so a small patch gets context from the coarse levels." loading="lazy" decoding="async" width="640" height="412"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla&amp;rsquo;s example is a good one. A neuron looking at a small patch cannot tell&#10;whether it is seeing a car. The top of the stack can tell that the patch sits at&#10;the vanishing point of a highway. After the BiFPN mix, the small patch knows that&#10;too, and a car becomes the likely answer.&lt;/p&gt;&#10;&lt;p&gt;So far this is one camera and one task. Tesla needs many tasks. Running a whole&#10;backbone for each one would not fit in the car.&lt;/p&gt;&#10;&lt;h2 id="step-2-hydranet-one-body-and-many-heads"&gt;Step 2: HydraNet, one body and many heads&lt;/h2&gt;&#10;&lt;p&gt;Karpathy told the story at AI Day. The team wanted to find cars, but also read&#10;traffic lights, predict lanes, find curbs and more. Very quickly they converged&#10;on one shared backbone that branches into many heads. &amp;ldquo;We call these therefore&#10;HydraNets,&amp;rdquo; he said, &amp;ldquo;these are the heads of the Hydra.&amp;rdquo; The name is older than&#10;that talk. He used it at the PyTorch conference in October 2019, when he said&#10;there were almost 100 tasks and that Tesla could not afford a network for each.&#10;Lance Martin&amp;rsquo;s &lt;a href="https://medium.com/@rlancemartin/teslas-arc-of-ai-progress-3a7c3e8e24c9"&gt;write-up of Tesla&amp;rsquo;s talks&lt;/a&gt;&#10;reads the branching structure as essentially unchanged since then (outside&#10;analysis).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/hydranet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/hydranet.svg" alt="HydraNet: one shared backbone runs once and feeds trunks and heads for cars, lane lines and edges, and traffic controls. Tesla’s benefits: backbone cost paid once, heads changed alone, features cached." loading="lazy" decoding="async" width="640" height="450"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla gave three reasons for the layout.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;Pay once.&lt;/strong&gt; Features are shared, so the cost of the forward pass is shared&#10;too. One backbone per task would mean a lot of backbones in the car.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Change one head.&lt;/strong&gt; Each task can be worked on alone. You can change a&#10;dataset or a head without touching the others, so you do not have to&#10;revalidate every other task. Checks are the expensive part.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Cache features.&lt;/strong&gt; Tesla says it does a full end-to-end training run once in&#10;a while, saves the multi-scale features to disk, and then fine-tunes only the&#10;heads from those features for a while.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;By the CVPR talk in June 2021 the layout had grown: heads branch into trunks,&#10;which branch into terminals. Karpathy said about 20 people were training neural&#10;networks full time, all cooperating on a single network. The branches are how 20&#10;people avoid stepping on each other.&lt;/p&gt;&#10;&lt;p&gt;Here is the cost saving as arithmetic. Say the backbone costs B, and each head&#10;costs h. With 100 tasks and a shared backbone, the car pays B plus 100h. With a&#10;backbone per task, it pays 100 times (B plus h). Backbones are the big part, so&#10;the gap is large. The numbers are made up. The shape is the point.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s 2019 figures show how much was at stake. Karpathy said then that a full&#10;Autopilot build trained 48 different networks that made 1,000 different&#10;predictions (counting output tensors) and took 70,000 GPU hours. On a single&#10;8-GPU machine, that is about a year.&lt;/p&gt;&#10;&lt;p&gt;That covers the heads. It does not say where the heads should look. And Tesla&#10;found that the obvious answer, one camera at a time, did not work.&lt;/p&gt;&#10;&lt;h2 id="why-one-camera-at-a-time-failed"&gt;Why one camera at a time failed&lt;/h2&gt;&#10;&lt;p&gt;The obvious design is to let each camera make its own predictions and join them&#10;afterwards. That is how Tesla did it at first. For Smart Summon it even wrote a C++&#10;program, the &amp;ldquo;occupancy tracker&amp;rdquo;, to stitch curb detections across cameras and&#10;over time. Tesla named three problems.&lt;/p&gt;&#10;&lt;p&gt;First, tuning that tracker by hand was very hard. Tesla wanted that logic inside&#10;the network, trained together with everything else.&lt;/p&gt;&#10;&lt;p&gt;Second, &amp;ldquo;the image space is not the correct output space.&amp;rdquo; A prediction that&#10;looks right in the image has to be cast onto the ground to be useful. That needs&#10;an extremely accurate depth for every pixel, and it fails where the road is&#10;hidden, because a hidden spot has no pixel to predict from.&lt;/p&gt;&#10;&lt;p&gt;Here is why depth is so touchy. Take a camera 1.5 m above a flat road. Suppose&#10;each pixel covers 0.04 degrees, which is about what 1280 pixels spread over a&#10;50 degree view would give. This is my illustration with assumed numbers, not&#10;Tesla&amp;rsquo;s camera:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Ground point&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Road covered by a one-pixel error&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;30 m away&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 0.4 m&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;60 m away&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 1.7 m&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;100 m away&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 4.9 m&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;A line that is right to the pixel in the image can be metres off on the ground,&#10;and a road that slopes makes it worse. Pseudo-lidar, an idea from&#10;&lt;a href="https://arxiv.org/abs/1812.07179"&gt;Wang et al. (2018)&lt;/a&gt;, predicts a depth for&#10;every pixel and lifts the pixels into 3D points. It is a clean idea. In my&#10;reading it runs into the same sensitivity. Tesla did not name pseudo-lidar at AI&#10;Day.&lt;/p&gt;&#10;&lt;p&gt;The third problem is cameras that overlap. Karpathy showed a car that&#10;spans five of the eight cameras. No single camera sees all of it, so each makes&#10;a poor guess, and the guesses are hard to fuse.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/five-slices-one-car.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/five-slices-one-car.svg" alt="One car, five slices. Five of eight camera frames each show a piece of the same long vehicle, but in a top-down map it is one whole box with one position. This is Tesla’s AI Day 2021 example." loading="lazy" decoding="async" width="640" height="340"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Karpathy&amp;rsquo;s idea was simple to say. Take all the images, feed them into one network&#10;at once, and output straight into vector space. He called it &amp;ldquo;very easily said&#10;and much more difficult to actually achieve&amp;rdquo;. It needs two things: a network&#10;part that moves features from image space into the top-down space and can be&#10;trained end to end, and labels that live in the top-down space too, because&#10;labelling images alone will not get you there. The first part comes next. The&#10;second is at the end of this post.&lt;/p&gt;&#10;&lt;h2 id="step-3-rectify-to-one-virtual-camera"&gt;Step 3: rectify to one virtual camera&lt;/h2&gt;&#10;&lt;p&gt;Every car is slightly different. Cameras are bolted on a little off. Karpathy&amp;rsquo;s&#10;words for it: the cars are &amp;ldquo;slightly cockeyed in a slightly different way&amp;rdquo;. A&#10;network that turns image features into map positions has to know where each&#10;camera points. You could just feed the calibration numbers in next to the image.&#10;Tesla says it found something that works much better.&lt;/p&gt;&#10;&lt;p&gt;It warps every image into one synthetic &lt;strong&gt;virtual camera&lt;/strong&gt;, using a rectification&#10;transform that depends on that car&amp;rsquo;s calibration. The layer sits just above the&#10;usual image rectification layer. After it, the same scene lands in the same&#10;place in the image, whichever car took it.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/rectification.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/rectification.svg" alt="Rectification to a virtual camera. Two cars with slightly different camera mounts get their images warped into one common view, so the same scene lands in the same place. The angles are exaggerated." loading="lazy" decoding="async" width="640" height="404"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla&amp;rsquo;s test is easy to picture. Average many images from the rear-facing side&#10;cameras. Without the warp you get a blur, because each car&amp;rsquo;s camera sees the&#10;mirror in a slightly different spot. With it, the rear-view mirror comes out&#10;crisp. Karpathy said the layer &amp;ldquo;improves the performance quite a bit&amp;rdquo;. Tesla&#10;gave no number for it.&lt;/p&gt;&#10;&lt;p&gt;Tesla gave no formula either. The standard geometry is simple, though. If two&#10;cameras differ only by a small turn, one image becomes the other with a fixed 3 by&#10;3 matrix built from the camera&amp;rsquo;s internal settings and that turn. That is general&#10;geometry and my explanation, not something Tesla showed. A year later the AI Day&#10;2022 talk said the first step of its occupancy network is to rectify each camera&#10;image using the camera calibration, so the idea was still there.&lt;/p&gt;&#10;&lt;p&gt;Every image now sits in the same frame of reference. The next step is the one the&#10;post is named for.&lt;/p&gt;&#10;&lt;h2 id="step-4-queries-move-features-into-a-top-down-grid"&gt;Step 4: queries move features into a top-down grid&lt;/h2&gt;&#10;&lt;p&gt;Here is the problem. A cell on the top-down map, say a patch of road 12 m ahead&#10;and 3 m to the left, needs evidence. Where in the eight images is that evidence?&lt;/p&gt;&#10;&lt;p&gt;You could project the cell into each camera using the calibration. Tesla says&#10;that is hard to get right, for two reasons. The projection depends on the road&#10;surface, which can slope up or down. And it depends on the data: if a car blocks&#10;the view, the useful evidence is somewhere else in the image. A fixed formula&#10;cannot know that.&lt;/p&gt;&#10;&lt;p&gt;So Tesla used a &lt;strong&gt;transformer&lt;/strong&gt;: a network part built from attention, an idea&#10;from the 2017 paper &lt;a href="https://arxiv.org/abs/1706.03762"&gt;Attention Is All You Need&lt;/a&gt;.&#10;Tesla&amp;rsquo;s description, in four steps:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Make an empty raster the size of the output space you want.&lt;/li&gt;&#10;&lt;li&gt;Tile it with sine and cosine position codes, and pass them through a small&#10;network (an MLP) to make a &lt;strong&gt;query&lt;/strong&gt; for each cell.&lt;/li&gt;&#10;&lt;li&gt;Every piece of every image produces a &lt;strong&gt;key&lt;/strong&gt; and a &lt;strong&gt;value&lt;/strong&gt;. In Karpathy&amp;rsquo;s&#10;words, the key says &amp;ldquo;I&amp;rsquo;m part of a pillar in roughly this location and I&amp;rsquo;m&#10;seeing this kind of stuff&amp;rdquo;. Each query says, roughly, &amp;ldquo;I&amp;rsquo;m a pixel in the&#10;output space at this position and I&amp;rsquo;m looking for features of this type.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;Queries and keys are multiplied. The better a key matches, the more of that&#10;piece&amp;rsquo;s value is pulled into the cell.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;Tesla called this multi-headed self-attention and said a single block does much&#10;of the work. Since the queries come from the output grid and the keys and values&#10;come from the images, most papers would call this cross-attention. That is a&#10;naming note from me.&lt;/p&gt;&#10;&lt;p&gt;Here it is with made-up numbers, for one cell and three image patches. A key&#10;that matches the cell&amp;rsquo;s query well gets a high score, and softmax turns the&#10;scores into weights that add up to 1:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/query-to-bev.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/query-to-bev.svg" alt="How one top-down cell gets its features, with made-up numbers. A query is scored against three image patches: 2.1, 1.2 and 0.2. Softmax makes weights 0.64, 0.26 and 0.10, which blend their values." loading="lazy" decoding="async" width="640" height="410"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; math&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;scores &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; [&lt;span style="color:#bd93f9"&gt;2.1&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;1.2&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0.2&lt;/span&gt;] &lt;span style="color:#6272a4"&gt;# query . key for patches A, B, C&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;exps &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; [math&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;exp(s) &lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; s &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; scores]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;weights &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; [e &lt;span style="color:#ff79c6"&gt;/&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;sum&lt;/span&gt;(exps) &lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; e &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; exps] &lt;span style="color:#6272a4"&gt;# softmax&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;([&lt;span style="color:#8be9fd;font-style:italic"&gt;round&lt;/span&gt;(w, &lt;span style="color:#bd93f9"&gt;2&lt;/span&gt;) &lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; w &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; weights]) &lt;span style="color:#6272a4"&gt;# [0.64, 0.26, 0.1]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I ran that, and the weights are the ones in the picture. The network learns, from&#10;labelled examples, what to put in the queries and keys. Nobody writes down where&#10;to look. When a car blocks the view, the keys on the blocked patch no longer&#10;match, and the cell looks elsewhere.&lt;/p&gt;&#10;&lt;p&gt;Tesla showed the result as before and after. Predictions made by one&#10;multi-camera network, directly in vector space, were what Karpathy called&#10;&amp;ldquo;basically night and day&amp;rdquo;: &amp;ldquo;you can actually drive on this&amp;rdquo;. Single-camera&#10;predictions of cars were poor when only a sliver of the car was visible, and the&#10;multi-camera network struggled far less.&lt;/p&gt;&#10;&lt;p&gt;Those are Tesla&amp;rsquo;s own clips. Tesla gave no benchmark score for this network.&#10;For numbers, you have to look at the public cousins.&lt;/p&gt;&#10;&lt;h2 id="the-public-cousins-and-who-came-first"&gt;The public cousins, and who came first&lt;/h2&gt;&#10;&lt;p&gt;Three public papers do the same job, and one of them is close in shape to what&#10;Tesla described.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;&lt;a href="https://arxiv.org/abs/2008.05711"&gt;Lift-Splat-Shoot&lt;/a&gt;&lt;/strong&gt; (Philion and Fidler,&#10;Aug 2020). General technique. It &amp;ldquo;lifts&amp;rdquo; each image into features spread across&#10;possible depths, &amp;ldquo;splats&amp;rdquo; them onto a shared top-down grid, and its &amp;ldquo;shoot&amp;rdquo;&#10;step scores driving paths on the result. It uses the camera calibration to&#10;place features in 3D. It keeps a spread of depths for each pixel instead of one&#10;guess, which in my reading softens the depth problem above.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;&lt;a href="https://arxiv.org/abs/2110.06922"&gt;DETR3D&lt;/a&gt;&lt;/strong&gt; (Wang et al., Oct 2021). General&#10;technique. A set of 3D object queries is projected into each camera image with&#10;the camera matrices. Each query predicts one box.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;&lt;a href="https://arxiv.org/abs/2203.17270"&gt;BEVFormer&lt;/a&gt;&lt;/strong&gt; (Li et al., Mar 2022). General&#10;technique. Grid-shaped queries, one per top-down cell, gather features from&#10;the images and from the previous moment. It is the closest public match to the&#10;design Tesla described, and the figure below shows its encoder.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;A 2022 survey by &lt;a href="https://arxiv.org/abs/2208.02797"&gt;Ma et al.&lt;/a&gt; sorts this whole&#10;family of methods and compares their results (outside analysis).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/bevformer-fig2-architecture.png"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/bevformer-fig2-architecture.png" alt="BEVFormer Figure 2, the encoder: grid-shaped BEV queries and history features go through temporal self-attention, spatial cross-attention and a feed-forward layer, repeated 6 times, to give the current BEV." loading="lazy" decoding="async" width="1280" height="670"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Figure 2 from Li et al., &amp;ldquo;BEVFormer&amp;rdquo; (ECCV 2022, &lt;a href="https://arxiv.org/abs/2203.17270"&gt;arXiv:2203.17270&lt;/a&gt;),&#10;CC BY 4.0. I cropped out the six sample camera photos on the left of the original&#10;figure. This is a public research model, not Tesla&amp;rsquo;s.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Timing matters here, so here are the dates. Karpathy said at CVPR in June 2021&#10;that a transformer fuses the eight views. AI Day was on 19 August 2021.&#10;BEVFormer&amp;rsquo;s first version came on 31 March 2022, about seven months later. Its&#10;paper does not mention Tesla. I searched its source files for the word and found&#10;nothing. Who had the idea first, nobody outside Tesla can say. Same problem, same&#10;tools, similar answers is the safe reading.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/research-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/research-timeline.svg" alt="Timeline from November 2019 to April 2022 of public papers and Tesla talks. BEVFormer, on 31 March 2022, appeared about seven months after Tesla’s AI Day on 19 August 2021." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The two designs differ in one important way, and it comes back to rectification.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Design&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;How a top-down cell finds its evidence&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Uses calibration at run time?&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Lift-Splat-Shoot (public)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Each pixel guesses a spread of depths, and calibration places them in 3D&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Yes&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;DETR3D (public)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;3D queries are projected into each image with the camera matrices&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Yes&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;BEVFormer (public)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Four heights at each cell (-5 m to 3 m in the paper) are projected into the cameras, and features are sampled around those points&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Yes&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, 2021 (Tesla says)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Position-coded queries and keys, with attention deciding where to look. Calibration is handled earlier by the virtual camera&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;In the warp, before the transformer&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;BEVFormer&amp;rsquo;s authors tested what happens when the camera extrinsics (the camera&#10;positions and angles) are wrong. At their noise level 4, BEVFormer&amp;rsquo;s score&#10;dropped 14.3 percent. A variant that uses plain global attention, and so does not&#10;use extrinsics to choose where to look, dropped 4.0 percent. That is a result on a&#10;public dataset about a public model. It does not say anything about Tesla&amp;rsquo;s&#10;network. It does show why handling calibration in a separate, early step is a&#10;reasonable choice.&lt;/p&gt;&#10;&lt;p&gt;BEVFormer&amp;rsquo;s size is public, and it gives a feel for the scale. On nuScenes its&#10;default grid is 200 by 200 cells of 0.512 m, so 40,000 queries covering about 102&#10;m by 102 m, with 6 encoder layers. Tesla did not say how big its grid&#10;is. The paper reports a nuScenes detection score of 56.9 percent on the test set,&#10;which its authors say is 9.0 points above the previous best and on par with&#10;lidar-based methods. nuScenes is a different data set, and the paper&amp;rsquo;s figure&#10;shows six cameras, not eight.&lt;/p&gt;&#10;&lt;p&gt;The top-down map is a snapshot of one moment. A car also needs to know what&#10;happened a second ago.&lt;/p&gt;&#10;&lt;h2 id="step-5-memory-in-time-and-in-distance"&gt;Step 5: memory in time and in distance&lt;/h2&gt;&#10;&lt;p&gt;A single moment misses things. Karpathy listed the questions a snapshot cannot&#10;answer. Is this car parked or moving? How fast? Is it still there although it is&#10;hidden for a moment? What was on the sign I passed 50 m ago? Tesla added a&#10;&lt;strong&gt;feature queue&lt;/strong&gt; that caches the top-down features, together with the car&amp;rsquo;s own&#10;motion (its speed and acceleration, which Tesla calls kinematics), and a &lt;strong&gt;video&#10;module&lt;/strong&gt; that reads it.&lt;/p&gt;&#10;&lt;p&gt;The tricky part is when to add to the queue. Karpathy gave two rules.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;By time:&lt;/strong&gt; push an entry every so often. His example was every 27&#10;milliseconds. If a car is hidden for a moment, the network can look back and&#10;remember it.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;By distance:&lt;/strong&gt; push every time the car has travelled a fixed distance. The&#10;captions say only &amp;ldquo;a certain fixed distance&amp;rdquo;, with no number. If you only had a time queue, you could forget the&#10;lane markings and signs while waiting at a red light.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The 27 ms is an example from the talk. It is close to one entry per camera frame&#10;(1 divided by 36 Hz is 27.8 ms), which is my observation.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/video-queue.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/video-queue.svg" alt="Two ways to fill the feature queue. A time-based queue adds an entry every 27 ms, so a car waiting at a light fills it with near-copies and forgets the lane arrow. A distance-based queue keeps the arrow." loading="lazy" decoding="async" width="640" height="404"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The video module is the next piece. Tesla says it looked at 3D convolutions,&#10;transformers, axial transformers and several recurrent networks. It liked a&#10;&lt;strong&gt;spatial RNN&lt;/strong&gt;. The idea: the car drives on a flat surface, so the memory&#10;can be a 2D grid laid out like the road. As the car moves, its motion shifts the&#10;grid. Only cells near the car, with a good view, are updated. A car parked right&#10;beside you hides part of the road, so the network can choose not to write there,&#10;and write when the view clears. Karpathy showed channels of this memory that&#10;tracked road centres, edges, lines and surface, and called it a sort of HD map&#10;built from features instead of from explicit objects.&lt;/p&gt;&#10;&lt;p&gt;BEVFormer does something similar in spirit. It aligns the previous top-down&#10;features to the current ones by the car&amp;rsquo;s motion and lets each cell look at both&#10;(that is outside analysis, my reading of the two designs).&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s results for this step, from its own clips: a car that is briefly hidden&#10;stays in the output, where the single-frame network drops it. And in a clip from&#10;the push to remove radar, the video module gave much better depth than a single&#10;frame, and its velocity was, in Karpathy&amp;rsquo;s words, &amp;ldquo;basically right on top of the&#10;radar signal&amp;rdquo;. A single frame cannot give velocity, so there Tesla&#10;differentiated depth.&lt;/p&gt;&#10;&lt;h2 id="what-tesla-said-it-trained-on"&gt;What Tesla said it trained on&lt;/h2&gt;&#10;&lt;p&gt;Everything above needs labels in the top-down space, not in the image. Karpathy&#10;said it plainly: if you want vector-space predictions from the network, you need&#10;vector-space data sets. Here are the numbers Tesla gave in 2021:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/scale-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/scale-chart.svg" alt="Data counts Tesla stated in 2021, on a log scale: 1 million hard clips and 6 billion labelled objects (CVPR), 2.5 million clips and 10 billion labels (AI Day). Each bar counts a different thing." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Read it with care. Each bar counts a different thing, and the two talks used&#10;different slices of the work, so do not add them up. Two examples of what the&#10;numbers mean: 6 billion objects across 1 million clips is about 6,000 labelled&#10;objects per clip, and 10 billion labels over 2.5 million clips is about 4,000&#10;(my arithmetic). At CVPR, Karpathy said the one million clips are roughly 10 seconds each. At AI Day, Ashok Elluswamy said clips to be auto-labelled can be 45 seconds to a minute long, so the 2.5 million clips are not necessarily that short. At CVPR he also described a data set of about 1.5 petabytes and a new&#10;training cluster of 720 nodes of A100 GPUs, which he estimated would rank around&#10;fifth among supercomputers by raw compute. Those are Tesla&amp;rsquo;s claims.&lt;/p&gt;&#10;&lt;h2 id="the-hard-part"&gt;The hard part&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&amp;rsquo;s own list.&lt;/strong&gt; At the end of the vision section, Karpathy listed what was&#10;not ideal. Time and space were fused fairly late in the network, and earlier&#10;fusion might be better. The outputs were dense rasters that were expensive to&#10;post-process in the car, under a strict time limit. The team was looking at&#10;predicting only the sparse structure of the road. In his words, &amp;ldquo;this&#10;architecture has definitely complexified&amp;rdquo; from a simple single-image network&#10;three or four years earlier.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is not in the talks.&lt;/strong&gt; In the vision section I found no parameter counts,&#10;no per-stage latency, no grid size and no queue length. There is no benchmark&#10;score for this network, only Tesla&amp;rsquo;s clips. The public cousins have numbers on&#10;public data sets. Tesla&amp;rsquo;s version has none that outsiders can check.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;A blind camera.&lt;/strong&gt; Fusing eight cameras does not help if one of them cannot see.&#10;This is where Tesla&amp;rsquo;s claims and a regulator&amp;rsquo;s file sit next to each other:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Topic&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Tesla says&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Regulator&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cameras only&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;In a 2021 radar-removal clip, the video module&amp;rsquo;s velocity tracked the radar closely&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;NHTSA&amp;rsquo;s resume for investigation EA26002 (opened 18 March 2026) says FSD &amp;ldquo;relies exclusively on vision-based cameras and the related FSD software&amp;rdquo;, and dates the move to Tesla Vision to mid-2021&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Bad visibility&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No claim in these talks&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;NHTSA says it is evaluating whether FSD&amp;rsquo;s degradation detection system warns the driver in time in reduced visibility such as glare and airborne obscurants. Its estimate: 3,203,754 vehicles, 9 crashes in the summary, one fatal&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla&amp;rsquo;s own analysis&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No claim in these talks&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;NHTSA writes that Tesla&amp;rsquo;s post-incident analysis indicated the update to the degradation detection system, &amp;ldquo;had it been installed on the vehicles at the time, may have affected 3 of the 9 incidents&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;That investigation is about whether the car notices that its cameras are&#10;degraded. It does not test the HydraNet design above, and an opened&#10;investigation is not a finding that a defect exists. But it does show where the&#10;design&amp;rsquo;s limit is: the network can only fuse what the cameras give it.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Calibration.&lt;/strong&gt; The virtual camera depends on each car&amp;rsquo;s calibration being&#10;right. Tesla&amp;rsquo;s talks do not say what happens when it drifts. BEVFormer&amp;rsquo;s test&#10;above is a hint that it matters, not an answer for Tesla.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What is Tesla&amp;rsquo;s HydraNet?&lt;/strong&gt;&#10;A neural network with one shared backbone that feeds many separate output heads,&#10;one set per task such as cars, lanes, curbs or traffic lights. Tesla says the&#10;sharing saves compute, lets teams change one head without retesting the others,&#10;and lets it retrain heads from saved features. Karpathy used the name by October&#10;2019.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Tesla use a bird&amp;rsquo;s-eye view?&lt;/strong&gt;&#10;In 2021 Tesla said it predicted directly in a top-down &amp;ldquo;vector space&amp;rdquo; by moving&#10;features from all eight cameras there with a transformer. Karpathy used the words&#10;&amp;ldquo;bird&amp;rsquo;s eye view prediction&amp;rdquo; in the talk. In 2022 Tesla described its occupancy&#10;network with the same ingredients: rectified images, RegNet and BiFPN features, and&#10;3D position queries attending to image features. Whether today&amp;rsquo;s car runs exactly&#10;this, Tesla has not said.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is Tesla&amp;rsquo;s approach the same as BEVFormer?&lt;/strong&gt;&#10;They are close cousins, not copies as far as anything published shows. Both use&#10;grid queries and attention over image features, and both keep a memory over time.&#10;BEVFormer projects points into the cameras with calibration to choose where to look.&#10;Tesla described learned attention after a calibration-based warp. BEVFormer was&#10;published seven months after AI Day.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why does Tesla warp camera images into a virtual camera?&lt;/strong&gt;&#10;Each car&amp;rsquo;s cameras are mounted slightly differently. Warping every image to one&#10;common virtual camera means the network sees the same geometry in every car,&#10;instead of having to learn each car&amp;rsquo;s calibration. Tesla says this improved&#10;performance quite a bit.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why not just predict depth for every pixel?&lt;/strong&gt;&#10;Tesla says that needs extremely accurate depth for every pixel, and hidden areas&#10;have no pixel to predict from. A small depth error far away becomes metres on the&#10;ground, as the table above shows with assumed numbers.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-hydranet-birds-eye-view/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-hydranet-birds-eye-view/cheat-sheet.svg" alt="Cheat sheet: the 2021 pipeline in seven steps and whose idea each is. RegNet and BiFPN are public research, BEVFormer is the public cousin, and the rest are general techniques." loading="lazy" decoding="async" width="640" height="448"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; a top-down map with labelled boxes, lanes and curbs still has a hole.&#10;It only knows what is on its list. A pile of tyres, a ladder in the road, a truck on&#10;its roof: what does a network do with something it has no name for? The next part&#10;looks at what Tesla showed in 2022, where the network stops naming things and&#10;asks a plainer question about every small cube of space around the car.&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;Tesla talks (claims, shown on Tesla&amp;rsquo;s own clips):&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=j0z4FweCy4M"&gt;Tesla AI Day 2021&lt;/a&gt;, the vision section starts at about 48:44&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=g6bOwQdCJrc"&gt;Andrej Karpathy, CVPR 2021 Workshop on Autonomous Driving keynote&lt;/a&gt;, 20 June 2021&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=oBklltKXtDE"&gt;Andrej Karpathy, &amp;ldquo;PyTorch at Tesla&amp;rdquo;&lt;/a&gt;, October 2019&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=ODSJsviD_SU"&gt;Tesla AI Day 2022&lt;/a&gt;, the occupancy network from about 1:12&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Regulator:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-EA26002-10023.pdf"&gt;NHTSA ODI resume, investigation EA26002, &amp;ldquo;FSD Collisions in Reduced Roadway Visibility Conditions&amp;rdquo;&lt;/a&gt;, opened 18 March 2026&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Papers (general technique):&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1512.03385"&gt;Deep Residual Learning for Image Recognition&lt;/a&gt; (ResNet), 2015&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2003.13678"&gt;Designing Network Design Spaces&lt;/a&gt; (RegNet), 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1911.09070"&gt;EfficientDet: Scalable and Efficient Object Detection&lt;/a&gt; (BiFPN), 2019&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1706.03762"&gt;Attention Is All You Need&lt;/a&gt;, 2017&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2005.12872"&gt;End-to-End Object Detection with Transformers&lt;/a&gt; (DETR), 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2008.05711"&gt;Lift, Splat, Shoot&lt;/a&gt;, 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2110.06922"&gt;DETR3D&lt;/a&gt;, 2021&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2203.17270"&gt;BEVFormer&lt;/a&gt;, 2022&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1812.07179"&gt;Pseudo-LiDAR from Visual Depth Estimation&lt;/a&gt;, 2018&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://cs231n.github.io/convolutional-networks/"&gt;Stanford CS231n: convolutional networks&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Outside analysis:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://kimbochen.github.io/blog/2021/11/09/tesla-ai-day-vision.html"&gt;Kimbo Chen, &amp;ldquo;Tesla AI Day - Vision&amp;rdquo;&lt;/a&gt;, a write-up of the 2021 talk&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://medium.com/@rlancemartin/teslas-arc-of-ai-progress-3a7c3e8e24c9"&gt;Lance Martin, &amp;ldquo;Tesla&amp;rsquo;s arc of AI progress&amp;rdquo;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2208.02797"&gt;Ma et al., &amp;ldquo;Vision-Centric BEV Perception: A Survey&amp;rdquo;&lt;/a&gt;, 2022&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>The Chip in the Glovebox: Tesla's FSD Computer (HW3, HW4, AI5)</title><link>https://loomloops.com/post/tesla-fsd-computer-hw3-hw4-ai5/</link><pubDate>Sun, 25 Oct 2026 14:35:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-fsd-computer-hw3-hw4-ai5/</guid><description>&lt;p&gt;On 22 April 2019, Tesla showed investors a circuit board. Pete Bannon walked&#10;through the chip on it during &lt;a href="https://www.youtube.com/watch?v=Ucp0TTmvqOE"&gt;Autonomy Day&lt;/a&gt;.&#10;Elon Musk called it &amp;ldquo;objectively the best chip in the world&amp;rdquo; and said the next&#10;one was about two years away, &lt;a href="https://electrek.co/2019/04/22/tesla-full-self-driving-computer-details/"&gt;as Electrek reported that day&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;The board had a hard job. It had to fit where the old computer sat in cars&#10;already on the road, between the back of the glovebox and the firewall,&#10;&lt;a href="https://community.cadence.com/cadence_blogs_8/b/breakfast-bytes/posts/tesla"&gt;says Cadence&amp;rsquo;s write-up of the talk&lt;/a&gt;.&#10;Tesla&amp;rsquo;s own &lt;a href="https://old.hotchips.org/hc31/HC31_2.3_Tesla_Hotchips_ppt_Final_0817.pdf"&gt;Hot Chips slides&lt;/a&gt;&#10;list the goals: retrofit existing HW2.x cars, stay under 100 W, and keep part&#10;costs low enough to fit two chips.&lt;/p&gt;&#10;&lt;p&gt;The headline number was 144 trillion operations per second at 72 watts. This&#10;post takes that number apart. What is an operation? Why is the chip a grid of&#10;tiny multiplier cells? Why does Tesla talk about memory as much as speed? Then&#10;it follows the hardware through HW3, HW4 and AI5, and ends on the question&#10;owners of older cars ask: what happens to the computer they have?&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 7 of Inside a Tesla. I like the car and the tech, so I researched it to feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A neural network layer is mostly one operation: multiply two numbers and add&#10;the result to a running total. Tesla&amp;rsquo;s slides say 99.7% of the operations in&#10;its networks are multiply-accumulates. So each accelerator on its chip is a&#10;grid of 9,216 multiply-add cells with 32 MB of fast memory next to it.&lt;/li&gt;&#10;&lt;li&gt;TOPS counts the peak number of those operations per second. It does not say&#10;how many the car&amp;rsquo;s network can use, how fast memory can feed them, or what the&#10;chip draws. Google&amp;rsquo;s first AI chip delivered between about 3% and 93% of its&#10;peak, depending on the network.&lt;/li&gt;&#10;&lt;li&gt;HW3 (2019): Tesla says two chips, 144 TOPS, 72 W. HW4 (AI4): Tesla has not&#10;published a spec sheet, and the usual 500 TOPS is unofficial. AI5: Tesla says&#10;it taped out in April 2026. It is not in any car.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-the-chip-is-asked-to-do"&gt;What the chip is asked to do&lt;/h2&gt;&#10;&lt;p&gt;Eight cameras send video to the computer. The computer runs neural networks&#10;over it, and the answer goes to the controllers for steering, braking and drive.&#10;A neural network is a stack of layers. Each layer takes a grid of numbers and&#10;produces another grid. Later parts of this series cover what the networks&#10;find. This part covers the machine that runs them.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/fsd-computer-board.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/fsd-computer-board.jpg" alt="A Tesla self-driving computer board on a display stand. Two chips marked Tesla sit side by side in the middle of the board, with rows of camera connectors on the right edge." loading="lazy" decoding="async" width="1000" height="753"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Sikander Iqbal, CC BY-SA 4.0, via Wikimedia Commons. The file title says &amp;ldquo;UBQ01B0 FSD Chip&amp;rdquo; and does not say which hardware version the board is.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s goals for its first chip, from the Hot Chips slides, were more than 50&#10;TOPS per chip, about 80% of that usable, under 40 W per chip, and &amp;ldquo;optimized for&#10;batch size of one&amp;rdquo;. Batch size is how many pictures the chip works on at once. A&#10;data centre handles many at a time to keep its chips busy. A car has one set of&#10;camera frames and needs the answer now, so the chip has to be fast on a single&#10;picture.&lt;/p&gt;&#10;&lt;h2 id="a-convolution-is-multiply-and-add"&gt;A convolution is multiply and add&lt;/h2&gt;&#10;&lt;p&gt;The first layers of a vision network use convolutions. An image is a grid of&#10;brightness numbers. A convolution slides a small grid of weights, called a&#10;filter, across it. At each position you multiply each pixel by the weight lying&#10;on top of it and add up the products.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/conv-numbers.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/conv-numbers.svg" alt="One convolution output worked by hand. A 3 by 3 patch of pixels is multiplied with a 3 by 3 filter, cell by cell, giving nine products that add up to 21. That is nine multiplies and eight adds for one output number." loading="lazy" decoding="async" width="640" height="410"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;This filter is the classic Sobel edge detector. A trained network learns its&#10;own weights, but the arithmetic is the same. Nine multiplies and eight adds&#10;make one output number. A layer does that for every position and every filter.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s chip team drew the full picture as a loop. Their slide calls a single&#10;convolution &amp;ldquo;a 7 deep nested for loop&amp;rdquo;. Here is my version of it:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;for image in batch:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for out_channel in output_channels:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for out_x in output_width:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for out_y in output_height:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; total = 0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for in_channel in input_channels:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for k_y in kernel_height:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; for k_x in kernel_width:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; total += pixel[image][in_channel][out_y + k_y][out_x + k_x]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; * weight[out_channel][in_channel][k_y][k_x]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; output[image][out_channel][out_y][out_x] = total&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The innermost line is the only arithmetic: one multiply, one add. The same slide&#10;says 99.7% of the operations in an example vision network are multiply&#10;accumulates (&lt;a href="https://old.hotchips.org/hc31/HC31_2.3_Tesla_Hotchips_ppt_Final_0817.pdf"&gt;Tesla, Hot Chips 31, Aug 2019&lt;/a&gt;).&#10;That is why a chip can be built around that one move.&lt;/p&gt;&#10;&lt;h2 id="turn-it-into-one-big-matrix-multiply"&gt;Turn it into one big matrix multiply&lt;/h2&gt;&#10;&lt;p&gt;Seven loops are awkward for hardware. A matrix multiply is not. Lay each&#10;window of pixels out as one row of numbers and each filter as one column. Then&#10;a whole layer is one table times another table.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/conv-matrix.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/conv-matrix.svg" alt="A whole layer as one matrix multiply. Each row of the left table is one window position, each column of the middle table one filter. Row 2 times column 2 gives the highlighted cell, 21." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla&amp;rsquo;s patent &lt;a href="https://patents.google.com/patent/US10671349B2/en"&gt;US 10,671,349 B2&lt;/a&gt;,&#10;&amp;ldquo;Accelerated mathematical engine&amp;rdquo;, describes the trick. It says software&#10;usually converts convolutions into matrix multiplies, and it gives an example:&#10;a 3 by 3 patch across 3 colour channels becomes a column of 27 numbers, and a&#10;filter&amp;rsquo;s weights become a row of 27. My picture turns the same table on its side. The&#10;inventors are Bannon, Hurd and Talpes. It was granted on 2 June 2020. Figure 5&#10;shows the same idea as the picture above, ending in the small cell the chip&#10;repeats thousands of times: an 8-bit multiplier feeding a 32-bit adder (the&#10;Hot Chips slide says a 30-bit running total).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/patent-us10671349-fig5.png"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/patent-us10671349-fig5.png" alt="Patent drawing. A 3 by 3 input patch and a stack of weights feed a DOT step, the output grid receives one value, and a single cell has an 8-bit multiplier, a 32-bit adder, a sum and an output." loading="lazy" decoding="async" width="1000" height="739"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;US patent 10,671,349, fig. 5. Drawing rotated and resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s Hot Chips slides do one more step. They merge the two output position&#10;loops into one long axis, then work through 96 positions and 96 filters at a&#10;time. The number 96 comes from the next section.&lt;/p&gt;&#10;&lt;h2 id="the-array-9216-multiply-add-cells"&gt;The array: 9,216 multiply-add cells&lt;/h2&gt;&#10;&lt;p&gt;Each Tesla accelerator is a 96 by 96 square of cells. Image numbers flow in along&#10;the rows. Weights flow in along the columns. Every cell multiplies the two&#10;numbers it sees, adds the result to a running total, and keeps that total.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/mac-array.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/mac-array.svg" alt="The multiply-add array drawn as 6 by 6 cells; the real one is 96 by 96. Each cell keeps a running total. 9,216 cells times 2 operations times 2 GHz is 36.9 trillion operations per second." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The slide gives the cell&amp;rsquo;s arithmetic as &amp;ldquo;Acc (30b) = 8b x 8b + Acc&amp;rdquo;. The numbers are&#10;whole numbers that fit in 8 bits. Rounding a network down to 8-bit whole numbers&#10;is called quantization. It makes each multiplier small, so more of them fit on&#10;the chip and each draws less power. The adders are wider so the running total&#10;does not overflow.&lt;/p&gt;&#10;&lt;p&gt;After the array come the small jobs. A &amp;ldquo;ReLU&amp;rdquo; step zeros out negative numbers.&#10;&amp;ldquo;Pooling&amp;rdquo; shrinks a grid by keeping the maximum or the average of each small&#10;block. Tesla&amp;rsquo;s slide says that once multiply-adds are made orders of magnitude&#10;faster, these steps matter much more, so the chip has dedicated hardware for&#10;them too.&lt;/p&gt;&#10;&lt;p&gt;Now the TOPS arithmetic. A multiply and an add count as two operations. One&#10;accelerator does 9,216 cells x 2 operations x 2 billion ticks per second, which&#10;is 36.9 trillion operations per second. Tesla&amp;rsquo;s slide says 36.8 TOPS per&#10;accelerator. Each chip has two accelerators, and the board has two chips. Four&#10;accelerators at about 36.8 each make about 147, which Tesla rounds to 144 (the&#10;144 is Tesla&amp;rsquo;s Autonomy Day figure, not on the Hot Chips slides). The&#10;arithmetic is mine.&lt;/p&gt;&#10;&lt;h2 id="the-real-limit-is-where-the-numbers-wait"&gt;The real limit is where the numbers wait&lt;/h2&gt;&#10;&lt;p&gt;A multiplier cell is cheap. Getting a number to it is not. Two kinds of memory&#10;matter:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;SRAM&lt;/strong&gt; sits on the chip, built from the same transistors as the logic. It&#10;is fast and cheap to read, but each bit takes several transistors, so there is&#10;little of it.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;DRAM&lt;/strong&gt; is separate memory chips beside the processor. It holds gigabytes,&#10;but every access goes out through the chip&amp;rsquo;s pins.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/memory-distance.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/memory-distance.svg" alt="Numbers move from off-chip DRAM to 32 MB of on-chip SRAM to the multiply-add array. A DRAM access costs 1 to 2 nanojoules, about 100 to 200 times an on-chip access or one operation." loading="lazy" decoding="async" width="640" height="450"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The figures come from Mark Horowitz&amp;rsquo;s 2014 chip conference paper&#10;&lt;a href="https://ieeexplore.ieee.org/document/6757323"&gt;&amp;ldquo;Computing&amp;rsquo;s energy problem&amp;rdquo;&lt;/a&gt;.&#10;He puts a DRAM access at 1 to 2 nanojoules, &amp;ldquo;a couple of orders-of-magnitude&amp;rdquo;&#10;above an on-chip access or an operation at about 10 picojoules. He also says the&#10;most efficient designs need roughly a thousand operations for each DRAM fetch,&#10;and that this is &amp;ldquo;very similar to what is needed to implement convolution&amp;rdquo;,&#10;because each pixel and weight is used many times. Tesla&amp;rsquo;s slide cites the same&#10;paper.&lt;/p&gt;&#10;&lt;p&gt;So Tesla&amp;rsquo;s design leans on SRAM. Each accelerator has 32 MB of it. The slides&#10;say network programs stay resident in the SRAM, and one design rule is&#10;&amp;ldquo;Eliminate DRAM reads/writes&amp;rdquo;. For scale, a 1280 by 960 camera frame (the 1.2&#10;megapixel HW3 camera size reported by&#10;&lt;a href="https://electrek.co/2025/12/02/tesla-new-camera-upgrade-casting-more-doubt-full-self-driving-promises/"&gt;Electrek&lt;/a&gt;)&#10;is about 1.2 MB at one byte per pixel. 32 MB is about 27 such frames. That is my&#10;arithmetic, and a real layer&amp;rsquo;s size depends on the network, which Tesla has not&#10;published.&lt;/p&gt;&#10;&lt;p&gt;Keep this section in mind. It comes back in the upgrade question.&lt;/p&gt;&#10;&lt;h2 id="what-tops-tells-you-and-what-it-does-not"&gt;What TOPS tells you, and what it does not&lt;/h2&gt;&#10;&lt;p&gt;TOPS is the peak: every cell doing useful work on every tick. A real network&#10;never gets there. Google&amp;rsquo;s first AI chip makes the point with published&#10;numbers. Its peak is 92 TOPS. On six real networks it delivered between 2.8 and&#10;86 TOPS.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/tpu-peak-vs-real.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/tpu-peak-vs-real.svg" alt="Column chart of TOPS Google’s first TPU delivered on six networks against its 92 TOPS peak. CNN0 reached 86.0, while MLP0 got 12.3 and LSTM1 2.8. The MLPs and LSTMs were limited by memory bandwidth." loading="lazy" decoding="async" width="640" height="480"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;This is a different chip from Tesla&amp;rsquo;s, so it is a lesson, not a prediction. The&#10;authors say four of the six networks were limited by memory bandwidth, not by&#10;the multipliers. On CNN1, the matrix unit was busy under half the time, and when&#10;it was busy only about half of its 65,536 cells held useful weights, because&#10;some layers were too narrow to fill the array&#10;(&lt;a href="https://arxiv.org/abs/1704.04760"&gt;Jouppi et al., ISCA 2017&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The 144 figure was argued over the day it came out. Tesla compared its chip with&#10;NVIDIA&amp;rsquo;s Xavier at 21 TOPS. NVIDIA&amp;rsquo;s &lt;a href="https://www.edge-ai-vision.com/2019/05/tesla-raises-the-bar-for-self-driving-carmakers/"&gt;reply&lt;/a&gt;&#10;said Xavier is rated at 30, and that Tesla&amp;rsquo;s two-chip board should be compared&#10;with NVIDIA&amp;rsquo;s own two-chip computer, DRIVE AGX Pegasus, at 320. The Cadence&#10;write-up adds that 144 counts the second, redundant chip, so about half of it&#10;is what one pass over the camera data can use. That is the blogger&amp;rsquo;s reading,&#10;not Tesla&amp;rsquo;s claim. Tesla&amp;rsquo;s own speed number is different: 2,300 frames per&#10;second on its own network, against 110 for the board before it.&lt;/p&gt;&#10;&lt;p&gt;Four questions make any TOPS number more useful:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;What precision? Tesla&amp;rsquo;s cell is 8-bit. A 16-bit TOPS is a different number.&lt;/li&gt;&#10;&lt;li&gt;Peak or measured, and on which network?&lt;/li&gt;&#10;&lt;li&gt;How much memory bandwidth feeds the cells?&lt;/li&gt;&#10;&lt;li&gt;How many watts, and for how many chips?&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="hw3-as-tesla-described-it-in-2019"&gt;HW3, as Tesla described it in 2019&lt;/h2&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s 2016 blog post said every car in production had &amp;ldquo;the hardware needed for&#10;full self-driving capability&amp;rdquo;, with a computer of &amp;ldquo;more than 40 times the&#10;computing power of the previous generation&amp;rdquo;&#10;(&lt;a href="https://www.tesla.com/blog/all-tesla-cars-being-produced-now-have-full-self-driving-hardware"&gt;Tesla, 19 Oct 2016&lt;/a&gt;).&#10;Tesla&amp;rsquo;s own chip came next. The slides say it took 14 months from architecture&#10;to tape-out.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/hw3-block-diagram.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/hw3-block-diagram.svg" alt="The HW3 computer as Tesla described it at Hot Chips 2019. Two identical chips on one board with redundant power. Each has 12 CPU cores, a GPU and two accelerators, each with a 96 by 96 array and 32 MB of SRAM." loading="lazy" decoding="async" width="640" height="520"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Item&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Value&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Chip process, size&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;14 nm FinFET, 260 mm², about 6 billion transistors&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, Hot Chips slides&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Chip maker&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Samsung, in Austin&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://electrek.co/2019/04/22/tesla-full-self-driving-computer-details/"&gt;Electrek&lt;/a&gt;, &lt;a href="https://venturebeat.com/business/tesla-claims-its-latest-self-driving-chip-is-six-times-more-powerful-than-its-rivals"&gt;VentureBeat&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;On each chip&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;12 CPUs, 1 GPU, 2 accelerators&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, Hot Chips slides&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Accelerator&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;96 x 96 MACs, 2 GHz+, 32 MB SRAM, 36.8 TOPS&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, Hot Chips slides&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Board&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2 chips, 144 TOPS, 72 W&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla; the 144 as reported by VentureBeat, the 72 W on the Hot Chips slide&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Versus HW2.5&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2,300 vs 110 frames per second, 72 W vs 57 W, 0.8x the cost&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla&amp;rsquo;s own benchmark&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s chart is the one worth keeping. The new board did 21 times the frames&#10;on Tesla&amp;rsquo;s own network for 1.25 times the power, Tesla&amp;rsquo;s figure:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/hotchips-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/hotchips-chart.svg" alt="Two bar charts from Tesla’s 2019 Hot Chips talk. Frames per second on Tesla’s own network benchmark: HW2.5 110, HW3 2,300. Power: HW2.5 57 watts, HW3 72 watts. Frames per watt works out at 1.9 for HW2.5 and 31.9 for HW3." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;I divided the two numbers: about 1.9 frames per watt before, about 31.9 after.&#10;The frame rate is a Tesla benchmark on a Tesla network, so nobody outside can&#10;repeat it. The HW3 board was a few weeks old in cars when Tesla presented it. It&#10;went into new Model S and X from about 20 March 2019 and Model 3 from about 12&#10;April, &lt;a href="https://electrek.co/2019/04/22/tesla-full-self-driving-computer-details/"&gt;per Electrek&lt;/a&gt;.&#10;The full design is in the &lt;a href="https://doi.org/10.1109/MM.2020.2975764"&gt;IEEE Micro paper&lt;/a&gt;&#10;by the team.&lt;/p&gt;&#10;&lt;h2 id="hw4-ai4-what-is-known-and-what-is-a-guess"&gt;HW4 (AI4): what is known and what is a guess&lt;/h2&gt;&#10;&lt;p&gt;Tesla now calls the two generations AI3 and AI4, as its AI chief did when&#10;announcing a build for &amp;ldquo;AI3&amp;rdquo; cars in June 2026&#10;(&lt;a href="https://electrek.co/2026/06/29/tesla-fsd-v14-lite-hw3-rollout/"&gt;Electrek&lt;/a&gt;).&#10;Tesla has not published a spec sheet for AI4 that I could find. So here is each&#10;number with its source:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Claim&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Who says it&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Status&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;16 GB of memory per chip, planned move to 32 GB&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Musk, Q1 2026 call&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla statement&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;20 CPU cores per side, up from 12; 12 camera connectors&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Outside researcher&amp;rsquo;s teardown, Feb 2023 (&lt;a href="https://insideevs.com/news/652740/tesla-autopilot-hardware-4-fsd2-leak/"&gt;InsideEVs&lt;/a&gt;, &lt;a href="https://www.notebookcheck.net/Tesla-self-driving-Hardware-4-HW4-teardown-from-upcoming-Model-X-reveals-significant-upgrades-and-consolidated-AMD-CPU-GPU-infotainment-board-no-retrofit-possible-in-current-Tesla-cars.695921.0.html"&gt;Notebookcheck&lt;/a&gt;)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Outside analysis&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;About 5 MP cameras, up from 1.2 MP&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://electrek.co/2025/12/02/tesla-new-camera-upgrade-casting-more-doubt-full-self-driving-promises/"&gt;Electrek&lt;/a&gt;, citing firmware strings found by a researcher; the sensor name is unconfirmed&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Outside analysis&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;About 500 TOPS&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://www.notateslaapp.com/news/3521/how-teslas-fsd-hardware-has-changed-over-the-years"&gt;Not a Tesla App, 27 May 2026&lt;/a&gt;, no source given&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Unofficial&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The 16 GB figure is in the &lt;a href="https://evwire.com/p/tesla-tsla-q1-2026-earnings-call-full-transcript"&gt;Q1 2026 call transcript&lt;/a&gt;.&#10;Musk said an AI4 refresh with newer memory would go from 16 to 32 GB per chip&#10;and add about 10% to compute and memory bandwidth. The transcript is a&#10;third-party copy of the call.&lt;/p&gt;&#10;&lt;p&gt;The 500 TOPS number is the one to be careful with. It is everywhere, and I could&#10;not trace it to Tesla. The chart below shows it dashed on purpose:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/tops-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/tops-chart.svg" alt="Peak TOPS as each source states it. Xavier 30, Tesla HW3 144 at 72 watts, DRIVE AGX Pegasus 320, Tesla AI4 about 500 (unofficial), AI5 2,000 to 2,500 (unofficial target). Power is published only for HW3." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="ai5-taped-out-not-in-cars"&gt;AI5: taped out, not in cars&lt;/h2&gt;&#10;&lt;p&gt;&amp;ldquo;Tape-out&amp;rdquo; means the chip design is finished and sent to a chip factory to make&#10;the first batch. Testing and ramping follow. Musk wrote on X on 15 April 2026:&#10;&amp;ldquo;Congrats to the @Tesla_AI chip design team on taping out AI5!&amp;rdquo;&#10;(&lt;a href="https://electrek.co/2026/04/15/tesla-ai5-chip-taped-out-musk-ai6-dojo3/"&gt;quoted by Electrek&lt;/a&gt;).&#10;Electrek&amp;rsquo;s own estimate is that automotive chips usually take 12 to 18 months&#10;from tape-out to volume. That is the outlet&amp;rsquo;s view, not Tesla&amp;rsquo;s.&lt;/p&gt;&#10;&lt;p&gt;Here is what Tesla and Musk have said about where AI5 goes, in order:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Date&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What was said&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Jun 2024&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;AI5 in cars in the second half of 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Musk, as recapped by Electrek&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;22 Oct 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Made at Samsung&amp;rsquo;s Texas plant and TSMC&amp;rsquo;s Arizona plant; up to 40x AI4 on some measures; drops the old GPU and image processor&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Musk, Q3 2025 call, via &lt;a href="https://www.trendforce.com/news/2025/10/23/news-tesla-ai5-production-split-between-samsung-tsmc-musk-cites-samsungs-advanced-equipment/"&gt;TrendForce&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;22 Apr 2026&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;AI5 will go into Optimus and into the data center&amp;rdquo;; AI4 is already above human safety, so AI5 is not urgent in cars&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Musk, Q1 2026 call transcript&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;22 Jul 2026&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;AI5 &amp;ldquo;hopefully in volume production around the middle of next year&amp;rdquo;; per Electrek, AI5 would &amp;ldquo;initially go into Optimus&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/08/05/tesla-tsla-q2-2026-earnings-call-transcript/"&gt;Q2 2026 call transcript&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;21 Oct 2026&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;An order of magnitude more compute, AI5 versus AI4&amp;rdquo;; volume &amp;ldquo;hopefully around April of next year&amp;rdquo; for Optimus&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/10/22/tesla-tsla-q3-2026-earnings-call-transcript/"&gt;Q3 2026 call transcript&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Two things do not line up, and I want to show both.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Who builds it.&lt;/strong&gt; Musk said on the Q3 2025 call that output is split between Samsung&amp;rsquo;s Texas plant and TSMC&amp;rsquo;s Arizona plant, and his tape-out post credited both. Electrek, on 15 April 2026, reports TSMC for AI5 and Samsung&amp;rsquo;s 2 nm line for AI6. &lt;a href="https://technode.com/2026/04/16/tesla-completes-ai5-chip-tape-out-to-be-manufactured-by-tsmc-and-samsung/"&gt;TechNode&lt;/a&gt;&#10;cites unnamed sources, and only for the 2027 timing. I would not state a fab as&#10;fact until Tesla says so.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How fast it is.&lt;/strong&gt; The 2,000 to 2,500 TOPS target on the chart is an outside&#10;number. TrendForce&amp;rsquo;s April 2026 report relays an earlier Musk claim of 8x compute and 9x&#10;memory (it gives no date), and on the 21 October call he said &amp;ldquo;an order of&#10;magnitude&amp;rdquo;. If AI4 is 500, 8x is 4,000 and 10x&#10;is 5,000, well above the target. So either AI4 is lower than 500, or the target&#10;is stale, or the ratios measure something else. Nobody outside Tesla can settle&#10;that today.&lt;/p&gt;&#10;&lt;h2 id="the-hw3-upgrade-question-as-tesla-stated-it"&gt;The HW3 upgrade question, as Tesla stated it&lt;/h2&gt;&#10;&lt;p&gt;Owners of HW3 cars who bought FSD ask the obvious question: will my computer be&#10;replaced? Here is what Tesla and Musk have said, with dates:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/hardware-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/hardware-timeline.svg" alt="Timeline of the Tesla computer and upgrade claims, 2016 to 21 October 2026. Mar 2019: HW3 in new cars. Jan 2023: no HW3 to HW4 retrofit. Apr 2026: AI5 taped out. Oct 2026: AI5 volume timing." loading="lazy" decoding="async" width="640" height="812"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;April 2019.&lt;/strong&gt; At Autonomy Day Musk said Tesla would start offering&#10;retrofits within months to owners who had bought FSD&#10;(&lt;a href="https://electrek.co/2019/04/22/tesla-full-self-driving-computer-details/"&gt;Electrek&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;January 2023.&lt;/strong&gt; Asked about moving HW3 cars to HW4, Musk said the cost and&#10;difficulty were &amp;ldquo;quite significant&amp;rdquo; and a retrofit would not be economically&#10;feasible (&lt;a href="https://electrek.co/2023/01/26/elon-musk-kills-hope-tesla-retrofitting-new-autopilot-self-driving-hardware/"&gt;Electrek&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;January 2025.&lt;/strong&gt; Musk: &amp;ldquo;we&amp;rsquo;re going to have to upgrade people&amp;rsquo;s Hardware 3&#10;computer for those that have bought full self-driving&amp;rdquo;, which he called&#10;&amp;ldquo;painful and difficult but we&amp;rsquo;ll get it done&amp;rdquo;&#10;(&lt;a href="https://www.fool.com/earnings/call-transcripts/2025/01/29/tesla-tsla-q4-2024-earnings-call-transcript/"&gt;Q4 2024 call transcript&lt;/a&gt;,&#10;also &lt;a href="https://www.theregister.com/2025/01/30/tesla_q4_2024/"&gt;The Register&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;April 2026.&lt;/strong&gt; Musk: &amp;ldquo;Hardware 3 simply does not have the capability to&#10;achieve Unsupervised FSD&amp;rdquo;. He gave a reason: HW3 has &amp;ldquo;only 1/8 of the memory&#10;bandwidth&amp;rdquo; of HW4, and memory bandwidth is &amp;ldquo;one of the key elements needed for&#10;Unsupervised FSD&amp;rdquo;. He described a discounted trade-in for an AI4 car and an&#10;upgrade that replaces the computer and the cameras (Q1 2026 call transcript).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;June 2026.&lt;/strong&gt; Tesla&amp;rsquo;s AI chief said &amp;ldquo;FSD v14 Lite&amp;rdquo; was rolling out to AI3&#10;early-access customers. He said it &amp;ldquo;distills&amp;rdquo; the v14 driving&#10;behaviour into the older computer and cameras. It is still supervised&#10;(&lt;a href="https://electrek.co/2026/06/29/tesla-fsd-v14-lite-hw3-rollout/"&gt;Electrek&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;July 2026.&lt;/strong&gt; Asked if the upgrade is still the plan, Musk said it would be&#10;&amp;ldquo;financially sensible at some point&amp;rdquo; and that Tesla would &amp;ldquo;want to upgrade&#10;them to the next generation&amp;rdquo; of board. He named two options: a &amp;ldquo;moderate&#10;improvement over AI4&amp;rdquo; around the middle of 2027, or AI5 (Q2 2026 call&#10;transcript). Electrek&amp;rsquo;s headline on the call says Tesla &lt;a href="https://electrek.co/2026/07/22/tesla-hardware-3-fsd-no-plan-musk-earnings-call"&gt;still has no real&#10;plan&lt;/a&gt;.&#10;That is the outlet&amp;rsquo;s judgement. The point it rests on is plain: the boards in&#10;question are not in production.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Now the memory section pays off. Musk&amp;rsquo;s reason is about moving data, not about&#10;multipliers. For &amp;ldquo;an auto-regressive transformer&amp;rdquo;, he said, memory bandwidth&#10;&amp;ldquo;is the choke point&amp;rdquo;. My reading of that: if a network&amp;rsquo;s weights do not fit in&#10;the chip&amp;rsquo;s fast SRAM, they are read from DRAM again and again, and the speed of&#10;that read sets the speed of the network. HW3 has 64 MB of SRAM per chip and, by&#10;Musk&amp;rsquo;s figure, an eighth of HW4&amp;rsquo;s memory bandwidth. More multipliers would not&#10;help. Tesla has not published the numbers behind the claim.&lt;/p&gt;&#10;&lt;h2 id="what-i-could-not-check"&gt;What I could not check&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Tesla&amp;rsquo;s own support and spec pages refused my downloads, so camera ranges and&#10;any HW3 or HW4 numbers on tesla.com are not in this post. I read the 2016 blog&#10;post from an archived copy.&lt;/li&gt;&#10;&lt;li&gt;The earnings calls are quoted from third-party transcripts. Some are garbled&#10;in places, so I kept the quotes short.&lt;/li&gt;&#10;&lt;li&gt;I could not trace the 500 TOPS figure for AI4 or the 2,000 to 2,500 TOPS&#10;target for AI5 to Tesla. They stay marked unofficial.&lt;/li&gt;&#10;&lt;li&gt;The photo above does not say which hardware version it shows, so I did not&#10;label it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What does TOPS mean on a chip?&lt;/strong&gt;&#10;Tera-operations per second: a trillion simple operations, often 8-bit&#10;multiplies and adds, counted at the chip&amp;rsquo;s peak. It is a ceiling. The speed you&#10;get depends on the network and on how fast memory can feed the cells.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How many TOPS does Tesla HW3 have?&lt;/strong&gt;&#10;Tesla says 144 for the board, which is two chips with two accelerators each at&#10;36 TOPS. NVIDIA disputed the comparison Tesla made at the time. The same number&#10;counts the second, redundant chip.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is HW4 the same as AI4?&lt;/strong&gt;&#10;Yes. Tesla now uses the AI3 and AI4 names for HW3 and HW4, as its AI chief did&#10;when announcing a build for AI3 in June 2026.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is AI5 in any Tesla car?&lt;/strong&gt;&#10;No. Tesla says it taped out in April 2026. On the 21 October 2026 call Musk said&#10;he hopes for volume around April 2027 and talked about it going into Optimus.&#10;&lt;a href="https://electrek.co/2026/04/15/tesla-ai5-chip-taped-out-musk-ai6-dojo3/"&gt;Electrek reports&lt;/a&gt;&#10;that Tesla said the Cybercab launches on AI4.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Will my HW3 car get a new computer?&lt;/strong&gt;&#10;In January 2025 Musk said Tesla would have to upgrade HW3 computers for people&#10;who bought FSD. In July 2026 he said an upgrade is &amp;ldquo;financially sensible at some&#10;point&amp;rdquo;, to a next-generation board. Tesla has not given a date, price or method,&#10;and that board is not in production yet.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-fsd-computer-hw3-hw4-ai5/cheat-sheet.svg" alt="Cheat sheet for the FSD computer. A 96 by 96 array of 9,216 MACs at 2 GHz is 36.9 TOPS peak. HW3: 2 chips, 144 TOPS, 72 W. AI5 taped out 15 Apr 2026, not in cars. A DRAM access costs 100 to 200 times more energy." loading="lazy" decoding="async" width="640" height="602"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; The chip now has what it needs: eight video streams in, a grid that&#10;multiplies, a way to feed it. But the car does not need eight flat pictures. It&#10;needs one 3D world with distances in it. How does Tesla turn eight camera&#10;images into a single picture of the space around the car?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://old.hotchips.org/hc31/HC31_2.3_Tesla_Hotchips_ppt_Final_0817.pdf"&gt;Hot Chips 31 slides: Tesla&amp;rsquo;s compute and redundancy solution, Aug 2019&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=Ucp0TTmvqOE"&gt;Autonomy Day video, 22 Apr 2019&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.tesla.com/blog/all-tesla-cars-being-produced-now-have-full-self-driving-hardware"&gt;All Tesla cars being produced now have full self-driving hardware, 19 Oct 2016&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Earnings call transcripts (third-party copies):&#10;&lt;a href="https://www.fool.com/earnings/call-transcripts/2025/01/29/tesla-tsla-q4-2024-earnings-call-transcript/"&gt;Q4 2024&lt;/a&gt;,&#10;&lt;a href="https://evwire.com/p/tesla-tsla-q1-2026-earnings-call-full-transcript"&gt;Q1 2026&lt;/a&gt;,&#10;&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/08/05/tesla-tsla-q2-2026-earnings-call-transcript/"&gt;Q2 2026&lt;/a&gt;,&#10;&lt;a href="https://www.fool.com/earnings/call-transcripts/2026/10/22/tesla-tsla-q3-2026-earnings-call-transcript/"&gt;Q3 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US10671349B2/en"&gt;US 10,671,349 B2, Accelerated mathematical engine&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://doi.org/10.1109/MM.2020.2975764"&gt;Talpes et al., Compute Solution for Tesla&amp;rsquo;s Full Self-Driving Computer, IEEE Micro, March 2020&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ieeexplore.ieee.org/document/6757323"&gt;Horowitz, Computing&amp;rsquo;s energy problem (and what we can do about it), ISSCC 2014&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1704.04760"&gt;Jouppi et al., In-Datacenter Performance Analysis of a Tensor Processing Unit, ISCA 2017&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/1703.09039"&gt;Sze et al., Efficient Processing of Deep Neural Networks: A Tutorial and Survey&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://community.cadence.com/cadence_blogs_8/b/breakfast-bytes/posts/tesla"&gt;Cadence, Tesla Autonomy Day chip summary&lt;/a&gt; and &lt;a href="https://community.cadence.com/cadence_blogs_8/b/breakfast-bytes/posts/hc19-tesla"&gt;Hot Chips 2019 summary&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.edge-ai-vision.com/2019/05/tesla-raises-the-bar-for-self-driving-carmakers/"&gt;NVIDIA&amp;rsquo;s reply, &amp;ldquo;Tesla Raises the Bar for Self-Driving Carmakers&amp;rdquo;, Apr 2019 (reposted)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2019/04/22/tesla-full-self-driving-computer-details/"&gt;Electrek, Autonomy Day computer details, 22 Apr 2019&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://venturebeat.com/business/tesla-claims-its-latest-self-driving-chip-is-six-times-more-powerful-than-its-rivals"&gt;VentureBeat, Tesla chip claims, 22 Apr 2019&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/652740/tesla-autopilot-hardware-4-fsd2-leak/"&gt;InsideEVs, first HW4 teardown, Feb 2023&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2023/01/26/elon-musk-kills-hope-tesla-retrofitting-new-autopilot-self-driving-hardware/"&gt;Electrek, Musk rules out a HW3 to HW4 retrofit, Jan 2023&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.theregister.com/2025/01/30/tesla_q4_2024/"&gt;The Register, Q4 2024 call, 30 Jan 2025&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2025/12/02/tesla-new-camera-upgrade-casting-more-doubt-full-self-driving-promises/"&gt;Electrek, camera upgrade and HW3 vs HW4 cameras, 2 Dec 2025&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/04/15/tesla-ai5-chip-taped-out-musk-ai6-dojo3/"&gt;Electrek, AI5 tape-out, 15 Apr 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://technode.com/2026/04/16/tesla-completes-ai5-chip-tape-out-to-be-manufactured-by-tsmc-and-samsung/"&gt;TechNode, AI5 tape-out, 16 Apr 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.trendforce.com/news/2025/10/23/news-tesla-ai5-production-split-between-samsung-tsmc-musk-cites-samsungs-advanced-equipment/"&gt;TrendForce, AI5 production split, 23 Oct 2025&lt;/a&gt; and &lt;a href="https://www.trendforce.com/news/2026/04/15/news-musk-confirms-ai5-tape-out-but-wrong-tsmc-tag-triggers-social-media-mix-up/"&gt;the tape-out post, 15 Apr 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.notateslaapp.com/news/3521/how-teslas-fsd-hardware-has-changed-over-the-years"&gt;Not a Tesla App, how FSD hardware has changed, 27 May 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/06/29/tesla-fsd-v14-lite-hw3-rollout/"&gt;Electrek, FSD v14 Lite for HW3, 29 Jun 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/07/22/tesla-hardware-3-fsd-no-plan-musk-earnings-call"&gt;Electrek, Hardware 3 owners and the Q2 2026 call, 22 Jul 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Eight Cameras, No Radar: How a Tesla Sees</title><link>https://loomloops.com/post/tesla-vision-cameras-no-radar/</link><pubDate>Thu, 22 Oct 2026 08:10:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-vision-cameras-no-radar/</guid><description>&lt;p&gt;You park outside on a cold, wet night. In the morning the touchscreen shows an&#10;alert: a camera is blocked, and some driver-assist features are limited until&#10;the view clears. Nothing is broken. Tesla&amp;rsquo;s fix is warm air.&lt;/p&gt;&#10;&lt;p&gt;The alert comes straight from Tesla&amp;rsquo;s owner&amp;rsquo;s manual. It says that &amp;ldquo;condensation&#10;can form inside the camera enclosures, especially if you park your vehicle&#10;outside in cold or wet conditions&amp;rdquo;, and tells you to warm the cabin, run the&#10;windshield defroster and point the front vents at the door pillars&#10;(&lt;a href="https://web.archive.org/web/20250401132543/https://www.tesla.com/ownersmanual/model3/en_us/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;Model 3 manual, 2025 copy&lt;/a&gt;).&#10;A foggy lens matters this much because the camera is no longer one sensor among&#10;several. Radar left Tesla&amp;rsquo;s cars from 2021. The ultrasonic parking sensors went&#10;in 2022. This part is about what is left.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 6 of Inside a Tesla. I like the car and the tech, so I researched it to&#10;feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A current Tesla sees through seven or eight cameras and nothing else. Tesla&amp;rsquo;s manuals say where they sit,&#10;and Tesla&amp;rsquo;s own 2021 page gave their reach: 250 m for the narrow forward&#10;camera down to 50 m for the rear one.&lt;/li&gt;&#10;&lt;li&gt;Tesla took out forward radar from May 2021 and the 12 ultrasonic sensors from&#10;October 2022. A radar or lidar measures distance. A camera does not, so a&#10;neural network has to estimate it.&lt;/li&gt;&#10;&lt;li&gt;The trade-offs are public. Tesla says vision is enough. Regulators are&#10;studying how FSD copes with glare, fog and dust. Rivals keep radar and lidar.&#10;I show both sides, labelled by who said what.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Every claim below says who made it: &lt;strong&gt;Tesla says&lt;/strong&gt; (its pages, manuals, patents&#10;and talks), &lt;strong&gt;regulator&lt;/strong&gt; (NHTSA), or &lt;strong&gt;outside analysis&lt;/strong&gt; (press, teardowns,&#10;academics). Tesla&amp;rsquo;s site blocks automated fetchers, so I read archived copies of&#10;its pages, and the links point to those.&lt;/p&gt;&#10;&lt;h2 id="the-eight-cameras"&gt;The eight cameras&lt;/h2&gt;&#10;&lt;p&gt;Count them on an older car and you get eight. Tesla&amp;rsquo;s manual puts one above the&#10;rear license plate, one in each door pillar, one in each front fender, and&#10;three behind the windshield above the rear view mirror&#10;(&lt;a href="https://web.archive.org/web/20230921161432/https://www.tesla.com/ownersmanual/modely/en_us/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;Model Y manual, 2023 copy&lt;/a&gt;).&#10;A separate cabin camera above the mirror watches the driver. It is not one of&#10;the eight.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/positions.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/positions.svg" alt="Top view of a Tesla showing eight cameras: three behind the windshield (250, 150 and 60 m), two in the door pillars (80 m), two in the fenders (100 m) and one at the rear (50 m)." loading="lazy" decoding="async" width="640" height="516"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The mix has moved on. Tesla&amp;rsquo;s 2025 Model 3 manual lists two cameras behind the&#10;windshield (&lt;a href="https://web.archive.org/web/20250401132543/https://www.tesla.com/ownersmanual/model3/en_us/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;copy&lt;/a&gt;).&#10;That list has seven cameras and no grille camera. Its Model Y manual, in an&#10;April 2026 copy, lists two there plus &amp;ldquo;A camera is mounted above the grille on&#10;the front bumper.&amp;rdquo;, so that car totals eight&#10;(&lt;a href="https://web.archive.org/web/20260413165536/https://www.tesla.com/ownersmanual/modely/en_au/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;copy&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/b-pillar-camera.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/b-pillar-camera.jpg" alt="A Tesla side camera set into the black glass of a door pillar: a small round lens inside a dark oval." loading="lazy" decoding="async" width="960" height="723"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: &lt;a href="https://commons.wikimedia.org/wiki/File:Tesla_Autopilot_camera.jpg"&gt;Mliu92&lt;/a&gt;, CC BY-SA 4.0, via Wikimedia Commons, resized. A camera in a passenger-side door pillar.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The manual gives places. Tesla&amp;rsquo;s Autopilot page gives names and jobs. I matched&#10;the two myself: the pillar camera looks forward and to the side, the fender&#10;camera looks back along the flank. In Tesla&amp;rsquo;s words, from its 2021 page:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Wide forward:&lt;/strong&gt; a &amp;ldquo;120 degree fisheye lens captures traffic lights, obstacles&#10;cutting into the path of travel and objects at close range.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Main forward:&lt;/strong&gt; &amp;ldquo;covers a broad spectrum of use cases.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Narrow forward:&lt;/strong&gt; &amp;ldquo;a focused, long-range view of distant features. Useful in&#10;high-speed operation.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Forward-looking side:&lt;/strong&gt; &amp;ldquo;90 degree redundant forward looking side cameras&#10;look for cars unexpectedly entering your lane on the highway.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Rearward-looking side:&lt;/strong&gt; they &amp;ldquo;monitor rear blind spots on both sides of the&#10;car.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Rear:&lt;/strong&gt; &amp;ldquo;useful when performing complex parking maneuvers.&amp;rdquo;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Three forward cameras exist because one lens cannot do two jobs. A lens that&#10;sees far sees a thin slice. A lens that sees wide sees little detail far away.&#10;So Tesla fits one of each, and a network has to combine them.&lt;/p&gt;&#10;&lt;h2 id="how-far-they-see"&gt;How far they see&lt;/h2&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s Autopilot page of May 2021 put a number on each camera. It said &amp;ldquo;eight&#10;surround cameras provide 360 degrees of visibility around the car at up to 250&#10;meters of range.&amp;rdquo; The same page listed a &amp;ldquo;max distance&amp;rdquo; for every camera, and for&#10;the radar and ultrasonic sensors that were still fitted then&#10;(&lt;a href="https://web.archive.org/web/20210503100631/https://www.tesla.com/autopilot"&gt;page, archived 3 May 2021&lt;/a&gt;):&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/range-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/range-chart.svg" alt="Longest distance Tesla listed per sensor in 2021: narrow camera 250 m, forward radar 160 m, main 150, rearward side 100, forward side 80, wide 60, rear 50, ultrasonic 8 m. Source: tesla.com/autopilot." loading="lazy" decoding="async" width="640" height="496"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Two things stand out. The narrow camera out-reached the radar, 250 m against&#10;160 m, on paper. And the ultrasonic sensors saw 8 m, which fits a parking aid&#10;and little else.&lt;/p&gt;&#10;&lt;p&gt;The picture below draws the same numbers to scale. A Commons user, Mliu92, made&#10;the original drawing and released it into the public domain. I redrew it in the&#10;series colours.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/eight-cameras-commons.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/eight-cameras-commons.svg" alt="Top-down drawing of the eight cameras and their ranges to scale: forward 250, 150 and 60 m, forward side 80 m, rearward side 100 m, rear 50 m. The wide lens is a 120 degree fisheye." loading="lazy" decoding="async" width="640" height="480"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Read the numbers with care.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&amp;ldquo;Max distance&amp;rdquo; is Tesla&amp;rsquo;s wording. It is not a promise that the car detects a&#10;pedestrian at that range.&lt;/li&gt;&#10;&lt;li&gt;The 2021 page gives angles for two cameras, the wide lens (120 degrees) and&#10;the side cameras (90). Electrek reported that Tesla&amp;rsquo;s 2016 page gave 50&#10;degrees for the main camera and 35 for the narrow one&#10;(&lt;a href="https://electrek.co/2016/10/20/tesla-new-autopilot-hardware-suite-camera-nvidia-tesla-vision/"&gt;Electrek, 20 Oct 2016&lt;/a&gt;).&#10;The same report gave 150 degrees for the wide camera, so Tesla changed that&#10;figure at some point.&lt;/li&gt;&#10;&lt;li&gt;Tesla&amp;rsquo;s 2025 and 2026 manuals give positions but no ranges. The latest&#10;Autopilot page I could read is the copy archived on 9 May 2023, and its camera&#10;numbers match 2021&#10;(&lt;a href="https://web.archive.org/web/20230509141041/https://www.tesla.com/autopilot"&gt;archive&lt;/a&gt;).&#10;I found no Tesla range list for newer cars.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="hw3-and-hw4-the-same-count-sharper-pictures"&gt;HW3 and HW4: the same count, sharper pictures&lt;/h2&gt;&#10;&lt;p&gt;Tesla has not published a camera spec sheet that I could reach. What exists&#10;comes from teardowns and firmware digging, so treat these figures as unofficial:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Older cars (HW3)&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Newer cars (HW4)&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Resolution&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 1.2 MP, 1280 x 960&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 5 MP, 2896 x 1876&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Sensor chip, per Electrek (firmware, estimated)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;onsemi AR0136AT&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Sony IMX963&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Behind the windshield&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;three cameras (Tesla manual)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;two cameras (Tesla manual)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Front camera&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none listed&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;above the grille on some cars (Tesla manual)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The resolution and chip names are from&#10;&lt;a href="https://electrek.co/2025/12/02/tesla-new-camera-upgrade-casting-more-doubt-full-self-driving-promises/"&gt;Electrek, 2 Dec 2025&lt;/a&gt;,&#10;which cites firmware, not a teardown. Its text says IMX963 for HW4, while its&#10;own table lists &amp;ldquo;Sony IMX490 (Estimated)&amp;rdquo;. So the chip name is the shakiest cell&#10;in the table. The&#10;same article says the researcher @greentheonly found a newer sensor name,&#10;&amp;ldquo;IMX00N&amp;rdquo;, in Tesla firmware, and that Tesla made no statement about it.&#10;&lt;a href="https://www.notateslaapp.com/news/1564/tesla-s-hw3-and-hw4-cameras-comparing-the-differences-in-quality-and-hardware"&gt;Not a Tesla App&lt;/a&gt;&#10;(September 2023) reports the same 1.2 and 5 MP, with the 5 MP figure tied to a&#10;supplier report.&lt;/p&gt;&#10;&lt;p&gt;The jump is 2896 / 1280, about 2.3 times as many pixels across. My arithmetic:&#10;if the lens angle were the same, a sign far away would cover 2.3 times as many&#10;pixels across on a new car as on an old one. That is why people could read&#10;license plates and signs in the owner footage that Not a Tesla App cites. It&#10;does not by itself tell you how far a car can see. The lens, the software and&#10;the weather matter as much.&lt;/p&gt;&#10;&lt;h2 id="what-came-out-and-when"&gt;What came out, and when&lt;/h2&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s first Autopilot hardware set, announced on 19 Oct 2016, had all three&#10;kinds of sensor. Tesla&amp;rsquo;s blog said every new car would have eight cameras,&#10;twelve ultrasonic sensors and a forward radar&#10;(&lt;a href="https://web.archive.org/web/20161021013616/https://www.tesla.com/blog/all-tesla-cars-being-produced-now-have-full-self-driving-hardware"&gt;Tesla blog, archived&lt;/a&gt;).&#10;Then the sensors left, one type at a time:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/timeline.svg" alt="Timeline of Tesla sensors and regulators: eight cameras, ultrasonics and radar in 2016, radar removed from 2021, ultrasonics from October 2022, and NHTSA files PE24031, EA26002 and PE22002 from 2024 to 2026." loading="lazy" decoding="async" width="640" height="612"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h3 id="radar-may-2021"&gt;Radar, May 2021&lt;/h3&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla says&lt;/strong&gt;, on its support page of 25 May 2021: &amp;ldquo;Beginning with deliveries in&#10;May 2021, Model 3 and Model Y vehicles built for the North American market will&#10;no longer be equipped with radar. Instead, these will be the first Tesla&#10;vehicles to rely on camera vision and neural net processing to deliver Autopilot,&#10;Full-Self Driving and certain active safety features.&amp;rdquo; Smart Summon and Emergency&#10;Lane Departure Avoidance &amp;ldquo;may be disabled at delivery.&amp;rdquo; Model S, Model X and cars&#10;for other markets kept radar for the time being&#10;(&lt;a href="https://web.archive.org/web/20210525182045/https://www.tesla.com/support/transitioning-tesla-vision"&gt;page, archived&lt;/a&gt;).&#10;By 2025 the page says radar left the S and X in 2022.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s AI lead then, Andrej Karpathy, explained the move at a computer-vision&#10;workshop (CVPR) in June 2021. As&#10;&lt;a href="https://cleantechnica.com/2021/06/21/teslas-andrej-karpathy-gives-a-keynote-at-cvpo-2021-workshop-on-autonomous-driving/"&gt;CleanTechnica reported it&lt;/a&gt;,&#10;he said: &amp;ldquo;Three weeks ago, we started to ship cars that have no radar at all.&amp;rdquo;&#10;He read out a question from Elon Musk: &amp;ldquo;When radar and vision disagree, which&#10;one do you believe?&amp;rdquo; and the answer: &amp;ldquo;Vision has much more precision, so better&#10;to double down on vision than do sensor fusion.&amp;rdquo; Karpathy added that once vision&#10;is that good, radar &amp;ldquo;is really starting to contribute noise.&amp;rdquo; I did not see the&#10;talk myself, so these are the words as reported.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside reaction&lt;/strong&gt; came within days. CNBC reported on 27 May 2021 that Consumer&#10;Reports dropped the Model 3 as a &amp;ldquo;top pick&amp;rdquo;, that the insurance-funded group IIHS&#10;planned to remove its Top Safety Pick+ award, and that NHTSA&amp;rsquo;s ratings pages no&#10;longer showed check marks for forward collision warning, lane departure warning,&#10;crash imminent braking and dynamic brake support on cars built from 27 April 2021&#10;(&lt;a href="https://www.cnbc.com/2021/05/27/tesla-top-safety-endorsements-from-consumer-reports-iihs-suspended.html"&gt;CNBC&lt;/a&gt;).&#10;The reason given was features that were missing or untested, not a crash result.&lt;/p&gt;&#10;&lt;p&gt;Then the tests came in. Consumer Reports restored the Model 3 on 29 June 2021&#10;after IIHS tested the camera-only system. IIHS&amp;rsquo;s David Aylor said &amp;ldquo;the performance&#10;seems to be similar for both systems&amp;rdquo;&#10;(&lt;a href="https://jalopnik.com/consumer-reports-restores-tesla-model-3-top-pick-status-1847203116"&gt;Jalopnik&lt;/a&gt;).&#10;On 21 December 2021 IIHS restored the Model Y&amp;rsquo;s award, saying cars built after&#10;April 2021 earned &amp;ldquo;superior&amp;rdquo; ratings in both the vehicle-to-vehicle and&#10;vehicle-to-pedestrian tests&#10;(&lt;a href="https://www.repairerdrivennews.com/2021/12/24/iihs-recognizes-effectiveness-of-teslas-camera-only-crash-avoidance-system/"&gt;Repairer Driven News&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h3 id="ultrasonic-sensors-october-2022"&gt;Ultrasonic sensors, October 2022&lt;/h3&gt;&#10;&lt;p&gt;The ultrasonic sensors were twelve small discs in the bumpers. Each sent a sound&#10;pulse and timed the echo, which is why Tesla&amp;rsquo;s 2021 page gave them 8 m. On 4 Oct&#10;2022 Tesla said new Model 3 and Model Y cars would ship without them. &lt;strong&gt;Tesla&#10;says&lt;/strong&gt;: &amp;ldquo;Along with the removal of USS, we have simultaneously launched our&#10;vision-based occupancy network - currently used in Full Self-Driving (FSD) Beta -&#10;to replace the inputs generated by USS.&amp;rdquo; The same page says &amp;ldquo;high-definition&#10;spatial positioning, longer range visibility and ability to identify and&#10;differentiate between objects.&amp;rdquo; Cars without the sensors &amp;ldquo;will be delivered with&#10;some features temporarily limited or inactive&amp;rdquo;: Park Assist, Autopark, Summon and&#10;Smart Summon&#10;(&lt;a href="https://web.archive.org/web/20221004195000/https://www.tesla.com/support/transitioning-tesla-vision"&gt;page, archived Oct 2022&lt;/a&gt;).&#10;TechCrunch added that Tesla said the features would &amp;ldquo;eventually be restored&amp;rdquo; over&#10;the air (&lt;a href="https://techcrunch.com/2022/10/04/tesla-is-now-building-model-3-and-model-y-vehicles-without-ultrasonic-sensors"&gt;TechCrunch&lt;/a&gt;).&#10;An occupancy network predicts which small blocks of space around the car are&#10;filled. A later part of this series covers it.&lt;/p&gt;&#10;&lt;p&gt;What does the car do today? Tesla&amp;rsquo;s Model Y manual (Australian edition, April&#10;2026 copy) describes &amp;ldquo;Tesla&#10;Vision Park Assist&amp;rdquo;: &amp;ldquo;Your vehicle uses the cameras mounted on the front, rear,&#10;and sides of Model Y to create a high-fidelity reproduction of surrounding&#10;objects on the touchscreen.&amp;rdquo; The same page says Park Assist &amp;ldquo;does not detect&#10;children, pedestrians, bicyclists, animals, or objects that are moving,&#10;protruding, located too far above or below the cameras, or too close or too far&#10;from the cameras&amp;rdquo;, and that the feature &amp;ldquo;may be temporarily limited or inactive&#10;until it is enabled with a future software update for vehicles manufactured as of&#10;approximately mid-February 2024&amp;rdquo;&#10;(&lt;a href="https://web.archive.org/web/20260413165536/https://www.tesla.com/ownersmanual/modely/en_au/GUID-005E1645-B0F5-49A0-9C59-44828B60D184.html"&gt;manual, April 2026 copy&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h3 id="was-radar-really-gone-for-good"&gt;Was radar really gone for good?&lt;/h3&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis.&lt;/strong&gt; On 7 Dec 2022 TechCrunch reported FCC filings from Tesla&#10;for a &amp;ldquo;76-77 GHz Automotive Radar&amp;rdquo;, with a letter saying it would not be marketed&#10;before mid-January 2023. The article said it was not yet clear which models would&#10;get it (&lt;a href="https://techcrunch.com/2022/12/07/tesla-appears-to-be-turning-back-to-radar-for-its-vehicles"&gt;TechCrunch&lt;/a&gt;).&#10;I found no Tesla statement on which cars carry one. The manuals still say &amp;ldquo;Radar&#10;(if equipped)&amp;rdquo; in places, as the 2023 Model Y copy above does. So &amp;ldquo;Teslas have no&#10;radar&amp;rdquo; is true for many cars, but it depends on the model, the market and the&#10;build date.&lt;/p&gt;&#10;&lt;h2 id="what-each-kind-of-sensor-measures"&gt;What each kind of sensor measures&lt;/h2&gt;&#10;&lt;p&gt;All three sensors answer one question: what is out there, how far, and how fast&#10;is it moving? They answer it with different physics.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/sensor-compare.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/sensor-compare.svg" alt="Three sensors compared. A camera reads pixels and estimates distance. Radar and lidar measure distance directly, with radio waves and laser pulses. Tesla uses cameras and removed radar from 2021." loading="lazy" decoding="async" width="640" height="480"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Radar&lt;/strong&gt; sends radio waves and listens for the echo. Texas Instruments&amp;rsquo; guide to&#10;automotive-band radar says the signal travels at 76 to 81 GHz, a wavelength of&#10;about 4 mm. The echo&amp;rsquo;s delay gives the range. The phase change between two&#10;transmitted chirps gives the speed, and at least two receive antennas are needed&#10;to get the angle (&lt;a href="https://www.ti.com/lit/pdf/spyy005"&gt;TI, 2020&lt;/a&gt;). So a radar&#10;reads distance and speed straight off the echo, and it needs no light. Waymo says&#10;radar &amp;ldquo;is effective in rain, fog, and snow&amp;rdquo;&#10;(&lt;a href="https://waymo.com/waymo-driver/"&gt;Waymo&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Lidar&lt;/strong&gt; sends laser pulses and times their return. Waymo says its lidar &amp;ldquo;paints&#10;a 3D picture of the vehicle&amp;rsquo;s surroundings&amp;rdquo; and sends &amp;ldquo;millions of laser pulses in&#10;all directions.&amp;rdquo; The result is a cloud of points:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/lidar-point-cloud.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/lidar-point-cloud.jpg" alt="A 3D point cloud of a San Francisco street intersection, in orange, pink and blue, built from laser returns. Buildings, parked cars, trees and road markings all show as dots in space." loading="lazy" decoding="async" width="1280" height="720"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Daniel L. Lu, &lt;a href="https://commons.wikimedia.org/wiki/File:Ouster_OS1-64_lidar_point_cloud_of_intersection_of_Folsom_and_Dore_St,_San_Francisco.png"&gt;CC BY 4.0&lt;/a&gt;, via Wikimedia Commons, resized and converted to JPG. Ouster OS1 lidar on a moving car, about 23 million points over 18 seconds.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;A camera&lt;/strong&gt; sends nothing. It records how much light reaches each pixel. One&#10;flat picture has no depth in it. Distance has to be worked out from clues such as&#10;size, perspective and how things move between frames. Karpathy said in 2021 that&#10;&amp;ldquo;our neural net is able to process visual input to understand the depth and&#10;velocity of objects around us&amp;rdquo;&#10;(&lt;a href="https://venturebeat.com/business/tesla-ai-chief-explains-why-self-driving-cars-dont-need-lidar"&gt;VentureBeat&lt;/a&gt;).&#10;That is a Tesla claim, and the next part of the series looks at how the network&#10;works.&lt;/p&gt;&#10;&lt;p&gt;Academics have studied the gap. Wang and colleagues (CVPR 2019) wrote that top 3D&#10;detectors used lidar while camera-based ones lagged, which people blamed on poor&#10;depth estimates. They argued that &amp;ldquo;it is not the quality of the data but its&#10;representation that accounts for the majority of the difference,&amp;rdquo; and that&#10;changing the representation helped a lot&#10;(&lt;a href="https://arxiv.org/abs/1812.07179"&gt;arXiv&lt;/a&gt;). Camera-only depth was a real&#10;weakness then, and part of it may have been fixable in software.&lt;/p&gt;&#10;&lt;p&gt;For comparison, here is what a lidar-first car looks like. Waymo&amp;rsquo;s sixth-generation&#10;Driver has 13 cameras, 4 lidar and 6 radar, with &amp;ldquo;overlapping fields of view, all&#10;around the vehicle, up to 500 meters away&amp;rdquo;&#10;(&lt;a href="https://waymo.com/blog/2024/08/meet-the-6th-generation-waymo-driver/"&gt;Waymo, Aug 2024&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/waymo-side-sensor.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/waymo-side-sensor.jpg" alt="A white Jaguar I-Pace modified by Waymo, close up on a side sensor housing on the front fender, with a small camera lens, a larger dark window and an indicator light." loading="lazy" decoding="async" width="960" height="641"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: 9yz, &lt;a href="https://commons.wikimedia.org/wiki/File:Waymo_Jaguar_I-Pace_-_Side_Sensor_Closeup.jpg"&gt;CC BY 4.0&lt;/a&gt;, via Wikimedia Commons. One of four side sensor packages on a Waymo Jaguar I-Pace.&lt;/em&gt;&lt;/p&gt;&#10;&lt;h3 id="radar-as-a-teacher"&gt;Radar as a teacher&lt;/h3&gt;&#10;&lt;p&gt;If radar measures distance, how does a camera-only car learn distance? One&#10;answer is in a Tesla patent, US 11,288,524, &amp;ldquo;Estimating object properties using&#10;visual image data&amp;rdquo;, granted on 29 March 2022. It describes training a model with&#10;camera images that are paired with readings from a distance-sensing source, with&#10;radar distances matched to objects in the pictures. The readings serve as ground&#10;truth (&lt;a href="https://patents.google.com/patent/US11288524B2/en"&gt;Google Patents&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/radar-as-teacher.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/radar-as-teacher.svg" alt="A camera-only network learning distance from radar. In training it matches its guess to a radar reading such as 42.3 m. On the road it gets only the camera image and estimates about 42 m." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;So radar can be a teacher in training and be absent on the road. The author of&#10;the VentureBeat piece wrote that Tesla used radar data to verify the network&amp;rsquo;s&#10;inferences while labelling. The patent has a 2019 priority date (filed 19 Feb 2021), and Tesla has not said&#10;that this exact method runs in its cars today.&lt;/p&gt;&#10;&lt;h2 id="what-critics-and-regulators-raise"&gt;What critics and regulators raise&lt;/h2&gt;&#10;&lt;h3 id="can-a-camera-be-blinded"&gt;Can a camera be blinded?&lt;/h3&gt;&#10;&lt;p&gt;Yes, and Tesla&amp;rsquo;s own manual says so (the opening alert). The regulator question&#10;is how well the car notices. In the engineering analysis EA26002, opened on 18&#10;Mar 2026, NHTSA says FSD &amp;ldquo;relies exclusively on vision-based cameras&amp;rdquo;. It says&#10;Tesla built a &amp;ldquo;degradation detection system&amp;rdquo; when it moved to Tesla Vision in&#10;mid-2021, and that &amp;ldquo;available incident data raise concerns&amp;rdquo; that the system&#10;&amp;ldquo;fails to detect and/or warn the driver appropriately under degraded visibility&#10;conditions such as glare and airborne obscurants.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;The numbers in that document: about 3.2 million cars with FSD, nine crashes,&#10;one fatal. NHTSA adds that in each of the further crashes it found in Tesla&amp;rsquo;s&#10;responses, &amp;ldquo;FSD also lost track of or never detected a lead vehicle in its&#10;path.&amp;rdquo; Tesla&amp;rsquo;s own analysis said a later update to the system may have affected 3&#10;of the 9. An engineering analysis is an investigation, not a finding of a&#10;defect. The step before it, PE24031, opened on 17 Oct 2024 with four crashes in&#10;sun glare, fog or airborne dust&#10;(&lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-EA26002-10023.pdf"&gt;EA26002&lt;/a&gt;,&#10;&lt;a href="https://static.nhtsa.gov/odi/inv/2024/INOA-PE24031-23232.pdf"&gt;PE24031&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;One more item, from outside analysis. Electrek reported on 21 Jul 2026 that&#10;NHTSA&amp;rsquo;s information request of 2 July asks Tesla for an internal document titled&#10;&amp;ldquo;Radar Saves Us&amp;rdquo;, which NHTSA says Tesla gave it earlier. Only the title is&#10;public, and Electrek says it does not know what is inside&#10;(&lt;a href="https://electrek.co/2026/07/21/nhtsa-tesla-radar-saves-us-document-fsd-probe"&gt;Electrek&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h3 id="is-one-kind-of-sensor-enough"&gt;Is one kind of sensor enough?&lt;/h3&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla says&lt;/strong&gt; yes, because disagreement between sensors is a cost. Karpathy&#10;also argued that lidar needs high-definition maps and that &amp;ldquo;it&amp;rsquo;s unscalable to&#10;collect, build, and maintain these high-definition lidar maps&amp;rdquo;&#10;(&lt;a href="https://venturebeat.com/business/tesla-ai-chief-explains-why-self-driving-cars-dont-need-lidar"&gt;VentureBeat&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Others&lt;/strong&gt; build in a second channel on purpose. Mobileye describes &amp;ldquo;true&#10;redundancy&amp;rdquo;: a camera subsystem and a separate radar-and-lidar subsystem, each&#10;building its own full model. It says it saw &amp;ldquo;complementary, not redundant,&#10;sensors&amp;rdquo; elsewhere, and that if one system fails, &amp;ldquo;the vehicle can continue&#10;operating safely&amp;rdquo;&#10;(&lt;a href="https://www.mobileye.com/technology/true-redundancy/"&gt;Mobileye&lt;/a&gt;). That is an&#10;argument about independent failure, not about which sensor is more precise. One&#10;research team found that existing methods that fuse camera, lidar and radar&#10;&amp;ldquo;fail in adverse weather where the sensory streams can be asymmetrically&#10;distorted&amp;rdquo;. Their point is that sensors fail unevenly, which is the case for&#10;having more than one&#10;(&lt;a href="https://arxiv.org/abs/1902.08913"&gt;Bijelic et al., CVPR 2020&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h3 id="did-removing-radar-cause-phantom-braking"&gt;Did removing radar cause phantom braking?&lt;/h3&gt;&#10;&lt;p&gt;NHTSA&amp;rsquo;s review PE22002 started on 16 Feb 2022 after owners reported sudden&#10;slowdowns, called phantom braking, on 2021 and 2022 Model 3 and Model Y. NHTSA&#10;closed it on 29 June 2026. Its closing note says Tesla&amp;rsquo;s complaint and field data&#10;&amp;ldquo;exhibited some behavior that aligned with the transition from a radar-vision&#10;fusion system to vision-only in mid-2021.&amp;rdquo; No collisions were identified. It&#10;describes typical complaints as a 10 to 20 mph slowdown over 1 to 3 seconds, and&#10;says reports fell to 45 in 2024, 19 in 2025 and 3 in early 2026. NHTSA closed the&#10;case citing &amp;ldquo;a low demonstrated hazard to drivers&amp;rdquo;, and added that this &amp;ldquo;does not&#10;constitute a finding by NHTSA that a safety-related defect does not exist&amp;rdquo;&#10;(&lt;a href="https://static.nhtsa.gov/odi/inv/2022/INCLA-PE22002-25796.pdf"&gt;NHTSA closing resume&lt;/a&gt;).&#10;It also says Tesla released firmware updates in February and March 2022 aimed at&#10;the unexpected slowdowns.&lt;/p&gt;&#10;&lt;h3 id="do-camera-only-cars-pass-the-tests"&gt;Do camera-only cars pass the tests?&lt;/h3&gt;&#10;&lt;p&gt;On the published tests, yes. &lt;strong&gt;Tesla says&lt;/strong&gt; its Model 3 and Y with Tesla Vision&#10;&amp;ldquo;have either maintained or improved their active safety ratings in the U.S. and&#10;Europe&amp;rdquo;&#10;(&lt;a href="https://web.archive.org/web/20250405105729/https://www.tesla.com/support/transitioning-tesla-vision"&gt;support page, 2025 version&lt;/a&gt;).&#10;IIHS rated the camera-only system &amp;ldquo;superior&amp;rdquo; in 2021 (above). NHTSA announced on&#10;7 May 2026 that the 2026 Model Y was the first vehicle to pass its new&#10;driver-assistance tests, according to&#10;&lt;a href="https://thenextweb.com/news/tesla-model-y-nhtsa-adas-safety-benchmark"&gt;The Next Web&amp;rsquo;s report&lt;/a&gt;&#10;of the &lt;a href="https://www.nhtsa.gov/press-releases/tesla-model-y-first-vehicle-pass-nhtsa-new-advanced-driver-assistance-system-tests"&gt;NHTSA release&lt;/a&gt;.&#10;Scripted track tests and the field crashes in EA26002 measure different things,&#10;and both are on the record.&lt;/p&gt;&#10;&lt;h2 id="what-the-rules-say-about-sensors"&gt;What the rules say about sensors&lt;/h2&gt;&#10;&lt;p&gt;The US rule for automatic emergency braking, FMVSS 127, was published on 9 May&#10;2024, and compliance is due on 1 Sept 2029. It tests braking for a car ahead (in&#10;daylight) and for pedestrians (in daylight and in darkness), plus two false&#10;activation tests. In the final rule NHTSA quotes its earlier FMVSS 126 rule,&#10;saying the agency &amp;ldquo;has striven to set motor vehicle safety standards that are as&#10;performance-based as possible&amp;rdquo;. Its own test fleet included camera-only and&#10;radar-camera systems. As I read it, the rule is about what the car does, not&#10;about which sensor it uses.&lt;/p&gt;&#10;&lt;p&gt;One clause bears on cameras. The system must &amp;ldquo;continuously detect system&#10;malfunctions, including performance degradation caused solely by sensor&#10;obstructions&amp;rdquo;, and must warn the driver with a telltale&#10;(&lt;a href="https://www.govinfo.gov/content/pkg/FR-2024-05-09/html/2024-09054.htm"&gt;Federal Register&lt;/a&gt;).&#10;A fogged lens is exactly that case.&lt;/p&gt;&#10;&lt;p&gt;The date may slip. According to a Nelson Mullins legal summary of 22 Apr 2026,&#10;the Department of Transportation told a court on 23 Mar 2026 that it was&#10;preparing a two-year extension. I could not open that summary myself.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Update, November 2026:&lt;/strong&gt; after this post&amp;rsquo;s date, NHTSA filed a proposed&#10;rule, listed for publication in the Federal Register on 27 Nov 2026, that would delay the compliance date by two&#10;years, add test procedures for the malfunction telltale, and clarify the test&#10;speed tolerance. Comments close on 26 Jan 2027&#10;(&lt;a href="https://www.federalregister.gov/documents/2026/11/27/2026-24140/federal-motor-vehicle-safety-standards-automatic-emergency-braking-systems-for-light-vehicles"&gt;Federal Register&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;How many cameras does a Tesla have?&lt;/strong&gt;&#10;Seven or eight outside the car. Older cars have eight: three behind the&#10;windshield, two in the door pillars, two in the front fenders and one at the&#10;rear. Later cars changed the mix: Tesla&amp;rsquo;s 2025 Model 3 manual lists seven (two&#10;behind the windshield, no grille camera), and its 2026 Model Y manual lists eight&#10;with a front camera. A cabin camera is separate.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does a Tesla still have radar?&lt;/strong&gt;&#10;Tesla says it removed radar from Model 3 and Y in 2021 and from Model S and X in&#10;2022. In December 2022 an FCC filing for a 76-77 GHz automotive radar was&#10;reported, and the manuals still list radar &amp;ldquo;if equipped&amp;rdquo;. Check the manual for&#10;your own car.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why did Tesla remove the ultrasonic sensors?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s stated reason is that its vision-based occupancy network replaces their&#10;inputs, and its support page speaks of safety and of &amp;ldquo;longer range visibility&amp;rdquo;.&#10;It gives no cost reason there.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How far can Tesla cameras see?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s 2021 Autopilot page listed &amp;ldquo;max distance&amp;rdquo; figures from 50 m for the rear&#10;camera to 250 m for the narrow forward camera. That is a ceiling from Tesla,&#10;not a tested detection range.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What happens when a camera is blocked?&lt;/strong&gt;&#10;The touchscreen shows an alert and &amp;ldquo;some or all Autopilot features may be&#10;temporarily restricted until the camera vision is clear&amp;rdquo;, according to the&#10;manual. NHTSA is studying how well FSD detects reduced visibility.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-vision-cameras-no-radar/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-vision-cameras-no-radar/cheat-sheet.svg" alt="Cheat sheet: eight cameras with ranges from 50 to 250 m, radar removed from 2021, ultrasonics from October 2022. Radar and lidar measure distance, a camera estimates it. NHTSA EA26002 covers glare and dust." loading="lazy" decoding="async" width="640" height="540"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; Eight video streams arrive many times a second, and the car has very&#10;little time to make sense of them. What kind of computer does that, and how did&#10;Tesla&amp;rsquo;s own chip compare with the one it replaced?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla (archived copies)&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://web.archive.org/web/20210503100631/https://www.tesla.com/autopilot"&gt;Autopilot page, 3 May 2021&lt;/a&gt; and &lt;a href="https://web.archive.org/web/20230509141041/https://www.tesla.com/autopilot"&gt;9 May 2023&lt;/a&gt;: camera names, angles and ranges&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://web.archive.org/web/20210525182045/https://www.tesla.com/support/transitioning-tesla-vision"&gt;Transitioning to Tesla Vision, 25 May 2021&lt;/a&gt;, &lt;a href="https://web.archive.org/web/20221004195000/https://www.tesla.com/support/transitioning-tesla-vision"&gt;Oct 2022 update&lt;/a&gt;, and the &lt;a href="https://web.archive.org/web/20250405105729/https://www.tesla.com/support/transitioning-tesla-vision"&gt;2025 version&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://web.archive.org/web/20161021013616/https://www.tesla.com/blog/all-tesla-cars-being-produced-now-have-full-self-driving-hardware"&gt;Tesla blog, 19 Oct 2016: all new cars have the hardware&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Owner&amp;rsquo;s manuals: &lt;a href="https://web.archive.org/web/20250401132543/https://www.tesla.com/ownersmanual/model3/en_us/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;Model 3, 2025&lt;/a&gt;, &lt;a href="https://web.archive.org/web/20230921161432/https://www.tesla.com/ownersmanual/modely/en_us/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;Model Y, 2023&lt;/a&gt;, &lt;a href="https://web.archive.org/web/20260413165536/https://www.tesla.com/ownersmanual/modely/en_au/GUID-682FF4A7-D083-4C95-925A-5EE3752F4865.html"&gt;Model Y, 2026&lt;/a&gt; and its &lt;a href="https://web.archive.org/web/20260413165536/https://www.tesla.com/ownersmanual/modely/en_au/GUID-005E1645-B0F5-49A0-9C59-44828B60D184.html"&gt;Park Assist page&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US11288524B2/en"&gt;US 11,288,524 B2, Estimating object properties using visual image data&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulators&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;NHTSA, &lt;a href="https://static.nhtsa.gov/odi/inv/2026/INOA-EA26002-10023.pdf"&gt;EA26002 opening resume, 18 Mar 2026&lt;/a&gt; and &lt;a href="https://static.nhtsa.gov/odi/inv/2024/INOA-PE24031-23232.pdf"&gt;PE24031, 17 Oct 2024&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;NHTSA, &lt;a href="https://static.nhtsa.gov/odi/inv/2022/INCLA-PE22002-25796.pdf"&gt;PE22002 closing resume, 29 Jun 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.govinfo.gov/content/pkg/FR-2024-05-09/html/2024-09054.htm"&gt;FMVSS 127 final rule, Federal Register, 9 May 2024&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;NHTSA, &lt;a href="https://www.nhtsa.gov/press-releases/tesla-model-y-first-vehicle-pass-nhtsa-new-advanced-driver-assistance-system-tests"&gt;Model Y passes new driver-assistance tests, 7 May 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers and vendor documents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Wang et al., &lt;a href="https://arxiv.org/abs/1812.07179"&gt;Pseudo-LiDAR from Visual Depth Estimation&lt;/a&gt;, CVPR 2019&lt;/li&gt;&#10;&lt;li&gt;Bijelic et al., &lt;a href="https://arxiv.org/abs/1902.08913"&gt;Seeing Through Fog Without Seeing Fog&lt;/a&gt;, CVPR 2020&lt;/li&gt;&#10;&lt;li&gt;Texas Instruments, &lt;a href="https://www.ti.com/lit/pdf/spyy005"&gt;The fundamentals of millimeter wave radar sensors&lt;/a&gt;, 2020&lt;/li&gt;&#10;&lt;li&gt;Waymo, &lt;a href="https://waymo.com/waymo-driver/"&gt;the Waymo Driver&lt;/a&gt; and &lt;a href="https://waymo.com/blog/2024/08/meet-the-6th-generation-waymo-driver/"&gt;the 6th-generation Driver&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Mobileye, &lt;a href="https://www.mobileye.com/technology/true-redundancy/"&gt;True Redundancy&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis and press&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;CleanTechnica, &lt;a href="https://cleantechnica.com/2021/06/21/teslas-andrej-karpathy-gives-a-keynote-at-cvpo-2021-workshop-on-autonomous-driving/"&gt;Karpathy&amp;rsquo;s CVPR 2021 keynote&lt;/a&gt;, and VentureBeat, &lt;a href="https://venturebeat.com/business/tesla-ai-chief-explains-why-self-driving-cars-dont-need-lidar"&gt;why self-driving cars don&amp;rsquo;t need lidar&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;CNBC, &lt;a href="https://www.cnbc.com/2021/05/27/tesla-top-safety-endorsements-from-consumer-reports-iihs-suspended.html"&gt;Consumer Reports and IIHS suspend endorsements, 27 May 2021&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Jalopnik, &lt;a href="https://jalopnik.com/consumer-reports-restores-tesla-model-3-top-pick-status-1847203116"&gt;Consumer Reports restores the Model 3&lt;/a&gt;, and Repairer Driven News, &lt;a href="https://www.repairerdrivennews.com/2021/12/24/iihs-recognizes-effectiveness-of-teslas-camera-only-crash-avoidance-system/"&gt;IIHS and the camera-only system&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;TechCrunch, &lt;a href="https://techcrunch.com/2022/10/04/tesla-is-now-building-model-3-and-model-y-vehicles-without-ultrasonic-sensors"&gt;ultrasonic sensors removed, 4 Oct 2022&lt;/a&gt; and &lt;a href="https://techcrunch.com/2022/12/07/tesla-appears-to-be-turning-back-to-radar-for-its-vehicles"&gt;FCC radar filings, 7 Dec 2022&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Electrek, &lt;a href="https://electrek.co/2016/10/20/tesla-new-autopilot-hardware-suite-camera-nvidia-tesla-vision/"&gt;2016 hardware suite&lt;/a&gt;, &lt;a href="https://electrek.co/2025/12/02/tesla-new-camera-upgrade-casting-more-doubt-full-self-driving-promises/"&gt;new camera sensor, Dec 2025&lt;/a&gt; and &lt;a href="https://electrek.co/2026/07/21/nhtsa-tesla-radar-saves-us-document-fsd-probe"&gt;&amp;ldquo;Radar Saves Us&amp;rdquo;, Jul 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Not a Tesla App, &lt;a href="https://www.notateslaapp.com/news/1564/tesla-s-hw3-and-hw4-cameras-comparing-the-differences-in-quality-and-hardware"&gt;HW3 and HW4 cameras compared&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;The Next Web, &lt;a href="https://thenextweb.com/news/tesla-model-y-nhtsa-adas-safety-benchmark"&gt;Model Y and the NHTSA tests, 8 May 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Drawing: &lt;a href="https://commons.wikimedia.org/wiki/File:TeslaVision_eight-camera_system.svg"&gt;TeslaVision eight-camera system&lt;/a&gt; by Mliu92, public domain, redrawn&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Fewer Wires, One Valve: Tesla's Electrical and Thermal Design</title><link>https://loomloops.com/post/tesla-48-volt-wiring-octovalve/</link><pubDate>Sun, 18 Oct 2026 11:40:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-48-volt-wiring-octovalve/</guid><description>&lt;p&gt;Open the Cybertruck service manual at its electrical safety page and one rule&#10;stands out. Tesla writes that &amp;ldquo;disconnection or connection of live MV circuits&#10;is strictly prohibited.&amp;rdquo; MV is &amp;ldquo;Mid Voltage&amp;rdquo;, Tesla&amp;rsquo;s name for the truck&amp;rsquo;s low&#10;voltage bus. The same page says that bus has &amp;ldquo;rails that have nominal voltages&#10;from 5V to 48V&amp;rdquo;&#10;(&lt;a href="https://service.tesla.com/docs/Cybertruck/ServiceManual/en-us/GUID-3746E094-D31D-4318-816B-D1D9A0707456.html"&gt;Tesla service manual&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;That is odd for a car. Many cars run their small electronics on a 12 V lead-acid&#10;battery, and nobody worries about unplugging a 12 V connector. Tesla&amp;rsquo;s own&#10;owner&amp;rsquo;s manual says the 48 V system has &amp;ldquo;an increased risk of personal injury,&#10;arcing, or component damage&amp;rdquo; if handled wrongly. So why take on that risk?&lt;/p&gt;&#10;&lt;p&gt;The answer is in the wires. The last part ended on the battery floor, which&#10;needs a nervous system to read it and to carry power around the car. That nervous&#10;system is copper, and a car has far more of it than you would guess. This part&#10;follows the copper, then the coolant pipes, because Tesla redrew both at the same&#10;time.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 5 of Inside a Tesla. I like the car and the tech, so I researched it to feed&#10;my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A car&amp;rsquo;s wiring harness runs to kilometres. Musk said in 2019 that the Model S&#10;had about 3 km and the Model 3 about 1.5 km. For the Cybertruck, Tesla&amp;rsquo;s Pete&#10;Bannon said it has 155 wires where the Model 3 has 490, even though it has more&#10;things to wire. The tools are local controllers, a data loop and a 48 V supply.&lt;/li&gt;&#10;&lt;li&gt;Four times the voltage means a quarter of the current. For the same share of&#10;power lost in the wire, that allows about 1/16 of the copper. This is Ohm&amp;rsquo;s law,&#10;not a Tesla claim, and real wire is never that thin.&lt;/li&gt;&#10;&lt;li&gt;The Octovalve is one eight-port coolant valve. Turning one internal part joins&#10;the battery, drive units, radiator and chiller in different ways. Tesla&amp;rsquo;s patent&#10;shows ten modes.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="why-a-car-has-kilometres-of-wire"&gt;Why a car has kilometres of wire&lt;/h2&gt;&#10;&lt;p&gt;Every light, window motor, seat heater, sensor and switch needs a wire back to&#10;something that controls it. The controllers need power, and they need to talk to&#10;each other. The bundle that does all of this is the wiring harness.&lt;/p&gt;&#10;&lt;p&gt;Musk said that the Model S has about 3 km of harness, the Model 3 &amp;ldquo;only 1.5&#10;kilometers&amp;rdquo;, and that Tesla hoped to reach &amp;ldquo;a mere 100 meters&amp;rdquo; in the Model Y&#10;(&lt;a href="https://insideevs.com/news/363422/tesla-wiring-architecture-details/"&gt;InsideEVs, 5 August 2019&lt;/a&gt;).&#10;The 100 m was a target. I found no source that says it was reached. Outside&#10;numbers are in the same range: a 2024 paper in the journal &lt;em&gt;Sensors&lt;/em&gt; cites&#10;harnesses of up to 1.6 km and 60 kg&#10;(&lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC11125951/"&gt;Park, Cui and Park, May 2024&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Harnesses are also hard to build with robots, because a round, floppy bundle is&#10;hard to grip. InsideEVs reported in 2019 that a Tesla patent application aimed&#10;to cut the jobs that robots handle badly, such as handling cables. So the goal is&#10;not only less copper. It is a harness that a machine can fit.&lt;/p&gt;&#10;&lt;p&gt;How do you shorten the wires, then? You stop grouping the electronics by what&#10;they do and start grouping them by where they are.&lt;/p&gt;&#10;&lt;h2 id="zonal-wire-by-place-not-by-job"&gt;Zonal: wire by place, not by job&lt;/h2&gt;&#10;&lt;p&gt;In an older layout, one controller handles one job, such as body electronics. A&#10;controller in the middle of the car then needs a long wire to every lamp and&#10;motor in its job, and those wires cross the car. A zonal layout puts a small&#10;controller in each region of the car. Each one talks to the devices near it,&#10;and the zones talk to each other over a network. The &lt;em&gt;Sensors&lt;/em&gt; paper defines it as&#10;connecting controllers &amp;ldquo;according to their physical locations&amp;rdquo;, not by function.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/zonal-architecture.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/zonal-architecture.svg" alt="Two wiring layouts. A star has one computer cabled to every device, so one cut cable cuts that device off. A zonal loop joins four local controllers in a ring, so every zone stays reachable after one cut." loading="lazy" decoding="async" width="640" height="450"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The paper simulated it. Against a layout with five function-based domains, six,&#10;eight and ten zones cut the harness length by about 43% to 64%, depending on how&#10;many controllers the car has. The paper also finds that network delay grows as&#10;zones are added. That is a simulation, not a measured car.&lt;/p&gt;&#10;&lt;p&gt;The loop in the picture comes from a Tesla patent, US 11,932,184 B2, with a&#10;priority date of 12 February 2018 and a grant date of 19 March 2024. It describes&#10;a processor and devices wired as two loops, with data going in a different&#10;direction on each. If one link breaks, every hub can still be reached the other&#10;way. Tesla has not said that this patent is what the Cybertruck uses, so treat&#10;it as the idea and not the build.&lt;/p&gt;&#10;&lt;p&gt;What Tesla has said about the truck is in the next section.&lt;/p&gt;&#10;&lt;h2 id="what-tesla-said-about-the-cybertruck"&gt;What Tesla said about the Cybertruck&lt;/h2&gt;&#10;&lt;p&gt;Pete Bannon is Tesla&amp;rsquo;s director of low-voltage electronics and hardware&#10;engineering. Sandy Munro moderated a discussion with him and other Tesla&#10;engineers, including Lars Moravy. Assembly Magazine wrote it up on 26 April 2024&#10;and does not give the date of the talk. The article says: &amp;ldquo;Instead of a central&#10;controller, the Cybertruck is equipped with local controllers.&amp;rdquo; The article describes the etherloop as an Ethernet loop that &amp;ldquo;connects all of the&#10;high-speed controllers together&amp;rdquo;, and quotes Bannon: &amp;ldquo;Between the etherloop and 48&#10;volts, wiring mass is down significantly&amp;rdquo;&#10;(&lt;a href="https://www.assemblymag.com/articles/98504-teslas-new-cybertruck-features-modular-wiring"&gt;Assembly Magazine&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Then come the numbers, all from the same article and all Tesla&amp;rsquo;s own, not audited&#10;by anyone outside:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/wire-count-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/wire-count-chart.svg" alt="Bar chart of Pete Bannon’s figures. Wires: Model 3 490, Cybertruck 155. Endpoints: Model 3 273, Cybertruck 368. Source: Assembly Magazine, 26 April 2024. Tesla’s own figures, not audited." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;ul&gt;&#10;&lt;li&gt;155 wires in the Cybertruck against 490 in the Model 3.&lt;/li&gt;&#10;&lt;li&gt;368 endpoints against 273. The article does not define an endpoint. I read it&#10;as a thing at the end of a wire: a lamp, motor, sensor or switch.&lt;/li&gt;&#10;&lt;li&gt;The etherloop reduces the wiring needed by 68%, and &amp;ldquo;high-powered harness mass&#10;went down by 84 percent&amp;rdquo;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Those figures do not all agree with each other. The article says the truck has&#10;&amp;ldquo;50 percent more end points&amp;rdquo; than the Model 3, but 368 against 273 is 35% more. I&#10;cannot tell which one is wrong, so both are shown. What matters is that wires&#10;fell by about two thirds while the number of things to wire went up.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/harness-before-after.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/harness-before-after.svg" alt="Sketch of two wiring layouts. Model 3: few controllers and long runs, 490 wires and 273 endpoints. Cybertruck: four corner controllers on a data loop with short runs, 155 wires and 368 endpoints." loading="lazy" decoding="async" width="640" height="450"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The routing in this sketch is mine, not Tesla&amp;rsquo;s. I did not find a Tesla&#10;document that shows the truck&amp;rsquo;s real wiring layout.&lt;/p&gt;&#10;&lt;p&gt;There is a second half to the story. The truck did not only change how the&#10;wires are arranged. It also changed what runs through them.&lt;/p&gt;&#10;&lt;h2 id="why-48-v"&gt;Why 48 V&lt;/h2&gt;&#10;&lt;p&gt;The idea is in Ohm&amp;rsquo;s law. Power is voltage times current. Raise the voltage four&#10;times, from 12 V to 48 V, and the same load draws a quarter of the current. Heat&#10;lost in a wire grows with the square of the current. With a quarter of the&#10;current you can allow 16 times the resistance for the same lost share of power,&#10;and a wire with 16 times the resistance has about 1/16 of the copper.&lt;/p&gt;&#10;&lt;p&gt;Here is one load. Feed 1,000 W over 3 m of wire each way and lose 3% in the&#10;wire. At 12 V that is 83 A and needs about 24 mm² of copper. At 48 V it is 21 A&#10;and needs about 1.5 mm²:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/ohm-12v-48v-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/ohm-12v-48v-chart.svg" alt="Chart of copper cross-section for one load at 3 percent loss over 3 metres. 1000 W needs 24 square millimetres at 12 volts and 1.5 at 48 volts. Four times the voltage means one sixteenth of the copper." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;That is my own calculation, with copper at 1.724e-8 ohm metres (the standard&#10;&lt;a href="https://en.wikipedia.org/wiki/International_Annealed_Copper_Standard"&gt;annealed copper value&lt;/a&gt;).&#10;It is the best case. A real harness has a floor on wire size, because a very thin&#10;wire is too weak to crimp and pull. So the real saving is smaller than 1/16.&lt;/p&gt;&#10;&lt;p&gt;Tesla gave a bigger-sounding claim at its Investor Day in March 2023. CleanTechnica&amp;rsquo;s&#10;list of the event credits the 48 V architecture with &amp;ldquo;75% less copper use&amp;rdquo;&#10;(&lt;a href="https://cleantechnica.com/2023/03/06/20-news-items-from-tesla-investor-day/"&gt;CleanTechnica, 6 March 2023&lt;/a&gt;).&#10;I could not find the slide, so I treat that as reported, not confirmed. The same&#10;list says no supplier was ready for 48 V parts, so Tesla had to design them from&#10;scratch. Musk gave the reason in his own words: &amp;ldquo;The entire supply chain, the&#10;entire design infrastructure is designed for 12 volts&amp;rdquo;&#10;(&lt;a href="https://www.motor1.com/features/704878/tesla-cybertruck-48-volts/"&gt;Motor1, 18 January 2024&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;An outside expert is less sure the change pays off in an electric car. In the&#10;same Motor1 piece, Sam Abuelsamid of Guidehouse Insights said an EV &amp;ldquo;is already&#10;running at typically 400 volts and up, and all of your power is coming from the&#10;battery.&amp;rdquo; In other words, the big power is already high voltage. The 48 V system&#10;only covers the small stuff. Motor1 adds that 48 V is about the upper limit&#10;before stricter safety standards apply, and that such systems need stronger&#10;connectors to limit arcing.&lt;/p&gt;&#10;&lt;p&gt;What does the 48 V system run? Tesla&amp;rsquo;s owner&amp;rsquo;s manual says the 48 V battery powers&#10;&amp;ldquo;the windows, doors, touchscreen, and other low voltage vehicle systems&amp;rdquo; when the&#10;high voltage battery is unavailable. It &amp;ldquo;also provides a redundant source of power&#10;for critical systems (such as power steering)&amp;rdquo;. The manual adds that 48 V&#10;connectors are blue and 48 V wires are marked with blue tape&#10;(&lt;a href="https://www.tesla.com/ownersmanual/cybertruck/en_us/GUID-2233D4D1-D4E5-4897-9A41-DE8593381CAA.html"&gt;Tesla owner&amp;rsquo;s manual&lt;/a&gt;).&#10;InsideEVs read the rating from the manual: 4 Ah, which is 192 Wh at 48 V&#10;(&lt;a href="https://insideevs.com/news/704749/tesla-cybertruck-low-voltage-battery-48v-4ah/"&gt;InsideEVs, 16 January 2024&lt;/a&gt;).&#10;That is a small battery. It is a backup for the truck, not a second pack.&lt;/p&gt;&#10;&lt;p&gt;Not everything is 48 V. Bannon said the audio amplifiers run at 24 V, and the&#10;truck can be jump-started from a 12 V battery (Motor1, as above). The service&#10;manual&amp;rsquo;s &amp;ldquo;5V to 48V&amp;rdquo; rails say the same thing.&lt;/p&gt;&#10;&lt;p&gt;A backup for power steering is a useful clue. The truck has no steering shaft.&lt;/p&gt;&#10;&lt;h2 id="steering-without-a-shaft"&gt;Steering without a shaft&lt;/h2&gt;&#10;&lt;p&gt;Motor1 reports that the Cybertruck&amp;rsquo;s 48 V system enables steer-by-wire, meaning&#10;the wheel is not mechanically joined to the tyres. The owner&amp;rsquo;s manual does not&#10;say that. It is outside analysis, and the teardown fits it.&lt;/p&gt;&#10;&lt;p&gt;Sandy Munro&amp;rsquo;s team took a Cybertruck apart on video, and InsideEVs wrote it up on&#10;26 April 2024&#10;(&lt;a href="https://insideevs.com/news/717617/cybertruck-teardown-steering-by-wire/"&gt;InsideEVs&lt;/a&gt;).&#10;The steering column &amp;ldquo;stops where you would expect it to continue with a shaft&#10;that links to the steering rack.&amp;rdquo; It &amp;ldquo;just has electronics, servos and wires that&#10;enable it to have a variable ratio.&amp;rdquo; The rack &amp;ldquo;appears to be supplied by ZF&amp;rdquo; and&#10;&amp;ldquo;has two motors for redundancy&amp;rdquo;, so one motor can take over if the other fails.&#10;With the truck on, both the front and the rear steering racks work. With it off,&#10;no wheel turns when you turn the wheel.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/steer-by-wire.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/steer-by-wire.svg" alt="Two steering layouts. Conventional: a shaft joins the wheel to the rack. Cybertruck steer-by-wire: no shaft, controllers read the wheel and drive a front rack with two motors and a rear rack." loading="lazy" decoding="async" width="640" height="420"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Is it the first? That depends on what you count. Motor1 notes that the Infiniti&#10;Q50 has steer-by-wire but keeps a mechanical column as a backup. InsideEVs&#10;calls the Cybertruck &amp;ldquo;one of the first passenger vehicles with no mechanical link&#10;between the steering wheel and the wheels&amp;rdquo;. I would use the second wording.&lt;/p&gt;&#10;&lt;p&gt;On the rules: the UN Regulation No. 79 on steering equipment says in its&#10;introduction that &amp;ldquo;it will now be possible to have steering systems in which&#10;there is not any positive mechanical connection between the steering control and&#10;the road wheels&amp;rdquo; (the&#10;&lt;a href="https://eur-lex.europa.eu/eli/reg/2025/3/oj/eng"&gt;consolidated text&lt;/a&gt; published in&#10;the EU&amp;rsquo;s Official Journal on 10 January 2025). I only checked that UN rule, not&#10;the US federal rules, so I am not saying how the truck was approved.&lt;/p&gt;&#10;&lt;p&gt;That finishes the electrical side. The cooling side has the unusual part.&lt;/p&gt;&#10;&lt;h2 id="one-valve-many-loops"&gt;One valve, many loops&lt;/h2&gt;&#10;&lt;p&gt;An electric car has four things that make or need heat: the battery, the motor,&#10;the inverter and the cabin. In summer they all need cooling. In winter the cabin&#10;needs heat, and the patents below also warm the battery, for example to allow&#10;charging. A simple car gives each its own loop. Tesla made one valve that&#10;rearranges the loops.&lt;/p&gt;&#10;&lt;p&gt;First, what a heat pump is. It is an air conditioner that can run both ways. It&#10;moves heat from one place to another, instead of making it. Wikipedia&amp;rsquo;s&#10;definition of the coefficient of performance (COP) says that &amp;ldquo;usually, more heat is&#10;moved than the amount of work put in so the COP usually exceeds 1, especially in&#10;heat pumps&amp;rdquo;&#10;(&lt;a href="https://en.wikipedia.org/wiki/Coefficient_of_performance"&gt;Wikipedia&lt;/a&gt;). A plain&#10;electric heater has a COP of 1, since all it does is turn electricity into heat.&lt;/p&gt;&#10;&lt;p&gt;Design News described the Model Y&amp;rsquo;s Octovalve in October 2020 as &amp;ldquo;an&#10;eight-port, five-position rotary valve&amp;rdquo; for the glycol coolant. That is the&#10;magazine&amp;rsquo;s own wording. Cory Steuben, president of the teardown firm Munro and&#10;Associates, called the Model Y heat pump &amp;ldquo;the world&amp;rsquo;s best EV thermal management&#10;system&amp;rdquo; and said rivals&amp;rsquo; systems &amp;ldquo;are not remotely close to the level of&#10;packaging&amp;rdquo;&#10;(&lt;a href="https://www.designnews.com/automotive-engineering/secrets-of-the-tesla-model-y-octovalve"&gt;Design News, 30 October 2020&lt;/a&gt;).&#10;That is an opinion from a firm that sells teardown reports, so weigh it so.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s service manual gives the plain facts. The Octovalve bolts to a part&#10;called the supermanifold with four Torx T25 screws at 5 Nm. The coolant bottle has&#10;to come off first. One electrical connector drives it, and the service test&#10;&amp;ldquo;will vary speeds from 3500-6500 RPM (idle speed = ~1500 RPM) and actuate the&#10;valve between series and parallel&amp;rdquo;&#10;(&lt;a href="https://service.tesla.com/docs/ModelY/ServiceManual/2025/en-us/GUID-901B621D-9492-4C0D-8E53-293A69DE6A34.html"&gt;Tesla service manual&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The inside is in a patent. US 11,932,078 B2, &amp;ldquo;Electric vehicle heat pump using&#10;enhanced valve unit&amp;rdquo;, names Prem Pinto and Daniel Hanks as inventors. It was filed&#10;on 30 March 2022, claims priority to 31 March 2021, and was granted on 19 March&#10;2024. Figure 1 shows the parts:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/octovalve-patent-fig1.png"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/octovalve-patent-fig1.png" alt="Exploded patent drawing of the Octovalve: manifold gasket, valve body housing, stemshell (mode control), valve cover, valve actuator and a controller that reads sensor information." loading="lazy" decoding="async" width="705" height="1000"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Figure: US patent 11,932,078, fig. 1&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The valve body has eight ports, in two groups of four. Inside is a drum called the stemshell, with channels cut across it.&#10;An actuator, a motor and gear train, turns the stemshell about a vertical axis.&#10;Each turn lines the channels up with different ports and so joins different parts&#10;of the coolant system. A controller decides which. The patent&amp;rsquo;s port names are&#10;battery supply, battery return, chiller pump, chiller return, powertrain pump,&#10;radiator supply and radiator return.&lt;/p&gt;&#10;&lt;p&gt;Here are three of the modes the patent draws, reduced to four parts: battery,&#10;drive units, radiator and chiller.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/octovalve-modes.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/octovalve-modes.svg" alt="Three Octovalve coolant modes, from patent US11932078B2. Series: one loop. Parallel: two loops, battery with chiller and drive units with radiator. Bypass: radiator shut out. One valve turns one part." loading="lazy" decoding="async" width="640" height="540"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The patent draws ten coolant modes in figures 3 to 12. Several are reversed-flow&#10;versions of others. Design News calls the valve five-position. I could not tell from the&#10;text how the two counts map onto each other, so I do not claim to know.&lt;/p&gt;&#10;&lt;p&gt;Why does a car need so many? The earlier Tesla heat pump patent, US 2019/0070924,&#10;has an answer. Its priority date is 7 September 2017, it was published on 7 March&#10;2019 and it was later granted as US 10,967,702 B2. InsideEVs, using analysis by an&#10;engineer, Keith Ritter, counts 15 modes in it: 12 for heating and 3 for cooling.&#10;The patent text says the cooling modes are for supercharging, for peak powertrain&#10;performance and for a quieter cabin cool-down. It also lists the sources of heat:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/heat-sources.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/heat-sources.svg" alt="Where cabin heat comes from on a cold day, per Tesla’s heat pump patent. Above about minus 10 degrees Celsius it moves heat from battery, drive unit and outside air. Below that the compressor makes heat." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;InsideEVs reads the patent as switching strategy at about -10 °C. Above it the&#10;radiator pulls heat from the outside air. Below it the system adds heat made by&#10;the compressor, whose efficiency then falls to about a COP of 1&#10;(&lt;a href="https://insideevs.com/news/452464/tesla-model-y-heat-pump-system-details/"&gt;InsideEVs, 4 November 2020&lt;/a&gt;).&#10;The same analysis estimates the battery can store about 2.5 to 3 kWh of heat if&#10;the pack is allowed to cool to 10 °C. That is the analyst&amp;rsquo;s estimate, not a Tesla&#10;figure.&lt;/p&gt;&#10;&lt;p&gt;A patent says what Tesla may do. It does not prove what any one car does. InsideEVs&#10;itself says it cannot confirm which of the patent&amp;rsquo;s tricks the Model Y uses. The&#10;service manual proves the Octovalve exists and can run series and parallel.&#10;Everything beyond that is a reading of the patents.&lt;/p&gt;&#10;&lt;h2 id="drive-units-quickly"&gt;Drive units, quickly&lt;/h2&gt;&#10;&lt;p&gt;The drive unit is the motor, the inverter and the gearbox in one housing. The&#10;inverter turns the battery&amp;rsquo;s direct current into the three-phase current the motor&#10;needs. In Tesla&amp;rsquo;s Model Y service manual the rear inverter is bolted to the gear&#10;case with twelve bolts, and a three-phase cable links it to the motor&#10;(&lt;a href="https://service.tesla.com/docs/ModelY/ServiceManual/2025/en-us/GUID-CE7A41E7-906E-4437-9B0F-7F8FDA3729D7.html"&gt;Tesla service manual, page revised 9 August 2026&lt;/a&gt;).&#10;Building them as one unit keeps the cable between motor and inverter short.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/model-s-motor-cutout.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/model-s-motor-cutout.jpg" alt="Cutaway of a Tesla Model S electric motor, a display piece, with a glass window that shows a red-coloured part inside a metal case." loading="lazy" decoding="async" width="1000" height="750"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Alison Cassidy, &lt;a href="https://creativecommons.org/licenses/by-sa/3.0/"&gt;CC BY-SA 3.0&lt;/a&gt;, via Wikimedia Commons, resized&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;At the Model S Plaid launch in June 2021, Musk said the new motor has a carbon&#10;fibre sleeve around the rotor, and that it was likely the first production electric&#10;motor with a carbon overwrapped rotor. The sleeve keeps the rotor&amp;rsquo;s copper under&#10;compression, which lets it spin faster without coming apart&#10;(&lt;a href="https://cleantechnica.com/2021/06/16/more-details-on-teslas-innovative-carbon-wrapped-motor/"&gt;CleanTechnica, 16 June 2021&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;At Investor Day in March 2023, Colin Campbell, Tesla&amp;rsquo;s vice president of powertrain&#10;engineering, said: &amp;ldquo;We have designed our next drive unit to use a permanent&#10;magnet motor to not use any rare earth materials at all.&amp;rdquo; The talk also promised&#10;75% less silicon carbide and a cost of $1,000 for the unit&#10;(&lt;a href="https://techcrunch.com/2023/03/01/everything-elon-musk-and-execs-shared-and-skipped-at-tesla-investor-day/"&gt;TechCrunch, 1 March 2023&lt;/a&gt;).&#10;That was a plan. I could not find a source that shows it in a production car as of&#10;this post&amp;rsquo;s date.&lt;/p&gt;&#10;&lt;h2 id="where-the-sources-disagree-or-run-out"&gt;Where the sources disagree or run out&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;The 100 m harness.&lt;/strong&gt; A target from 2019. No source I found shows it was met.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;50% or 35% more endpoints.&lt;/strong&gt; The Assembly Magazine article gives both, and&#10;they cannot both be right.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;75% less copper.&lt;/strong&gt; Reported from Investor Day. I did not find the slide. My own&#10;best case is 1/16 for the same lost share of power, and the real figure is&#10;smaller.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;&amp;ldquo;First&amp;rdquo; steer-by-wire.&lt;/strong&gt; Depends on whether a backup shaft counts.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Octovalve modes.&lt;/strong&gt; Ten in the patent, five valve positions by Design News&amp;rsquo; wording,&#10;and only the patent shows them. No Tesla document I found lists which modes a&#10;given car uses.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Model Y wiring.&lt;/strong&gt; I found numbers for the Cybertruck from Tesla, but no Tesla&#10;figure for the Model Y&amp;rsquo;s wire count.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Is the Cybertruck 48 volt or 12 volt?&lt;/strong&gt;&#10;Its low voltage battery is 48 V, Tesla&amp;rsquo;s owner&amp;rsquo;s manual says. The traction battery&#10;is much higher: InsideEVs gives 700 V. Some parts run lower, as the service&#10;manual shows rails from 5 V to 48 V, and the truck can be jump-started from a 12 V&#10;battery.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why does Tesla use 48 V instead of 12 V?&lt;/strong&gt;&#10;Tesla says the truck &amp;ldquo;is able to operate more efficiently&amp;rdquo;. The physics is that&#10;the same power needs a quarter of the current, so the wires can be thinner.&#10;Sam Abuelsamid of Guidehouse Insights argues the gain is smaller in an EV&#10;because its big loads are already high voltage. Motor1 also links the 48 V system&#10;to steer-by-wire.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is the Tesla Octovalve?&lt;/strong&gt;&#10;An eight-port rotary coolant valve. An actuator turns a drum inside it, and each&#10;position joins the battery, drive units, radiator and chiller loops in a&#10;different way. Design News calls it eight-port and five-position.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is the etherloop?&lt;/strong&gt;&#10;Assembly Magazine describes it as an Ethernet loop that connects the&#10;Cybertruck&amp;rsquo;s high-speed controllers. Tesla has not published more than that. A&#10;2018 Tesla patent describes two data loops running in opposite directions for&#10;redundancy, but Tesla has not said that is the etherloop.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does the Cybertruck have a steering shaft?&lt;/strong&gt;&#10;A teardown reported by InsideEVs found a column with electronics, servos and wires&#10;but no shaft to the rack. The rack has two motors for redundancy, and there is&#10;rear steering as well.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-48-volt-wiring-octovalve/cheat-sheet.svg" alt="Cheat sheet for Tesla’s electrical and thermal design. 48 V needs a quarter of the current and a sixteenth of the copper of 12 V. Cybertruck has 155 wires against 490 in the Model 3." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; the truck&amp;rsquo;s controllers now share a loop, and they have little to do&#10;until something feeds them the world. Tesla&amp;rsquo;s cars see it through cameras and no&#10;radar. Why did Tesla bet on cameras alone, and what can eight of them see that a&#10;radar could not?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.tesla.com/ownersmanual/cybertruck/en_us/GUID-2233D4D1-D4E5-4897-9A41-DE8593381CAA.html"&gt;Cybertruck owner&amp;rsquo;s manual: Electric Vehicle Components&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://service.tesla.com/docs/Cybertruck/ServiceManual/en-us/GUID-3746E094-D31D-4318-816B-D1D9A0707456.html"&gt;Cybertruck service manual: Electrical Precautions&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://service.tesla.com/docs/ModelY/ServiceManual/2025/en-us/GUID-901B621D-9492-4C0D-8E53-293A69DE6A34.html"&gt;Model Y service manual: Octovalve (Remove and Replace)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://service.tesla.com/docs/ModelY/ServiceManual/2025/en-us/GUID-CE7A41E7-906E-4437-9B0F-7F8FDA3729D7.html"&gt;Model Y service manual: Rear Drive Inverter (3DU)&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US11932078B2/en"&gt;US 11,932,078 B2, electric vehicle heat pump using enhanced valve unit&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US20190070924A1/en"&gt;US 2019/0070924 A1, optimal source electric vehicle heat pump with extreme temperature heating capability&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US11932184B2/en"&gt;US 11,932,184 B2, high-speed-wiring-system architecture&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulators&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://eur-lex.europa.eu/eli/reg/2025/3/oj/eng"&gt;UN Regulation No. 79, steering equipment&lt;/a&gt;, EU Official Journal, 10 January 2025&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC11125951/"&gt;Analysis of E2E Delay and Wiring Harness in In-Vehicle Network with Zonal Architecture&lt;/a&gt;, Sensors, May 2024&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.assemblymag.com/articles/98504-teslas-new-cybertruck-features-modular-wiring"&gt;Tesla&amp;rsquo;s New Cybertruck Features Modular Wiring&lt;/a&gt;, Assembly Magazine, 26 April 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.motor1.com/features/704878/tesla-cybertruck-48-volts/"&gt;Why the Tesla Cybertruck uses 48 volts&lt;/a&gt;, Motor1, 18 January 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/704749/tesla-cybertruck-low-voltage-battery-48v-4ah/"&gt;The Tesla Cybertruck&amp;rsquo;s low voltage battery is rated at just 4 amp hours&lt;/a&gt;, InsideEVs, 16 January 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/717617/cybertruck-teardown-steering-by-wire/"&gt;Cybertruck teardown: steering by wire&lt;/a&gt;, InsideEVs, 26 April 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/363422/tesla-wiring-architecture-details/"&gt;More on Tesla&amp;rsquo;s innovative new wiring architecture&lt;/a&gt;, InsideEVs, 5 August 2019&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://cleantechnica.com/2023/03/06/20-news-items-from-tesla-investor-day/"&gt;20 news items from Tesla Investor Day&lt;/a&gt;, CleanTechnica, 6 March 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2023/03/01/everything-elon-musk-and-execs-shared-and-skipped-at-tesla-investor-day/"&gt;Everything Elon Musk and execs shared and skipped at Tesla Investor Day&lt;/a&gt;, TechCrunch, 1 March 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.designnews.com/automotive-engineering/secrets-of-the-tesla-model-y-octovalve"&gt;Secrets of the Tesla Model Y Octovalve&lt;/a&gt;, Design News, 30 October 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/452464/tesla-model-y-heat-pump-system-details/"&gt;Tesla Model Y heat pump system details&lt;/a&gt;, InsideEVs, 4 November 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://cleantechnica.com/2021/06/16/more-details-on-teslas-innovative-carbon-wrapped-motor/"&gt;More details on Tesla&amp;rsquo;s innovative carbon-wrapped motor&lt;/a&gt;, CleanTechnica, 16 June 2021&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/Coefficient_of_performance"&gt;Coefficient of performance&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/International_Annealed_Copper_Standard"&gt;International Annealed Copper Standard&lt;/a&gt;, Wikipedia&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Does Re-saving a JPEG Lose Quality? I Saved One Photo 100 Times</title><link>https://loomloops.com/post/jpeg-quality-loss-resaving/</link><pubDate>Thu, 15 Oct 2026 11:25:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/jpeg-quality-loss-resaving/</guid><description>&lt;p&gt;People say two things about saving a JPEG again. One: every save costs&#10;quality, so a photo that passes through enough hands turns to mush. Two:&#10;saving again with the same settings changes nothing. Both sound sure of&#10;themselves, and both are only half true.&lt;/p&gt;&#10;&lt;p&gt;So I ran it. I took one public-domain photo and re-saved it as a JPEG 100&#10;times in a row, at quality 95, 85 and 75. Then I changed the quality at&#10;random between saves. Then I cropped a little off the edge between saves.&#10;After every save I measured the file size and how far the picture had drifted&#10;from the original.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Same settings, same pixels: the picture stops changing after a few saves.&#10;At quality 85 the file was byte-for-byte identical from save 18 on.&lt;/li&gt;&#10;&lt;li&gt;A new quality each time keeps adding loss (similarity fell from 0.98 to&#10;0.81 over 100 saves). A crop of 1 pixel each time is worse (down to 0.49),&#10;because it moves the 8 x 8 block grid the format works on.&lt;/li&gt;&#10;&lt;li&gt;Saving at a higher quality afterwards repairs nothing. It only makes the&#10;file bigger.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="how-i-tested-it"&gt;How I tested it&lt;/h2&gt;&#10;&lt;p&gt;The photo is a barrelfish near a deep-sea coral reef, taken by the NOAA&#10;Lophelia II expedition in 2009. It is in the public domain&#10;(&lt;a href="https://commons.wikimedia.org/wiki/File:Barrelfish-lophelia.jpg"&gt;file page on Wikimedia Commons&lt;/a&gt;).&#10;It has a dark background, a bright yellow rope, a hand-written label and&#10;lots of fine texture, which is what a JPEG finds hard.&lt;/p&gt;&#10;&lt;p&gt;The file is itself a JPEG (707,485 bytes). So &amp;ldquo;the original&amp;rdquo; below means the&#10;pixels you get from decoding that file. I cut it to 1920 x 1280 pixels so&#10;the size is a whole number of blocks. Every save used Pillow 12.0.0 (it uses&#10;libjpeg-turbo 3.1.2) inside a Docker container. Each round decoded the last&#10;file and saved it again.&lt;/p&gt;&#10;&lt;p&gt;For each save I recorded three things:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;File size&lt;/strong&gt;, in bytes.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;SSIM&lt;/strong&gt;, a score for how similar two pictures look. It compares small&#10;patches of brightness. 1.0 means identical. I used the&#10;&lt;a href="https://scikit-image.org/docs/stable/api/skimage.metrics.html"&gt;scikit-image version&lt;/a&gt;,&#10;from &lt;a href="https://doi.org/10.1109/TIP.2003.819861"&gt;Wang et al., 2004&lt;/a&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;PSNR&lt;/strong&gt;, an older score in decibels, where higher means closer. It is in&#10;the CSV but I lean on SSIM here.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;These are the setups. Each one ran for 100 saves:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Setup&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What changes between saves&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Quality 95, 85 or 75&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Nothing&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Quality 85 without colour shrinking&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Nothing (explained below)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Alternate 95 and 75&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The quality&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Random 70 to 95&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The quality, a different one each time&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Crop 1 px, 8 px or 16 px&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;One, eight or sixteen pixel columns come off the left edge, quality 85&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;For the crops I compared each save with the same crop of the original. That&#10;way the score measures what JPEG did, not what the crop removed.&lt;/p&gt;&#10;&lt;p&gt;The raw numbers for every save are in a CSV:&#10;&lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/jpeg-resave-measurements.csv"&gt;jpeg-resave-measurements.csv&lt;/a&gt;.&#10;You can check any chart in this post against it. The column &lt;code&gt;chroma_abs_err&lt;/code&gt; is the mean absolute difference of the two colour channels (Cb and Cr, 0 to 255) from the original. The scripts that made the CSV (&lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/measure-resaves.py"&gt;measure-resaves.py&lt;/a&gt;) and the block model behind the number lines (&lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/block-model.py"&gt;block-model.py&lt;/a&gt;) are next to it.&lt;/p&gt;&#10;&lt;h2 id="same-settings-it-settles"&gt;Same settings: it settles&lt;/h2&gt;&#10;&lt;p&gt;Here is how much each save changed the picture. The picture is 1920 x 1280&#10;pixels with 3 colour values each, 7,372,800 values in all. The chart counts&#10;the share of them that one save changed:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/settle-same-setting.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/settle-same-setting.svg" alt="Line chart, log scale: share of pixel values changed by each of 100 saves at the same quality. Each line falls to none, at save 11 for quality 75, save 18 for 85 and save 61 for 95." loading="lazy" decoding="async" width="640" height="484"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The first save does almost all of the work. After that each save moves fewer&#10;pixels, until a save changes none. The numbers:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Quality&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Values changed by save 1&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;By save 2&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Identical file from save&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Bytes after save 1&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Bytes after save 100&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;SSIM&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;95&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;56%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;12%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;61&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;755,911&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;751,825&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.998&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;85&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;74%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1.5%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;18&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;465,052&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;465,036&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.987&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;75&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;83%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.48%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;11&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;304,968&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;304,936&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.971&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;85, no colour shrink&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;67%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.06%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;591,594&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;591,638&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.987&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;&amp;ldquo;Identical file from save&amp;rdquo; means that save produced exactly the same bytes as&#10;the one before it, and so does every later save. Engineers call this&#10;&lt;em&gt;idempotent&lt;/em&gt;: do it again and you get the same result. The post on&#10;&lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;idempotency keys&lt;/a&gt; uses the word for API&#10;retries. Here it applies to a photo.&lt;/p&gt;&#10;&lt;p&gt;Quality 95 is the slow one. It kept shifting pixels for 60 saves, and PSNR&#10;slid from 43.0 to 39.9 dB on the way. SSIM barely moved (0.9978 to 0.9977).&#10;The reason comes below.&lt;/p&gt;&#10;&lt;p&gt;You can try the settling yourself. This script saves a photo at quality 85&#10;until two saves in a row match:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; io&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;from&lt;/span&gt; PIL &lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; Image&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#6272a4"&gt;# Crop to 1920 x 1280 so the size is a whole number of 16 x 16 pixel blocks.&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;img &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; Image&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;open(&lt;span style="color:#f1fa8c"&gt;&amp;#34;photo.jpg&amp;#34;&lt;/span&gt;)&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;convert(&lt;span style="color:#f1fa8c"&gt;&amp;#34;RGB&amp;#34;&lt;/span&gt;)&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;crop((&lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;1920&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;1280&lt;/span&gt;))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;previous &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;None&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; n &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;range&lt;/span&gt;(&lt;span style="color:#bd93f9"&gt;1&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;101&lt;/span&gt;):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; buffer &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; io&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;BytesIO()&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; img&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;save(buffer, &lt;span style="color:#f1fa8c"&gt;&amp;#34;JPEG&amp;#34;&lt;/span&gt;, quality&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;85&lt;/span&gt;, subsampling&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;4:2:0&amp;#34;&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; data &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; buffer&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;getvalue()&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;if&lt;/span&gt; data &lt;span style="color:#ff79c6"&gt;==&lt;/span&gt; previous:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;f&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;save &lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;{&lt;/span&gt;n&lt;span style="color:#f1fa8c"&gt;}&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt; is identical to save &lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;{&lt;/span&gt;n &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;1&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;}&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;, byte for byte&amp;#34;&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;break&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; previous &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; data&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; img &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; Image&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;open(io&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;BytesIO(data))&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;convert(&lt;span style="color:#f1fa8c"&gt;&amp;#34;RGB&amp;#34;&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;With the photo above it prints &lt;code&gt;save 18 is identical to save 17&lt;/code&gt;. Without the&#10;crop line the same photo (1921 pixels wide) took 24 saves, so the exact&#10;number depends on the picture and its size.&lt;/p&gt;&#10;&lt;h2 id="what-one-save-does"&gt;What one save does&lt;/h2&gt;&#10;&lt;p&gt;To see why it settles, and when it does not, you need to know what a JPEG&#10;save does. There are six steps:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/what-one-save-does.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/what-one-save-does.svg" alt="Six steps run on each JPEG save: split colour from brightness, shrink the colour, cut 8 by 8 blocks, DCT, divide by a step size and round (the main loss), then Huffman coding, which can be undone exactly." loading="lazy" decoding="async" width="640" height="576"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Three of those steps matter for this post.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Colour is shrunk (step 2).&lt;/strong&gt; The eye is better at seeing brightness detail&#10;than colour detail, so JPEG keeps full-size brightness and cuts the two colour&#10;channels down. The usual choice, written 4:2:0, keeps one colour sample for&#10;each 2 x 2 pixels. My source file keeps a colour sample for every pixel&#10;(4:4:4). I told Pillow to use 4:2:0, so the colour got&#10;coarser right away. That is one reason the first save is the big one.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Blocks of 8 x 8 (steps 3 and 4).&lt;/strong&gt; Every channel is cut into squares of 64&#10;pixels, and each square is handled on its own. The DCT (discrete cosine&#10;transform) describes a block as a mix of 64 fixed patterns, from a smooth&#10;wash to a fine checkerboard. The 64 numbers say how much of each pattern the&#10;block holds. No detail is lost in this step. It is only a different way to&#10;write the same block.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Divide and round (step 5).&lt;/strong&gt; This is where the loss happens. Each of the 64&#10;numbers is divided by a &lt;em&gt;step size&lt;/em&gt; from a table and rounded to a whole&#10;number. Fine patterns get big steps, because the eye misses them. Many of&#10;them round to zero, and zeros are cheap to store. The &amp;ldquo;quality&amp;rdquo; setting&#10;scales the whole table. This is the formula in the&#10;&lt;a href="https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/src/jcparam.c"&gt;libjpeg-turbo source&lt;/a&gt;:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;scale = 5000 / quality when quality is below 50&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;scale = 200 - 2 * quality otherwise&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;step = (base_step * scale + 50) / 100 (whole number, at least 1)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The base table comes from the JPEG standard&#10;(&lt;a href="https://www.w3.org/Graphics/JPEG/itu-t81.pdf"&gt;ITU-T T.81&lt;/a&gt;, Annex K). Take&#10;the base step 11, which sits next to the top-left corner. At quality 85 the&#10;scale is 30, so the step is 3. At quality 80 the scale is 40, so the step is&#10;4. For the whole brightness table, quality 95 gives steps from 1 to 12,&#10;quality 85 from 3 to 36 and quality 75 from 5 to 61. These are my own sums&#10;from the formula, and they match the table Pillow wrote for quality 85.&lt;/p&gt;&#10;&lt;h2 id="why-the-same-setting-settles"&gt;Why the same setting settles&lt;/h2&gt;&#10;&lt;p&gt;Now take one of those 64 numbers. This is a real one: a stripe strength from&#10;one 8 x 8 block of the photo. To get it I wrote a small model of the&#10;brightness steps (my own DCT, the libjpeg tables), so treat it as an&#10;illustration, not as a trace of Pillow&amp;rsquo;s inner workings.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/why-same-setting-settles.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/why-same-setting-settles.svg" alt="One stripe-strength number from one block: 15.04 rounds to 15 at save 1, and the decoded 14.85 still rounds to 15 at save 2, so nothing changes. At a new step size of 4, 14.85 rounds to 16 and moves." loading="lazy" decoding="async" width="640" height="640"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Saving does not store 15.04. It stores the whole number 5, which stands for&#10;5 x 3 = 15. When you open the file, the picture is built from 15. The picture&#10;is then rounded to whole pixel values (0 to 255), and that adds a little&#10;noise. So the next save reads 14.85, not 15.00. But 14.85 is still far closer&#10;to 15 than to 12 or 18, so it rounds to the same whole number, 5. Same number&#10;in, same file out. The noise is smaller than half a step, so it cannot&#10;change the answer.&lt;/p&gt;&#10;&lt;p&gt;Change the step and the landing spots move. With a step of 4, the spots are 12&#10;and 16, and 14.85 is nearer to 16. The number jumps. In my model, going back&#10;to step 3 on the next save gave 16.40, which landed on 15 again. It&#10;bounced between two values.&lt;/p&gt;&#10;&lt;p&gt;That also explains the quality 95 tail. Its steps are small (1 to 12), so&#10;half a step is a thin cushion, and the pixel rounding noise is big enough to&#10;push more numbers over the line. They keep flipping until each settles. In my&#10;simplified model with quality 85 steps, no block was still changing by the&#10;fifth pass. Nothing about this is guaranteed: it depends on the same program&#10;decoding and encoding, with the same settings.&lt;/p&gt;&#10;&lt;h2 id="a-new-setting-keeps-losing"&gt;A new setting keeps losing&lt;/h2&gt;&#10;&lt;p&gt;Now the other half. Here is the similarity to the original after every save&#10;when something changes between saves:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/ssim-over-100-saves.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/ssim-over-100-saves.svg" alt="Line chart of similarity to the original (SSIM) over 100 saves. Same quality 85 and cropping 8 pixels stay near 0.987. A random quality falls to 0.81 and cropping 1 pixel falls to 0.49." loading="lazy" decoding="async" width="640" height="484"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The random run (quality drawn from 70 to 95, mean 81) fell from 0.977 to&#10;0.81 and then bounced around 0.81 to 0.83 for the last 20 saves. For&#10;comparison, a single save at quality 70 scores 0.967. A hundred random saves&#10;cost far more than the worst single one. The reason is the one from the&#10;number lines. Each new step size has new landing spots, so each save re-rounds the&#10;numbers and the errors pile up. A &lt;a href="https://arxiv.org/abs/2304.08269"&gt;2023 paper&lt;/a&gt;&#10;tested codecs, traditional and neural, on recompression at varying qualities&#10;and found that they are not stable. That matches what I saw.&lt;/p&gt;&#10;&lt;p&gt;Two small surprises from this run:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Alternating just two settings also settles.&lt;/strong&gt; I alternated 95 and 75. From&#10;save 29 on, the same two files repeated for the remaining 72 saves, one of 604,377 bytes and one&#10;of 315,830. Each save still changed 18.5% of the values, but the&#10;next one changed them back. The loss does not grow without end here. A&#10;&lt;em&gt;new&lt;/em&gt; setting each time is what keeps it going.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Saving higher repairs nothing.&lt;/strong&gt; Each quality 95 save in that run made&#10;the file 1.9 times bigger than the quality 75 save before it (604,668&#10;bytes on save 3, 315,959 on save 2), and the picture was no closer to&#10;the original (SSIM 0.970 both times). The extra bytes store the damage&#10;carefully.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="a-crop-moves-the-grid"&gt;A crop moves the grid&lt;/h2&gt;&#10;&lt;p&gt;The blocks are 8 x 8 pixels, starting at the top-left corner of the picture.&#10;When you crop 1 pixel off the left edge, everything slides left by one pixel&#10;and the blocks do not. Each new block now holds a slice of two old ones. The&#10;numbers the last save rounded so carefully mean nothing for these new blocks,&#10;and the picture is rounded again from scratch.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/grid-moves-with-a-crop.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/grid-moves-with-a-crop.svg" alt="Two block grids with a vertical edge. Cropping 8 pixels keeps the edge at the same place in its block, so every block sees the same content. Cropping 1 pixel shifts it, so each block sees a new slice." loading="lazy" decoding="async" width="640" height="456"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The result is the dashed line in the chart above. The similarity fell&#10;to 0.97 after 2 saves, 0.92 after 10 and 0.49 after 100. The file also grew&#10;from 424,769 to 703,147 bytes, even though the picture lost 100 columns of&#10;pixels. The new block edges are noise, and noise costs bytes. The chart below&#10;shows size as bits per pixel, so crops and full frames compare fairly:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/file-size-over-100-saves.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/file-size-over-100-saves.svg" alt="Line chart of file size in bits per pixel over 100 saves. Same quality 85 stays at 1.51, random quality wanders between about 1.1 and 2.3, and cropping 1 pixel each save climbs from 1.38 to 2.41." loading="lazy" decoding="async" width="640" height="484"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;An 8 pixel crop, one whole block, left the brightness blocks where they were.&#10;Its similarity stayed at 0.987 to 0.988. But the &lt;em&gt;colour&lt;/em&gt; is a different story.&#10;With 4:2:0, a colour block covers 16 x 16 pixels, so the colour grid needs a&#10;16 pixel move to stay put. After an 8 pixel crop each time, the average&#10;colour error (the mean difference in the two colour channels, on a 0 to 255&#10;scale) rose from 1.01 to 1.35. With a 16 pixel crop it stayed at 1.02, and&#10;with 4:4:4 and an 8 pixel crop it stayed at 0.37 to 0.34. This lines up with&#10;the manual of &lt;code&gt;jpegtran&lt;/code&gt;, a tool that crops without decoding: the top-left&#10;corner of the crop must sit on an &amp;ldquo;iMCU boundary&amp;rdquo;, or it is moved to the&#10;nearest one. For 4:2:0 that unit is 16 x 16 pixels.&lt;/p&gt;&#10;&lt;p&gt;Here are all the setups at once, with the similarity after save 1 and after&#10;save 100:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/start-and-end-by-setup.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/start-and-end-by-setup.svg" alt="Dot chart of SSIM after save 1 and save 100 for eight setups. Fixed quality and 8 pixel crops barely move. Alternating 95 and 75 goes 0.998 to 0.970, random quality 0.977 to 0.810, 1 pixel crop 0.982 to 0.489." loading="lazy" decoding="async" width="640" height="564"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="what-it-looks-like"&gt;What it looks like&lt;/h2&gt;&#10;&lt;p&gt;Numbers hide how it looks. These are crops of 64 x 48 pixels, zoomed 6 times.&#10;The faint grid is the file&amp;rsquo;s own 8 x 8 blocks. This is the hand-written label&#10;next to the rope, after 100 saves:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/block-artefacts-label.png"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/block-artefacts-label.png" alt="Four zoomed crops of the number 3 on a label. The source and 100 saves at quality 75 look close. Random quality 70 to 95 gives grey blocky patches. Quality 85 with a 1 pixel crop each time gives strong block noise." loading="lazy" decoding="async" width="834" height="730"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The quality 75 copy looks like the source with a little less fine detail. The&#10;random-quality copy has blocky, flat patches. The crop copy is covered in&#10;checkerboard noise, with the old and new grids fighting each other.&lt;/p&gt;&#10;&lt;p&gt;Colour shows up on the yellow rope:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/colour-drift-rope.png"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/colour-drift-rope.png" alt="Four zoomed crops of a yellow rope. The source and 100 saves at quality 75 stay yellow. Random quality 70 to 95 turns it pale cream. Quality 85 with a 1 pixel crop each time makes it nearly white with blocky noise." loading="lazy" decoding="async" width="834" height="730"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;In the two runs where the setting or the grid kept changing, the yellow turned&#10;cream. I did not chase the cause. My guess is that a very bright, saturated&#10;yellow sits near the edge of what the colour range can hold, and each round&#10;trip clips a little of it. That is a guess, not a result. Brightness-only&#10;SSIM would not catch this at all, which is why I also stored a colour error in&#10;the CSV.&lt;/p&gt;&#10;&lt;h2 id="what-i-did-not-test"&gt;What I did not test&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;One photo, one encoder.&lt;/strong&gt; Pillow with libjpeg-turbo does the same&#10;decoding and encoding every round. Another program may decode to slightly&#10;different pixels, and then the settling may not happen.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;No other edits.&lt;/strong&gt; I did not rotate, change brightness or add text between&#10;saves. I tried one resize (to 95% and back to full size) between saves. A&#10;chain of those resizes with no JPEG at all dropped SSIM to 0.63, and with&#10;JPEG saves at quality 85 it was 0.98. The resizing did more damage than&#10;JPEG, so that test says little about JPEG and I left it out of the charts.&#10;Its rows are in the CSV.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Quality 100 and progressive files.&lt;/strong&gt; Not measured.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-to-do-about-it"&gt;What to do about it&lt;/h2&gt;&#10;&lt;p&gt;Keep the original, or a lossless copy of it (PNG or TIFF), and do every edit&#10;from that. Save a JPEG once, at the end. If you need a file under a size&#10;limit, make it from the original in one go, for example with&#10;&lt;a href="https://akimworks.com/pinchr"&gt;Pinchr&lt;/a&gt; on Android or the&#10;&lt;a href="https://akimworks.com/tools/compress-photo-to-kb"&gt;photo size tool in the browser&lt;/a&gt;.&#10;A second pass on an already-shrunk file starts from the damage.&lt;/p&gt;&#10;&lt;p&gt;If you must re-save a JPEG, use the same settings and do not crop by&#10;a number of pixels that is not a multiple of 16. To crop or rotate without&#10;re-encoding at all, a tool such as &lt;code&gt;jpegtran&lt;/code&gt; works on the stored numbers&#10;directly, and the manual says its transformations are lossless.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;How many times can you save a JPEG before it looks bad?&lt;/strong&gt;&#10;There is no fixed number. In my test with the same settings every time, the&#10;picture stopped changing after 11 to 61 saves and stayed close to the first&#10;save. With a new quality each time, the similarity score had dropped to about&#10;0.95 by save 20 and 0.81 by save 100. With a 1 pixel crop each time, 0.87 by save&#10;20. It depends on the photo and the settings, so these are one photo&amp;rsquo;s&#10;numbers.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does re-saving a JPEG at a higher quality fix it?&lt;/strong&gt;&#10;No. The detail was rounded away on an earlier save and a higher quality&#10;cannot bring it back. In my run, saving at 95 after 75 made the file 1.9 times&#10;bigger and left the similarity score where it was.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is saving at quality 100 lossless?&lt;/strong&gt;&#10;Not by the format&amp;rsquo;s rules. The libjpeg source says that at 100 every step&#10;size becomes 1, &amp;ldquo;hence, minimum quantization loss&amp;rdquo;, and minimum is not zero.&#10;Colour shrinking and pixel rounding still apply. I did not measure it. For&#10;real lossless files, use PNG or TIFF.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does cropping or rotating a JPEG lose quality?&lt;/strong&gt;&#10;In an ordinary photo editor, yes: the file is decoded, changed and saved&#10;again, so it is re-rounded. Cropping 1 pixel cost far more than cropping 8,&#10;because of the block grid. A tool like &lt;code&gt;jpegtran&lt;/code&gt; can crop and rotate without&#10;decoding, as long as the crop starts on an iMCU boundary (16 px for 4:2:0, 8 px for 4:4:4).&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why do JPEGs show little squares?&lt;/strong&gt;&#10;Each 8 x 8 block is rounded on its own. Near a sharp edge, neighbouring blocks&#10;round differently, and the seam between them shows. The more a picture is&#10;squeezed, or the more its blocks are re-rounded on a moved grid, the more&#10;visible the seams.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/jpeg-quality-loss-resaving/cheat-sheet.svg" alt="Cheat sheet for re-saving a JPEG: the same setting stops changing after a few saves, but a new quality or a 1 pixel crop each save keeps adding loss. Edit from the original and export a JPEG once, at the end." loading="lazy" decoding="async" width="640" height="584"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.w3.org/Graphics/JPEG/itu-t81.pdf"&gt;ITU-T T.81, the JPEG standard&lt;/a&gt; (8 x 8 blocks, the DCT, quantisation tables in Annex K)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/src/jcparam.c"&gt;libjpeg-turbo, jcparam.c&lt;/a&gt;: how the quality number scales the tables&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/doc/jpegtran.1"&gt;libjpeg-turbo, the jpegtran manual&lt;/a&gt;: lossless crop and rotate, and the block boundary rule&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html"&gt;Pillow: JPEG saving options&lt;/a&gt; (quality, subsampling)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://scikit-image.org/docs/stable/api/skimage.metrics.html"&gt;scikit-image: structural_similarity&lt;/a&gt; and &lt;a href="https://doi.org/10.1109/TIP.2003.819861"&gt;Wang et al., 2004&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2304.08269"&gt;Evaluating Strong Idempotence of Image Codec&lt;/a&gt; (Zhang et al., 2023)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://cloudinary.com/blog/why_jpeg_is_like_a_photocopier"&gt;Cloudinary: why JPEG is like a photocopier&lt;/a&gt;, a worked example of rounding error adding up&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Barrelfish-lophelia.jpg"&gt;The photo on Wikimedia Commons&lt;/a&gt;, NOAA Lophelia II expedition, public domain&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/images/jpeg-quality-loss-resaving/jpeg-resave-measurements.csv"&gt;Raw measurements, CSV&lt;/a&gt; from my test&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;Idempotency keys explained&lt;/a&gt; on this site, for the same word in another job&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>The Battery Is the Floor: Cells, Chemistry and the Structural Pack</title><link>https://loomloops.com/post/tesla-battery-4680-structural-pack/</link><pubDate>Tue, 13 Oct 2026 19:20:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-battery-4680-structural-pack/</guid><description>&lt;p&gt;In July 2022 the engineering firm Munro &amp;amp; Associates, which takes cars apart on&#10;video, unbolted the battery pack of a Texas-built Model Y and lifted it out of the&#10;car. The front seats, centre console and carpets came out with it, still attached.&#10;The whole assembly weighed 1,198 lb (543 kg). InsideEVs, which reported the Munro&#10;Live video, called it a new approach in the industry&#10;(&lt;a href="https://insideevs.com/news/596439/tesla-modely-4680-structural-pack-out/"&gt;InsideEVs, 6 July 2022&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;In most cars the seats bolt to a steel floor and the battery hangs underneath.&#10;Here the battery was the floor. To see how that works, and what Tesla has and has&#10;not delivered, start with the smallest piece: one cell.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 4 of Inside a Tesla. I like the car and the tech, so I researched it to feed&#10;my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A lithium-ion cell is two electrodes, a separator and a liquid, wound into a&#10;can. Tesla&amp;rsquo;s cells grew from 18 x 65 mm to 21 x 70 mm to 46 x 80 mm (the 4680).&#10;Tesla said in 2020 that the 4680&amp;rsquo;s &amp;ldquo;tabless&amp;rdquo; design cuts the current path from&#10;250 mm to 50 mm, and that dry coating removes a drying oven.&lt;/li&gt;&#10;&lt;li&gt;LFP cells are cheaper per kWh and hold less energy per kilogram than NMC cells.&#10;Tesla said in 2021 that for standard range vehicles it was shifting to LFP. Its own LFP cell&#10;plant in Nevada, in early ramp, is for energy storage products, per its July&#10;2026 deck.&lt;/li&gt;&#10;&lt;li&gt;Tesla&amp;rsquo;s 2020 plan was 100 GWh of cells a year in 2022. Its 2026 decks show&#10;Texas capacity above 40 GWh, and Tesla&amp;rsquo;s own footnote says capacity is not the&#10;production rate. Tesla does not publish 4680 output.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-a-cell-is-one-layer-at-a-time"&gt;What a cell is, one layer at a time&lt;/h2&gt;&#10;&lt;p&gt;Argonne National Laboratory, a US Department of Energy lab, says a lithium-ion&#10;battery has four key parts: a cathode (the positive side), an anode (the negative&#10;side), a separator that stops the two touching, and an electrolyte, a liquid that&#10;lets charge flow between them. Both electrodes store lithium. In a phone cell the&#10;anode is graphite and the cathode is a mix of nickel, manganese and cobalt oxides&#10;(&lt;a href="https://www.anl.gov/science-101/batteries"&gt;Argonne, Science 101&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Here is one cell while the car is driving:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/cell-anatomy.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/cell-anatomy.svg" alt="One lithium-ion cell while driving. Lithium ions leave the graphite anode and cross the separator to the cathode, while electrons run through the motor by the outside wire. Charging reverses it." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The ions are the part that surprises people. They do not turn into something&#10;else. They slip into the layers of each electrode and slip out again. The Nobel&#10;committee for the 2019 chemistry prize, given for this battery, says that is the&#10;reason it lasts: the ions flow back and forth without damaging reactions, so the&#10;battery &amp;ldquo;can be charged hundreds of times&amp;rdquo; before it fades&#10;(&lt;a href="https://www.nobelprize.org/prizes/chemistry/2019/popular-information/"&gt;Royal Swedish Academy of Sciences&lt;/a&gt;).&#10;The same page tells the history in three steps. Stanley Whittingham built the&#10;first lithium battery in the 1970s. John Goodenough found in 1980 that a cobalt&#10;oxide cathode doubled the voltage to about four volts. Akira Yoshino made the&#10;first commercially viable cell, with a carbon anode instead of pure lithium, and a&#10;Japanese company started selling them in 1991.&lt;/p&gt;&#10;&lt;p&gt;One detail from that page matters later. Goodenough also replaced the cobalt&#10;oxide with iron phosphate, which the committee calls more environmentally&#10;friendly. That cathode is the &amp;ldquo;P&amp;rdquo; in the LFP cells further down.&lt;/p&gt;&#10;&lt;p&gt;A single flat sandwich is no use in a car, because it is too thin to hold much.&#10;So makers stack the four layers and roll them up, like a swiss roll, then slide&#10;the roll into a metal can:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/jelly-roll.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/jelly-roll.svg" alt="A cell is a sandwich, rolled up. Four flat layers (separator, cathode on foil, separator, anode on foil) are wound into a spiral inside a steel can, seen from above." loading="lazy" decoding="async" width="640" height="340"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;That roll is called a jelly roll. Every cylindrical cell Tesla has used is built&#10;this way, and the way the current gets out of the roll turns out to be the big&#10;design question. First, the can.&lt;/p&gt;&#10;&lt;h2 id="three-sizes-and-why-tesla-went-big"&gt;Three sizes, and why Tesla went big&lt;/h2&gt;&#10;&lt;p&gt;The names are sizes in millimetres: diameter, then length. An 18650 is 18 x 65. A&#10;2170 is 21 x 70. A 4680 is 46 x 80.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/cell-sizes.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/cell-sizes.svg" alt="Three Tesla cylindrical cell sizes drawn to the same scale: 18650 is 18 mm by 65 mm, 2170 is 21 mm by 70 mm, and 4680 is 46 mm by 80 mm." loading="lazy" decoding="async" width="640" height="433"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Image: &amp;ldquo;Tesla 4680 2170 18650 batteries.svg&amp;rdquo; by Jzh2074,&#10;&lt;a href="https://creativecommons.org/licenses/by-sa/4.0"&gt;CC BY-SA 4.0&lt;/a&gt;, via&#10;&lt;a href="https://commons.wikimedia.org/wiki/File:Tesla_4680_2170_18650_batteries.svg"&gt;Wikimedia Commons&lt;/a&gt;.&#10;Cropped, with a white background added.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The 4680 looks only a little taller than the others. It is much fatter, and&#10;volume goes with the square of the width. I worked out the can volumes from those&#10;sizes, ignoring the wall:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Cell&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Size&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Can volume&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Tesla&amp;rsquo;s first public use&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;18650&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;18 x 65 mm&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 16.5 cm³&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Early Tesla cars, from the 2008 Roadster&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2170&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;21 x 70 mm&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 24 cm³&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Gigafactory Nevada, announced 4 Jan 2017&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4680&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;46 x 80 mm&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;about 133 cm³&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Battery Day, 22 Sep 2020&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;TechCrunch reported on 4 January 2017 that the Nevada Gigafactory had started&#10;making cells, first for Powerwall 2 and Powerpack 2, with cells for the Model 3&#10;aimed at the second quarter. It said 2170 production for qualification began in&#10;December 2016&#10;(&lt;a href="https://techcrunch.com/2017/01/04/teslas-gigafactory-starts-mass-producing-battery-cells/"&gt;TechCrunch&lt;/a&gt;).&#10;The IEA&amp;rsquo;s 2026 outlook notes the Roadster used cylindrical cells, and that&#10;Tesla&amp;rsquo;s long partnership with Panasonic is why cylindrical cells stay common in&#10;the US&#10;(&lt;a href="https://www.iea.org/reports/global-ev-outlook-2026/electric-vehicle-batteries"&gt;IEA, Global EV Outlook 2026&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;At Battery Day, Tesla&amp;rsquo;s slides showed the 4680 with three claims. Drew Baglino,&#10;who presented the cell, said the new cell gives &amp;ldquo;five times the energy with six&#10;times the power and enable 16% range increase, just form factor alone&amp;rdquo;, and a 14%&#10;cost per kWh reduction from the form factor&#10;(&lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;Battery Day transcript, Rev&lt;/a&gt;;&#10;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/2020-battery-day-presentation-deck"&gt;Tesla&amp;rsquo;s deck&lt;/a&gt;).&#10;Another slide said bigger cylindrical cells cost less, and the next said the&#10;catch with big cells is supercharging.&lt;/p&gt;&#10;&lt;p&gt;Read the first claim against the table. Five times the energy in 5.5 times the&#10;volume is about the same energy per litre as before. IEEE Spectrum noted that the&#10;4680 has nearly 5.5 times the volume of a 2170, and that Musk did not mention it&#10;(&lt;a href="https://spectrum.ieee.org/tesla-4680-battery"&gt;IEEE Spectrum&lt;/a&gt;). So the &amp;ldquo;five&#10;times&amp;rdquo; is mostly a bigger can. The gain Tesla was after sits in the cost and the&#10;parts count. IEEE reports a mock-up by Sandy Munro of a pack with &amp;ldquo;960 larger cells, versus&#10;4,416 cells for the 2170 variety&amp;rdquo;, and every cell needs its own connections. A big cell&#10;cuts those.&lt;/p&gt;&#10;&lt;p&gt;How big did the cell turn out? Tesla&amp;rsquo;s 2023 Impact Report lists a Cybertruck pack&#10;of 1,344 cells and 123 kWh, which InsideEVs divided to get about 91.5 Wh a cell,&#10;and about 170 Wh/kg for the whole pack, at 721 kg&#10;(&lt;a href="https://insideevs.com/news/724981/tesla-cybertruck-battery-passport-4680cell/"&gt;InsideEVs&lt;/a&gt;).&#10;Other outlets give a slightly different cell count, so treat the 91.5 as close,&#10;not exact.&lt;/p&gt;&#10;&lt;p&gt;The catch with big cells is the one Tesla&amp;rsquo;s own slide named. A fat roll has a long&#10;strip inside, and the current has to travel along it.&lt;/p&gt;&#10;&lt;h2 id="the-tab-problem"&gt;The tab problem&lt;/h2&gt;&#10;&lt;p&gt;Picture the cathode or the anode as a long metal foil, coated with active&#10;material. In a classic cell, a small metal strip called a tab is welded to the&#10;foil and carries current to the cell&amp;rsquo;s terminal. The patent for Tesla&amp;rsquo;s tabless&#10;cell describes it this way: with a tab at the middle of the electrode, current&#10;travels up to half the length of the wound electrode, and with a tab at one end,&#10;all of it (&lt;a href="https://patents.google.com/patent/US11749842B2/en"&gt;US 11,749,842 B2&lt;/a&gt;).&#10;A long path is resistance, and resistance is heat. That heat is the supercharging&#10;problem.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s fix is to have no tab. Baglino&amp;rsquo;s numbers were &amp;ldquo;50 millimeter versus 250&#10;millimeter electrical path length&amp;rdquo;, and his slide called it a &amp;ldquo;5X reduction in&#10;electrical path&amp;rdquo;. The picture below is drawn at that 5 to 1 ratio:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/tab-vs-tabless.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/tab-vs-tabless.svg" alt="Electrode foil unrolled, drawn to the 5 to 1 ratio of Tesla’s Battery Day figures. With one tab, current travels up to about 250 millimetres. Tabless, it leaves along the whole edge and travels about 50." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;How can a rolled foil have no tab? The patent&amp;rsquo;s answer is the edge. One edge of&#10;the foil is left uncoated, and the roll is wound so that this edge sticks out of&#10;one end. Every turn of the roll then reaches the bottom of the can along its&#10;edge. The patent says the foil is typically 5% to 20% as tall as it is long, so&#10;the current travels a shorter way and the resistance of that electrode &amp;ldquo;can be&#10;reduced by 5 to 20 times.&amp;rdquo; The contact area effectively spans the whole diameter&#10;of the cell, which also helps carry heat out. The patent does not give&#10;temperatures.&lt;/p&gt;&#10;&lt;p&gt;Tesla filed the patent on 4 November 2019 (priority 5 November 2018) and was&#10;granted it on 5 September 2023. It carries no copyright notice, so here are its&#10;own drawings of the end of the cell:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/patent-fig-6.png"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/patent-fig-6.png" alt="US patent drawings of a tabless cell. Figure 6B: cross-section of the can bottom with the foil edge bent against it. 6E: bottom view with the bent portions forming rings. 6C and 6D: two ways to cut them." loading="lazy" decoding="async" width="1000" height="751"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;US patent 11,749,842, fig. 6B to 6E (cropped and rotated).&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Two cautions. In this patent the tabless electrode is the anode, and the drawings&#10;still show a tab on the cathode. A patent also shows an idea, not the cell on&#10;the production line. IEEE Spectrum&amp;rsquo;s summary is the safe one: tabless cells&#10;simplify manufacturing, save space and cut ohmic resistance. I did not find a&#10;teardown that confirms the details inside a production 4680.&lt;/p&gt;&#10;&lt;p&gt;A big, tabless cell is a design. Making it fast and cheap is a different job, and&#10;it starts with how the coating is put on.&lt;/p&gt;&#10;&lt;h2 id="dry-electrode-skipping-the-oven"&gt;Dry electrode: skipping the oven&lt;/h2&gt;&#10;&lt;p&gt;An electrode is foil plus a thin coat of powder. The usual way to coat it is wet.&#10;Mix the powder with a liquid solvent into a paste, spread the paste on the foil,&#10;dry it in a long oven and recover the solvent. Tesla&amp;rsquo;s slides called that four&#10;steps, and a dry process two.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/dry-vs-wet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/dry-vs-wet.svg" alt="Wet and dry electrode coating, from Tesla’s 2020 Battery Day slides. Wet needs solvent and a long drying oven. Dry mixes powder and binder and coats dry. Tesla’s claim: 10 times less energy and space." loading="lazy" decoding="async" width="640" height="420"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Tesla got the process by buying the California firm Maxwell Technologies in 2019.&#10;In March 2023 Reuters reported that Tesla has said the dry process has &amp;ldquo;the potential to&#10;dramatically reduce the size, cost, energy consumption and production cycle time&amp;rdquo;&#10;(&lt;a href="https://www.kitco.com/news/off-the-wire/2023-03-10/tesla-4680-batterys-secret-sauce-dry-electrode-coating"&gt;Reuters via Kitco, 10 March 2023&lt;/a&gt;).&#10;Musk was blunt about it at Battery Day: &amp;ldquo;It&amp;rsquo;s not like dry coating electrode is&#10;actually easy.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;The milestones come from Tesla&amp;rsquo;s own updates:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Q2 2024.&lt;/strong&gt; Tesla said it had &amp;ldquo;entered validation of vehicle testing for our&#10;first prototype Cybertruck produced with in-house dry cathode 4680 cells&amp;rdquo;, &amp;ldquo;a&#10;major cost reduction milestone once ramped&amp;rdquo;&#10;(&lt;a href="https://electrek.co/2024/07/23/tesla-gives-encouraging-update-on-4680-battery-cells/"&gt;Electrek, 23 July 2024, quoting the update&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Q4 2025.&lt;/strong&gt; The deck says: &amp;ldquo;We now produce dry-electrode for 4680 cells with&#10;both anode and cathode made in Austin&amp;rdquo;&#10;(&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Tesla Q4 2025 deck&lt;/a&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Tesla gives no yield, speed or cost figure for the dry line. Outside analysts read&#10;the same period more darkly. Electrek reported that L&amp;amp;F, Tesla&amp;rsquo;s 4680 cathode&#10;partner, wrote its $2.9 billion supply deal with Tesla down by more than 99%, to&#10;$7,386, in December 2025, citing &amp;ldquo;change in supply quantity&amp;rdquo;&#10;(&lt;a href="https://electrek.co/?p=453297"&gt;Electrek, 28 January 2026&lt;/a&gt;). Electrek reads that as&#10;a sign that 4680 is not ramping at scale. A write-down of a supply contract can&#10;have other causes, so I count it as a signal, not a measurement.&lt;/p&gt;&#10;&lt;p&gt;Both ideas change how the cell is built. What goes inside it is a separate choice.&lt;/p&gt;&#10;&lt;h2 id="two-chemistries-lfp-and-nmc"&gt;Two chemistries: LFP and NMC&lt;/h2&gt;&#10;&lt;p&gt;Cathodes come in families. NMC uses nickel, manganese and cobalt. LFP uses&#10;iron and phosphate, with no nickel or cobalt. The IEA compared them in its 2025&#10;outlook: LFP packs are almost 30% cheaper per kWh. LFP pack energy density is&#10;about one-fifth lower by mass and about one-third lower by volume. On the other&#10;side, an LFP battery can reach 100% charge routinely without much wear, where NMC&#10;is typically held to about 80%. NMC does better in the cold&#10;(&lt;a href="https://www.iea.org/reports/global-ev-outlook-2025/electric-vehicle-batteries"&gt;IEA, Global EV Outlook 2025&lt;/a&gt;).&#10;BloombergNEF&amp;rsquo;s survey of pack prices in December 2025 puts the average LFP pack at&#10;$81 per kWh and NMC at $128&#10;(&lt;a href="https://about.bnef.com/insights/clean-transport/lithium-ion-battery-pack-prices-fall-to-108-per-kilowatt-hour-despite-rising-metal-prices-bloombergnef/"&gt;BloombergNEF, 9 December 2025&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/chemistry-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/chemistry-chart.svg" alt="LFP packs against NMC packs, NMC set to 100. Price per kWh: 63 in BloombergNEF December 2025, about 70 in the IEA’s 2024 figure. Energy per kg: about 80. Energy per litre: about 67." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The two price bars differ because they measure different things: different&#10;years, different sets of packs. Both say LFP packs cost roughly 30 to 40% less per&#10;kWh. The market has noticed. The IEA says LFP made up nearly half of EV batteries&#10;deployed worldwide in 2024, and in its 2026 outlook, more than 55% in 2025&#10;(&lt;a href="https://www.iea.org/reports/global-ev-outlook-2026/electric-vehicle-batteries"&gt;IEA, Global EV Outlook 2026&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Which Tesla uses which? Tesla does not hand out one table by model. I could not&#10;open Tesla&amp;rsquo;s current spec pages while researching this, so here is what its own&#10;filings and outside reports say:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Product&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Chemistry or cell&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Standard range vehicles (Tesla names no models)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;LFP&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, Q3 2021 deck: &amp;ldquo;For standard range vehicles, we are shifting to Lithium Iron Phosphate (LFP) battery chemistry globally&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cybertruck&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4680 cells, nickel-cobalt-manganese (NCM) cathode&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla&amp;rsquo;s 2023 Impact Report battery passport, as reported by InsideEVs&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Some Model Y&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4680 cells, chemistry not stated&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, Q4 2025 deck: &amp;ldquo;battery packs for certain Model Ys with our 4680 cells&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Powerwall and Megapack&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;LFP cells from Tesla&amp;rsquo;s Nevada plant, 7 GWh, &amp;ldquo;Early Ramp&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla, Q2 2026 deck: &amp;ldquo;LFP cells in Nevada for our energy storage products&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Look at the last row. Tesla&amp;rsquo;s own LFP plant is for storage first. The LFP cells in&#10;its cars come from other makers. The IEA says nearly all the LFP cells in cars&#10;sold in Europe or the US were made in China, that Tesla made up 85% of the LFP&#10;cars built in the US in 2024, and that it made almost half of those sold in the EU&#10;(&lt;a href="https://www.iea.org/reports/global-ev-outlook-2025/electric-vehicle-batteries"&gt;IEA, 2025&lt;/a&gt;).&#10;The 2026 IEA outlook adds that Tesla still sources most of its EV batteries from&#10;Panasonic, LG Energy Solution and CATL, and that its in-house production is&#10;limited (&lt;a href="https://www.iea.org/reports/global-ev-outlook-2026/electric-vehicle-batteries"&gt;IEA, 2026&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;LFP&amp;rsquo;s weak spot in the cold has an engineering answer in Tesla&amp;rsquo;s decks. The Q4&#10;2024 deck lists &amp;ldquo;Battery Heating at Superchargers, a feature that gets vehicles&#10;with LFP battery packs back on the road up to 4x faster&amp;rdquo;&#10;(&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828025002993/exhibit991.htm"&gt;Tesla Q4 2024 deck&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Whatever the chemistry, the cells still have to become a battery pack.&lt;/p&gt;&#10;&lt;h2 id="from-cells-to-a-floor"&gt;From cells to a floor&lt;/h2&gt;&#10;&lt;p&gt;A pack is where a pile of cells becomes something a car can carry. There are&#10;three ways to build it.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/packaging.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/packaging.svg" alt="Three ways to pack the same cells. Modules: cells make modules, bolted under the car. Cell-to-pack: no modules. Structural pack: cells sit between two sheets and the pack is part of the body." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The IEA describes cell-to-pack and cell-to-chassis designs as ones that &amp;ldquo;eliminate&#10;the intermediate battery modules and increase overall energy density&amp;rdquo;, at a price:&#10;they make recycling harder&#10;(&lt;a href="https://www.iea.org/reports/global-ev-outlook-2026/electric-vehicle-batteries"&gt;IEA, 2026&lt;/a&gt;).&#10;Tesla&amp;rsquo;s version, the third row, goes one step further. The pack is not just&#10;module-free, it is also load-bearing.&lt;/p&gt;&#10;&lt;p&gt;Tesla called it the structural battery at Battery Day. Musk explained that a&#10;filler &amp;ldquo;effectively glues the cells to the top and bottom sheet&amp;rdquo;, so the pack&#10;becomes one stiff box. His line for the benefit was: &amp;ldquo;Effectively the non cell&#10;portion of the battery has negative mass&amp;rdquo;, because the pack replaces floor&#10;structure the car would carry anyway. The slide reads &amp;ldquo;370 fewer parts&amp;rdquo;, &amp;ldquo;14%&#10;range increase opportunity&amp;rdquo; and &amp;ldquo;10% mass reduction&amp;rdquo;, for the body and the battery&#10;together. At the pack level Baglino gave &amp;ldquo;another 7% dollar per kilowatt hour&#10;reduction&amp;rdquo;. All of this was a target in 2020.&lt;/p&gt;&#10;&lt;p&gt;What was built? The 2022 teardown is the best look, and here is what it showed:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/structural-floor.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/structural-floor.svg" alt="Side view of a structural battery pack, simplified. The top sheet is the cabin floor and the seats bolt to it. Cells stand glued between two sheets, with castings at the ends, making one block." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Munro Live found the seats, console and carpets and trims attached to the pack.&#10;The pack joined the body at the front and rear castings, the big one-piece parts&#10;from Part 2 of this series. The cells sat in a black plastic holder. Pink polyurethane foam covered the&#10;cooling channels and the rest, and set into what InsideEVs called &amp;ldquo;a single&#10;ultra-strong brick&amp;rdquo;&#10;(&lt;a href="https://insideevs.com/news/604216/tesla-4680-battery-teardown-progress"&gt;InsideEVs, 14 August 2022&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;That brick has a price. Munro&amp;rsquo;s Cory Steuben said &amp;ldquo;the repairability of this is&#10;essentially zero&amp;rdquo;, because the cells are glued to each other and to the steel&#10;case&#10;(&lt;a href="https://insideevs.com/news/597786/tesla-structural-battery-pack-teardown-difficult/"&gt;InsideEVs, 12 July 2022&lt;/a&gt;).&#10;Musk replied on Twitter: &amp;ldquo;Structural pack is the right overall architecture from&#10;a physics standpoint, but it is still far from optimized&amp;rdquo;&#10;(&lt;a href="https://insideevs.com/news/596775/musk-says-model-structural-battery-pack-far-from-optimized/"&gt;InsideEVs, 7 July 2022&lt;/a&gt;).&#10;That is Tesla&amp;rsquo;s CEO calling it right in principle and unfinished in practice.&lt;/p&gt;&#10;&lt;p&gt;The 4680 Model Y did not stay on sale. Electrek wrote in January 2026 that Tesla&#10;dropped the 4680 Model Y more than two years earlier, and called the Cybertruck&#10;the only vehicle using the cells. The Q4 2025 deck says Tesla has &amp;ldquo;begun to&#10;produce battery packs for certain Model Ys with our 4680 cells&amp;rdquo;. The deck does not&#10;say whether those packs are the 2022 structural design, and I found no source that&#10;does.&lt;/p&gt;&#10;&lt;p&gt;So how many 4680 cells has Tesla made, and how fast?&lt;/p&gt;&#10;&lt;h2 id="the-4680-ramp-a-plan-a-capacity-table-and-a-count"&gt;The 4680 ramp: a plan, a capacity table and a count&lt;/h2&gt;&#10;&lt;p&gt;Three kinds of number get mixed together here, so I will keep them apart.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The plan.&lt;/strong&gt; Tesla&amp;rsquo;s Battery Day deck has a slide called &amp;ldquo;The Plan&amp;rdquo;: 100 GWh in&#10;2022 and 3 TWh by 2030. Musk added that the 100 GWh was &amp;ldquo;supplemental to what we&#10;buy from suppliers&amp;rdquo;. A GWh is a billion watt-hours; a Cybertruck pack is 123 kWh,&#10;so 100 GWh is enough for about 800,000 of them.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The capacity table.&lt;/strong&gt; Tesla&amp;rsquo;s decks carry a table of installed annual capacity.&#10;Texas 4680 shows 40 GWh in the Q4 2025 and Q1 2026 decks, and &amp;ldquo;more than 40&amp;rdquo; in&#10;the Q2 2026 deck of July 2026, with Berlin listed as under construction&#10;(&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Q4 2025&lt;/a&gt;,&#10;&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026&lt;/a&gt;,&#10;&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026049213/exhibit991.htm"&gt;Q2 2026&lt;/a&gt;).&#10;The footnote in the Q4 2025 and Q2 2026 decks reads: &amp;ldquo;Installed capacity ≠ current&#10;production rate and there may be limitations discovered as production rates&#10;approach capacity.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The count.&lt;/strong&gt; Tesla does not publish 4680 output in GWh. It does post milestones,&#10;and one number in a deck:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/ramp-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/ramp-timeline.svg" alt="Dated 4680 ramp. Sep 2020: plan of 100 GWh in 2022. Sep 2024: 100 millionth cell. Jan 2025: above 2,500 Cybertrucks a week. Jul 2026: Texas capacity above 40 GWh, Berlin under construction." loading="lazy" decoding="async" width="640" height="530"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Where each line comes from: the plan is Tesla&amp;rsquo;s deck. The 2021 line is Musk on&#10;26 July 2021, as reported by IEEE Spectrum: &amp;ldquo;the 10% of manufacturing processes&#10;that currently bottleneck production output&amp;rdquo;. The &amp;ldquo;now at scale&amp;rdquo; line is from the&#10;2023 Investor Day, as listed by&#10;&lt;a href="https://cleantechnica.com/2023/03/06/20-news-items-from-tesla-investor-day/"&gt;CleanTechnica&lt;/a&gt;.&#10;The cell counts come from &lt;a href="https://insideevs.com/news/722543/tesla-50millionth-4680type-battery-cell/"&gt;InsideEVs&lt;/a&gt;&#10;and &lt;a href="https://www.teslarati.com/tesla-announces-100-millionth-4680-battery-cell-production-milestone"&gt;Teslarati&lt;/a&gt;,&#10;which reports Tesla&amp;rsquo;s own post on X. The weekly rate is the&#10;&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828025002993/exhibit991.htm"&gt;Q4 2024 deck&lt;/a&gt;:&#10;&amp;ldquo;Our in-house 4680 cell hit a production rate exceeding 2.5k Cybertrucks/week.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;Those two kinds of Tesla data can be turned into energy. Teslarati worked out that&#10;50 million cells to 100 million took 101 days, which is about 495,000 cells a day.&#10;At 91.5 Wh a cell, that is about 45 MWh a day, or about 16.5 GWh a year at that&#10;pace. Tesla&amp;rsquo;s 2,500 Cybertrucks a week at 123 kWh each is 307.5 MWh a week, or&#10;about 16 GWh a year. These are my sums, and they rest on assumptions: the 50&#10;millionth cell was counted at Giga Texas and the 100 millionth &amp;ldquo;across all our&#10;factories&amp;rdquo;, cell energy changed over time, and some cells went to other products.&#10;But the two methods land on the same place.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/ramp-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/ramp-chart.svg" alt="Bar chart of 4680 capacity in GWh a year. Plan for 2022: 100. Texas capacity, 2026: over 40, which Tesla says is not the production rate. Pace in 2024: about 16. Output since January 2025: not published." loading="lazy" decoding="async" width="640" height="520"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Read the chart for what it can say. In late 2024 the pace was around 16 GWh a&#10;year, a sixth of the 2020 plan for 2022. The 40 GWh of capacity in 2026 is more&#10;than twice that pace, and Tesla says capacity is not output. All 100 million&#10;cells together, if each held 91.5 Wh, add up to about 9 GWh: less than a quarter&#10;of one year at 40 GWh. I have no figure from Tesla for output after January 2025.&lt;/p&gt;&#10;&lt;p&gt;Outside analysis points the same way. The IEA&amp;rsquo;s 2026 outlook says Tesla&amp;rsquo;s in-house&#10;EV battery manufacturing is still limited, with the first large-scale production&#10;in 2023, &amp;ldquo;notably to supply its Cybertruck&amp;rdquo;. On cost, Musk told shareholders in&#10;June 2024 that Tesla expected &amp;ldquo;cost parity even with the much lower supplier cell&#10;price today by the end of the year&amp;rdquo;, and called it &amp;ldquo;a very difficult path&amp;rdquo;&#10;(&lt;a href="https://cleantechnica.com/2024/06/24/elon-musk-teslas-4680-batteries-at-cost-parity-with-cheapest-suppliers-by-end-of-year/"&gt;CleanTechnica, 24 June 2024&lt;/a&gt;).&#10;I did not find a later Tesla statement that parity was reached.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s own July 2026 deck puts the limit in a different place. It says &amp;ldquo;battery&#10;pack capacity&amp;rdquo; remains the limiting factor on ramping vehicle production&#10;globally. That covers all packs and all suppliers, not only 4680.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What does 4680 mean?&lt;/strong&gt;&#10;The cell is 46 mm across and 80 mm long. It is the same naming as 18650 and 2170.&#10;By can size it holds about 5.5 times the volume of a 2170.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is a tabless cell the same thing as a dry electrode?&lt;/strong&gt;&#10;No. Tabless is about how current leaves the roll. Dry is about how the powder&#10;coat is put on the foil. Tesla announced both in 2020 for the 4680 and they are&#10;separate changes. A cell could have one without the other.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Tesla use LFP in its cars?&lt;/strong&gt;&#10;Tesla said in October 2021 that for standard range vehicles it was shifting to LFP chemistry globally.&#10;The cells in cars come mostly from other makers, per the IEA. Tesla&amp;rsquo;s own LFP&#10;plant in Nevada, in early ramp in its 2026 decks, is for energy storage products.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How many cells are in a Cybertruck?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s 2023 Impact Report, as read by InsideEVs, gives 1,344 cells and 123 kWh.&#10;I found no Tesla breakdown of the pack.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can a structural pack be repaired?&lt;/strong&gt;&#10;A 2022 Model Y pack was judged &amp;ldquo;essentially zero&amp;rdquo; repairable by Munro, because&#10;the cells are glued in. That was one design in one year. I did not find a Tesla&#10;repair procedure for a current pack.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-battery-4680-structural-pack/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-battery-4680-structural-pack/cheat-sheet.svg" alt="Tesla battery cheat sheet. 4680 is 46 by 80 mm, 5.5 times the 2170 volume. Tabless cuts the current path from 250 to 50 mm. LFP is cheaper but holds about a fifth less energy per kg." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; the pack holds about 1,300 cells and 123 kWh in the Cybertruck, and&#10;it has to be watched, cooled and connected to everything else. A battery that big&#10;needs a nervous system. What carries the power and the signals around the car, how&#10;few wires can it get away with, and why did Tesla go to 48 volts?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/2020-battery-day-presentation-deck"&gt;Battery Day 2020 presentation deck&lt;/a&gt; and the &lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;Rev transcript of the event&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ir.tesla.com/_flysystem/s3/sec/000156459021051307/tsla-8k_20211020-gen.pdf"&gt;Q3 2021 update, with the move to LFP for standard range&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828025002993/exhibit991.htm"&gt;Q4 2024 update&lt;/a&gt;, &lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Q4 2025 update&lt;/a&gt;, &lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026 update&lt;/a&gt; and &lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026049213/exhibit991.htm"&gt;Q2 2026 update&lt;/a&gt;, as filed with the SEC&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US11749842B2/en"&gt;US 11,749,842 B2, cell with a tabless electrode&lt;/a&gt;, Tesla, granted 5 September 2023&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Government labs and public bodies&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.anl.gov/science-101/batteries"&gt;Argonne National Laboratory, Science 101: batteries&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nobelprize.org/prizes/chemistry/2019/popular-information/"&gt;Royal Swedish Academy of Sciences, popular information on the 2019 Nobel Prize in Chemistry&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.iea.org/reports/global-ev-outlook-2025/electric-vehicle-batteries"&gt;IEA, Global EV Outlook 2025, electric vehicle batteries&lt;/a&gt; and &lt;a href="https://www.iea.org/reports/global-ev-outlook-2026/electric-vehicle-batteries"&gt;Global EV Outlook 2026&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://spectrum.ieee.org/tesla-4680-battery"&gt;Is Elon Musk back in &amp;ldquo;production hell&amp;rdquo; with Tesla&amp;rsquo;s 4680 battery?&lt;/a&gt;, IEEE Spectrum, 2021, updated January 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://about.bnef.com/insights/clean-transport/lithium-ion-battery-pack-prices-fall-to-108-per-kilowatt-hour-despite-rising-metal-prices-bloombergnef/"&gt;Lithium-ion battery pack prices fall to $108 per kilowatt-hour&lt;/a&gt;, BloombergNEF, 9 December 2025&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2017/01/04/teslas-gigafactory-starts-mass-producing-battery-cells/"&gt;Tesla&amp;rsquo;s Gigafactory starts mass producing battery cells&lt;/a&gt;, TechCrunch, 4 January 2017&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.kitco.com/news/off-the-wire/2023-03-10/tesla-4680-batterys-secret-sauce-dry-electrode-coating"&gt;Tesla 4680 battery&amp;rsquo;s secret sauce: dry electrode coating&lt;/a&gt;, Reuters via Kitco, 10 March 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/724981/tesla-cybertruck-battery-passport-4680cell/"&gt;Tesla&amp;rsquo;s Cybertruck battery passport&lt;/a&gt;, InsideEVs, 1 July 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/596439/tesla-modely-4680-structural-pack-out/"&gt;Model Y 4680 structural pack removed with seats attached&lt;/a&gt;, &lt;a href="https://insideevs.com/news/596775/musk-says-model-structural-battery-pack-far-from-optimized/"&gt;Musk on the structural pack&lt;/a&gt;, &lt;a href="https://insideevs.com/news/597786/tesla-structural-battery-pack-teardown-difficult/"&gt;teardown difficulty&lt;/a&gt; and &lt;a href="https://insideevs.com/news/604216/tesla-4680-battery-teardown-progress"&gt;the cells under the foam&lt;/a&gt;, InsideEVs, July and August 2022&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2024/07/23/tesla-gives-encouraging-update-on-4680-battery-cells/"&gt;Tesla gives encouraging update on 4680 battery cells&lt;/a&gt;, Electrek, 23 July 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/?p=453297"&gt;Tesla puts 4680 battery cells back in Model Y&lt;/a&gt;, Electrek, 28 January 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.teslarati.com/tesla-announces-100-millionth-4680-battery-cell-production-milestone"&gt;Tesla announces 100 millionth 4680 cell&lt;/a&gt;, Teslarati, 14 September 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://cleantechnica.com/2024/06/24/elon-musk-teslas-4680-batteries-at-cost-parity-with-cheapest-suppliers-by-end-of-year/"&gt;Elon Musk: Tesla&amp;rsquo;s 4680 batteries at cost parity by end of year&lt;/a&gt; and &lt;a href="https://cleantechnica.com/2023/03/06/20-news-items-from-tesla-investor-day/"&gt;20 news items from Tesla Investor Day&lt;/a&gt;, CleanTechnica&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://commons.wikimedia.org/wiki/File:Tesla_4680_2170_18650_batteries.svg"&gt;Tesla 4680 2170 18650 batteries.svg&lt;/a&gt;, Wikimedia Commons, CC BY-SA 4.0&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Building a Car in Pieces: Tesla's Unboxed Process</title><link>https://loomloops.com/post/tesla-unboxed-manufacturing-process/</link><pubDate>Fri, 09 Oct 2026 09:05:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-unboxed-manufacturing-process/</guid><description>&lt;p&gt;A car rolls out of the paint shop. It is finished: glossy, one colour, no&#10;marks. Then a worker takes the doors off.&lt;/p&gt;&#10;&lt;p&gt;That is normal. Most cars you have seen were built that way. On 1 March 2023, at&#10;Tesla&amp;rsquo;s Investor Day in Austin, Lars Moravy, Tesla&amp;rsquo;s head of vehicle engineering,&#10;described the step like this, as &lt;a href="https://goauto.com.au/amp/90449/musk-teases-new-tesla-models-at-investor-day.html"&gt;GoAuto reported&#10;it&lt;/a&gt;:&#10;&amp;ldquo;Once you get the colour, you take the doors off, and then you start putting the&#10;interior in the car.&amp;rdquo; Tesla&amp;rsquo;s slide for it, called &amp;ldquo;Current Way of Assembling a&#10;Vehicle&amp;rdquo;, shows a red car body with its doors and panels lifted away&#10;(&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/Investor-Day-2023-Keynote"&gt;Investor Day deck&lt;/a&gt;,&#10;page 41).&lt;/p&gt;&#10;&lt;p&gt;Part 2 ended on a question: if the parts get bigger, why not build the car in&#10;bigger chunks? Tesla&amp;rsquo;s answer is a process it calls &amp;ldquo;unboxed&amp;rdquo;. It comes with big&#10;numbers attached, and as of 9 October 2026 only one car is tied to it.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 3 of Inside a Tesla. I like the car and the tech, so I researched it to&#10;feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A classic line builds one body. It welds the body shut, paints it whole, takes&#10;the doors off, fits the inside through the gaps, and puts the doors back.&#10;Unboxed builds five sections at the same time, fits them out, and joins them&#10;late.&lt;/li&gt;&#10;&lt;li&gt;Tesla says (Investor Day, 1 March 2023) the next-generation car would need&#10;&amp;ldquo;more than 40%&amp;rdquo; less factory floor, and 50% lower cost per car. Those are two&#10;different measures, and the press often merged them. The 50% also covers a&#10;smaller car, not only the line.&lt;/li&gt;&#10;&lt;li&gt;Tesla ties the process to the Cybercab, in its July 2025 update and in a&#10;September 2026 post on X. Its July 2026 update lists Cybercab capacity of more&#10;than 125,000 a year and gives no output number. Outside experts are split on&#10;whether the process works for a whole product range.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-line-most-cars-come-from"&gt;The line most cars come from&lt;/h2&gt;&#10;&lt;p&gt;A classic car line is a relay with five stages. A car passes each stage once, in&#10;order.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/classic-line.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/classic-line.svg" alt="The classic assembly line in five stages: stamping, body shop welding, paint shop, general assembly where the doors come off and go back on, then test and ship. Every car follows one path." loading="lazy" decoding="async" width="640" height="428"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The welded shell has a name: the &lt;a href="https://en.wikipedia.org/wiki/Body_in_white"&gt;body in white&lt;/a&gt;.&#10;At this stage the body frame is joined and not yet painted. Closures such as&#10;doors can already be on it. The motor, chassis parts, glass, seats and trim are&#10;still to come.&lt;/p&gt;&#10;&lt;p&gt;The idea is old. In 1913 Ford started using a moving line at its Highland Park&#10;plant, and &lt;a href="https://corporate.ford.com/articles/history/moving-assembly-line.html"&gt;Ford says&lt;/a&gt;&#10;it brought the build time of a Model T down to ninety minutes. This photograph&#10;from that year is captioned on Wikimedia Commons &amp;ldquo;Experimenting with the&#10;mounting body on Model T chassis&amp;rdquo;:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/ford-body-drop-1913.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/ford-body-drop-1913.jpg" alt="A 1913 Ford photograph of a body sliding down a wooden ramp onto a Model T chassis on the line, with workers guiding it. The Commons caption says Ford was experimenting with mounting bodies." loading="lazy" decoding="async" width="1021" height="689"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Ford Motor Company, 1913, public domain, via Wikimedia Commons.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;A modern line looks different, but the order is the same. Here is a Tesla body&#10;line in Fremont in March 2012, with robots around a bare Model S body:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/fremont-body-line-2012.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/fremont-body-line-2012.jpg" alt="A wide view of a Tesla body line in Fremont in March 2012. Red robot arms stand on both sides of a line of bare Model S bodies in a bright hall with white roof trusses." loading="lazy" decoding="async" width="1100" height="676"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Steve Jurvetson, CC BY 2.0, via Wikimedia Commons, taken 21 March 2012. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s 2023 slide called this the &amp;ldquo;Current Way of Assembling a Vehicle&amp;rdquo;, and&#10;set its new plan against it. The stage that matters most for this post is the&#10;last one, general assembly. This is where the interior, wiring, glass and doors&#10;go in:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/fremont-roof-glass-2011.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/fremont-roof-glass-2011.jpg" alt="A red robot arm reaches over a grey Model S body on a red carrier in the Fremont factory, October 2011. The caption says this robot installs the glass roof." loading="lazy" decoding="async" width="1100" height="768"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Steve Jurvetson, CC BY 2.0, via Wikimedia Commons, taken 5 October 2011. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;h2 id="what-is-slow-about-it"&gt;What is slow about it&lt;/h2&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s own patent lists the problems. It is a &lt;a href="https://patents.google.com/patent/WO2024182432A1/en"&gt;Tesla application&#10;published by WIPO as WO2024182432&lt;/a&gt;,&#10;&amp;ldquo;Modular vehicle architecture for assembling vehicles&amp;rdquo;. Twelve people are named&#10;as inventors, and Lars Moravy is one of them. It was filed on 27 February 2024 and&#10;claims priority from a US provisional filing of 28 February 2023, the day before&#10;Investor Day. In the patent&amp;rsquo;s words, the traditional process:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;moves &amp;ldquo;the entire weight/footprint of the vehicle&amp;rdquo; to fit even small parts,&#10;such as headlamps or wheels;&lt;/li&gt;&#10;&lt;li&gt;makes it &amp;ldquo;difficult/expensive to datum/locate the assembly at the full vehicle&#10;level&amp;rdquo;, which limits automation. Datum means a fixed reference point that tells&#10;a robot where the part is.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The paint shop is a third cost. &lt;a href="https://www.advisorperspectives.com/articles/2024/03/28/teslas-25-000-car-means-tossing-out-the-100-year-old-assembly-line"&gt;Bloomberg&#10;reported&lt;/a&gt;&#10;on 28 March 2024 that dipping or spraying a whole body is energy-hungry and slow.&#10;It quoted Caresoft, an engineering benchmarking firm, as seeing at least a 50%&#10;cut in paint-shop investment for new factories if the unboxed idea works. That is&#10;an outside estimate of a claim, not a measurement.&lt;/p&gt;&#10;&lt;p&gt;Then there are the doors. The body is painted with the doors on. Then the doors&#10;come off, so people and robots can reach the inside, and later they go back on.&#10;&lt;a href="https://www.assemblymag.com/articles/97788-tesla-rethinks-the-assembly-line"&gt;Assembly&#10;magazine&lt;/a&gt;&#10;quotes Moravy: &amp;ldquo;you put the doors on and then you paint them&amp;rdquo;, then &amp;ldquo;you take the&#10;doors off&amp;rdquo;. Bloomberg describes the same order. The door makes a round trip:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/doors-trip.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/doors-trip.svg" alt="One door, two routes. Classic line: fitted, painted on the body, taken off, then fitted again. Unboxed: painted on its own, kept finished while the body gets its seats, and fitted once, last." loading="lazy" decoding="async" width="640" height="404"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="unboxed-build-the-sections-join-them-late"&gt;Unboxed: build the sections, join them late&lt;/h2&gt;&#10;&lt;p&gt;&amp;ldquo;Unboxed&amp;rdquo; is a pun on the &amp;ldquo;box&amp;rdquo; in the classic line, the closed body. The patent&#10;flips the order. Instead of welding the box and then filling it, it fills&#10;sections first and makes the box last. In its words, &amp;ldquo;assembling the body or&#10;&amp;lsquo;box&amp;rsquo; of the vehicle after the internal components have been assembled to&#10;individual sections or modules&amp;rdquo; lets &amp;ldquo;the length of the GA line&amp;rdquo; shrink.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s slide, &amp;ldquo;Parallel &amp;amp; Serial Assembly&amp;rdquo; (page 44 of the deck), shows two&#10;feeder streams. Stamping and paint make the left side, right side and floor.&#10;Casting makes the front, rear and &amp;ldquo;other&amp;rdquo;. Each stream ends in the same place,&#10;vehicle assembly. Moravy&amp;rsquo;s own summary, as GoAuto reported it: &amp;ldquo;When we take all&#10;of these tested sub-assemblies and put them together, we finally assemble the car&#10;only one time.&amp;rdquo;&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/unboxed-flow.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/unboxed-flow.svg" alt="Unboxed in one picture: front, rear, left, right and floor sections are built and fitted out on their own lines, joined in one step, and only then get doors, outer panels and wheels." loading="lazy" decoding="async" width="640" height="436"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Three details from the patent show how different the result is.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Bolts instead of welds.&lt;/strong&gt; The sections are joined by &amp;ldquo;bolting or riveting&amp;rdquo;, or&#10;by stir welding, and in some embodiments &amp;ldquo;no welding is used to connect major&#10;portions of the vehicle&amp;rdquo;. Stir welding joins metal by friction, with no melting.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The paint shop shrinks.&lt;/strong&gt; Because surface treatment such as e-coat and paint&#10;can be done on the sections, the patent says the approach can eliminate &amp;ldquo;the&#10;need for traditional full-body-scale body and paint shops&amp;rdquo;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The floor is the battery.&lt;/strong&gt; In claim 8, the left and right sides join the&#10;front and rear sections to make a cabin. Then the top and the battery pack&#10;join. Claim 15 adds that the pack has seats already attached.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The patent also shows that not every design needs all six faces of the box&#10;built apart. Figures 8A to 8D draw versions that build 2.5, 3, 5 or 6 faces&#10;separately. So &amp;ldquo;unboxed&amp;rdquo; is a dial, not a switch.&lt;/p&gt;&#10;&lt;h2 id="the-numbers-tesla-gave-and-the-40-and-50-mix-up"&gt;The numbers Tesla gave, and the 40 and 50 mix-up&lt;/h2&gt;&#10;&lt;p&gt;At Investor Day, four slides carry the numbers. I downloaded the 169-page&#10;deck and read them. The page numbers below are the PDF&amp;rsquo;s own.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/claims-chart.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/claims-chart.svg" alt="Bar chart of claimed percentages: Tesla Investor Day 2023 says 50 percent lower cost per car and over 40 percent less floor space. Bloomberg Intelligence estimates a 33 percent cost cut." loading="lazy" decoding="async" width="640" height="716"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Claim (Tesla says)&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Number&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it measures&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Page&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Manufacturing footprint&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;&amp;gt;40%&amp;rdquo; reduction&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Factory floor for the next-generation car vs the legacy layout&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;47&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cost of goods sold per car&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;50%&amp;rdquo; reduction&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Next-generation car vs Model 3/Y. The slide labels the gap &amp;ldquo;Innovation &amp;amp; Size&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;47&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Operator density&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;44%&amp;rdquo; improvement&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Next-generation vs Model 3: more people working at once&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;43&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Space-time efficiency&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;30%&amp;rdquo; improvement&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The slide does not define it&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;43&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Drive-unit factory footprint&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;50%&amp;rdquo; reduction&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The motor factory, in the powertrain talk&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;58&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Here is how the mix-up happens. &lt;a href="https://sg.finance.yahoo.com/news/analysis-tesla-car-making-process-100438352.html"&gt;Reuters wrote on 15 May&#10;2023&lt;/a&gt;&#10;that Tesla said the process could cut production costs by half and reduce factory&#10;footprint by 40%. That joins two numbers from the same slide into one sentence&#10;about the process. But the slide&amp;rsquo;s cost bar is about the whole next-generation car,&#10;which the same slide credits to &amp;ldquo;Innovation &amp;amp; Size&amp;rdquo;. The footprint number is&#10;about floor area. A third 50%, on page 58, is a different factory, the one that&#10;builds drive units.&lt;/p&gt;&#10;&lt;p&gt;A footprint claim is easy to picture. If a classic layout needs 100 units of&#10;floor, &amp;ldquo;more than 40% less&amp;rdquo; means the new layout needs under 60.&lt;/p&gt;&#10;&lt;p&gt;The cost claim is harder. A cost waterfall on page 158, in the finance section,&#10;shows the path to a &amp;ldquo;50% Target&amp;rdquo; in three steps: &amp;ldquo;Vehicle&amp;rdquo;, &amp;ldquo;Battery &amp;amp; Powertrain&amp;rdquo;&#10;and &amp;ldquo;Manufacturing &amp;amp; Other&amp;rdquo;. The manufacturing step is drawn as the smallest of&#10;the three. The slide has no numbers on the steps, so how much of the saving&#10;comes from unboxed is not published.&lt;/p&gt;&#10;&lt;p&gt;One outside estimate puts it lower. Bloomberg on 28 March 2024 cited a Bloomberg&#10;Intelligence analysis that estimated the modular process would cut costs by 33%,&#10;not half. The story does not name the analyst, and Tesla did not respond to&#10;Bloomberg&amp;rsquo;s request for comment.&lt;/p&gt;&#10;&lt;h2 id="ford-and-toyota-drew-a-similar-tree"&gt;Ford and Toyota drew a similar tree&lt;/h2&gt;&#10;&lt;p&gt;Tesla is not alone in this shape. Two other carmakers have shown plans:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Maker&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Shape&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it says&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Reported&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Ford&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;Assembly tree&amp;rdquo;: front, rear and structural battery with seats, three lines that join&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;40% fewer workstations dock to dock, 15% faster assembly, 20% fewer parts, 25% fewer fasteners&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;11 Aug 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Toyota&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Three-part modular structure (front, centre, rear), self-propelled line, large castings&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Self-propelled line reduces the need for conveyor equipment&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;19 Sep 2023&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Sources: &lt;a href="https://www.fromtheroad.ford.com/us/en/articles/2025/ford-affordable-electric-vehicle-platform-midsize-electric-truck"&gt;Ford&amp;rsquo;s own&#10;article&lt;/a&gt;,&#10;&lt;a href="https://techcrunch.com/2025/08/11/ford-throws-out-henry-fords-assembly-line-to-make-low-cost-evs-in-america/"&gt;TechCrunch on Ford&lt;/a&gt;&#10;and &lt;a href="https://electrek.co/2023/09/19/toyota-reveals-next-gen-ev-production-line-catch-up-tesla/"&gt;Electrek on&#10;Toyota&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;The Ford numbers are a good model for how to read any of these. Ford says its&#10;production system could be up to 40% faster than Louisville&amp;rsquo;s current vehicles. After&#10;it reinvests some of that saving in more in-house work and automation, the net&#10;is 15% faster. A &amp;ldquo;40%&amp;rdquo; and a &amp;ldquo;15%&amp;rdquo; for the same plan, both from Ford. When you see&#10;one number for unboxed, ask which one it is.&lt;/p&gt;&#10;&lt;h2 id="the-cybercab-line-as-of-9-october-2026"&gt;The Cybercab line, as of 9 October 2026&lt;/h2&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s quarterly updates show how the Cybercab line moved. Each update has a&#10;table of factories with a status column:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/cybercab-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/cybercab-timeline.svg" alt="Timeline of the Cybercab line, July 2025 to September 2026: Construction, Tooling, first car on 17 February 2026, Pilot Production, then capacity above 125,000 in July, which Tesla notes is not output." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;What Tesla says in its own filings:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;23 July 2025.&lt;/strong&gt; &lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q2-2025-Update"&gt;The Q2 2025 update&lt;/a&gt;&#10;says Cybercab &amp;ldquo;will continue to pursue a revolutionary &amp;lsquo;unboxed&amp;rsquo; manufacturing&#10;strategy and is scheduled for volume production starting in 2026&amp;rdquo;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;22 October 2025 to 22 April 2026.&lt;/strong&gt; The status for Cybercab went from&#10;Construction (&lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q3-2025-Update.pdf"&gt;Q3 2025&lt;/a&gt;)&#10;to Tooling (&lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q4-2025-Update.pdf"&gt;Q4 2025&lt;/a&gt;)&#10;to Pilot Production (&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;22 July 2026.&lt;/strong&gt; &lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026049213/exhibit991.htm"&gt;The Q2 2026 update&lt;/a&gt;&#10;lists Cybercab at &amp;ldquo;&amp;gt;125,000&amp;rdquo; with status &amp;ldquo;Production&amp;rdquo;. It says the same table&#10;carries the note &amp;ldquo;Installed capacity ≠ current production rate&amp;rdquo;. It also says&#10;engineering test drives on public roads began in the quarter, and employee rides&#10;on the factory campus began in July.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Two things I checked in the PDFs. First, the words &amp;ldquo;volume production&amp;rdquo; appear for&#10;Cybercab in the Q1 2026 update (&amp;ldquo;We expect volume production of both Cybercab and&#10;the Tesla Semi this year&amp;rdquo;) but not in the Q2 2026 update. &lt;a href="https://techcrunch.com/2026/07/22/tesla-spending-skyrockets-as-cybercab-semi-megapack-production-timeline-slips/"&gt;TechCrunch read&#10;that&lt;/a&gt;&#10;as Tesla dropping the volume goal for 2026; Tesla does not say so itself. Second,&#10;the word &amp;ldquo;unboxed&amp;rdquo; does not appear in the four updates from Q3 2025 to Q2 2026. It&#10;appears in the Q2 2025 update only.&lt;/p&gt;&#10;&lt;p&gt;Pace claims come from people, not from filings. At the annual meeting on 6 November&#10;2025, &lt;a href="https://techcrunch.com/2025/11/06/tesla-to-begin-cybercab-production-in-april-musk-claims"&gt;TechCrunch&#10;reported&lt;/a&gt;&#10;that Musk said production would start in April. &lt;a href="https://driveteslacanada.ca/news/elon-musk-confirms-cybercab-production-will-begin-in-april-2026-reveals-first-look-at-unboxed-manufacturing-line/"&gt;Drive Tesla&#10;Canada&lt;/a&gt;&#10;(7 November 2025) quotes his goal as &amp;ldquo;less than a ten second cycle time, basically&#10;a unit every ten seconds&amp;rdquo;. TechCrunch set that against a one-minute cycle for&#10;a Model Y; that comparison is TechCrunch&amp;rsquo;s, not Musk&amp;rsquo;s words. On 17 February 2026 Tesla said its &lt;a href="https://insideevs.com/news/787560/tesla-cybercab-robotaxi-giga-texas-production"&gt;first Cybercab rolled off&#10;the line&lt;/a&gt;.&#10;After the Q1 call, &lt;a href="https://electrek.co/2026/04/23/tesla-cybercab-production-starts-no-nhtsa-2500-vehicle-cap/"&gt;Electrek&#10;reported&lt;/a&gt;&#10;Musk called the start &amp;ldquo;very slow&amp;rdquo;, then &amp;ldquo;going kind of exponential towards the end&#10;of the year&amp;rdquo;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/cybercab-sep-2026.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/cybercab-sep-2026.jpg" alt="A Cybercab on display in a covered hall, in gold paint with a raised door, photographed on 19 September 2026. The car has no steering wheel and a smooth, low nose." loading="lazy" decoding="async" width="1000" height="750"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: JustAnotherCarDesigner, CC0, via Wikimedia Commons, file dated 19 September 2026. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;On 8 September 2026 Tesla posted a factory video on X. &lt;a href="https://insideevs.com/news/807603/tesla-cybercab-unboxed-production-video/"&gt;InsideEVs&#10;reported&lt;/a&gt;&#10;that it shows the battery box, front section and rear section built at the same&#10;time on parallel lines, then joined at the end, where the side sections, roof and&#10;doors go on. &lt;a href="https://teslanorth.com/2026/09/08/tesla-cybercab-unboxed-line-size"&gt;Tesla North quoted the&#10;post&lt;/a&gt; as saying&#10;the process &amp;ldquo;assembles vehicle modules in parallel &amp;amp; frames the car in one step&#10;at the end&amp;rdquo; and &amp;ldquo;reduces the line size by half&amp;rdquo;. &lt;a href="https://evwire.com/p/tesla-cybercab-unboxed-manufacturing-video"&gt;EVwire&#10;added&lt;/a&gt; that Musk&#10;reposted it, writing: &amp;ldquo;We redesigned Cybercab production for production over 5&#10;times faster than conventional automotive manufacturing!&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;So what can we check? Here is my arithmetic, not Tesla&amp;rsquo;s. An installed capacity of&#10;125,000 cars a year is one car every 4.2 minutes if the line ran non-stop, about&#10;252 seconds. A 10-second cycle would be 3.15 million a year non-stop, which is&#10;the order of the 2 to 3 million Musk mentioned. The gap between those two numbers&#10;is the gap between what is installed in July 2026 and the goal. Tesla&amp;rsquo;s own note&#10;says capacity is not the production rate.&lt;/p&gt;&#10;&lt;p&gt;The nearest thing to an output figure is from outside. &lt;a href="https://electrek.co/2026/07/06/tesla-cybercab-production-before-autonomy/"&gt;Electrek&#10;reported&lt;/a&gt;&#10;on 6 July 2026 that it had seen more than 100 Cybercabs in the factory&amp;rsquo;s outbound&#10;lots. What is not public as of 9 October 2026: a Cybercab output number from&#10;Tesla, a cost per car, a defect or yield figure, or an independent look inside the&#10;line. I did not find an audit or an independent factory study. InsideEVs wrote in&#10;February 2026 that Tesla &amp;ldquo;claimed&amp;rdquo; the benefits, and that Musk&amp;rsquo;s claims should be&#10;taken with a grain of salt.&lt;/p&gt;&#10;&lt;p&gt;One more piece of context. In 2023 the process was tied to a car under $30,000&#10;and a new plant in Monterrey, Mexico (Reuters). By May 2025,&#10;&lt;a href="https://www.automotivemanufacturingsolutions.com/assembly/game-theory-is-teslas-unboxed-process-a-new-production-paradigm/47117.article"&gt;Automotive Manufacturing Solutions&lt;/a&gt;&#10;described that plant as on hold. In October 2025 Tesla&amp;rsquo;s Q3 update showed new&#10;&amp;ldquo;Standard&amp;rdquo; Model 3 and Model Y trims at $36,990 and $39,990. Tesla&amp;rsquo;s July 2025&#10;update ties unboxed to the Cybercab. I found no Tesla statement that the Model Y&#10;or Model 3 lines have moved to it.&lt;/p&gt;&#10;&lt;h2 id="what-critics-and-outside-engineers-say"&gt;What critics and outside engineers say&lt;/h2&gt;&#10;&lt;p&gt;Experts were split when the idea was new in 2023, and I found no newer outside&#10;study that settles it.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/critics.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/critics.svg" alt="Outside experts on unboxed. Concerns: tight timing, mixed models, fit and finish, a saving nearer 33 percent than 50. Support: Büchler calls it revolutionary, and Mwangi says open work eases automation." loading="lazy" decoding="async" width="640" height="624"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The doubts come in four kinds.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Timing and synchronisation.&lt;/strong&gt; Hide Oba, an independent lean consultant who&#10;worked at the Toyota Production System Support Center, told Reuters the system &amp;ldquo;won&amp;rsquo;t work unless production of these big,&#10;high-content unboxed vehicle modules are completely synchronized&amp;rdquo;. If one big&#10;module is late, the whole join waits.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;One line, many models.&lt;/strong&gt; Oba on mixing models: &amp;ldquo;My guess is that&amp;rsquo;s next to&#10;impossible.&amp;rdquo; The S&amp;amp;P Global Mobility analysis of 1 September 2023 repeated the&#10;doubt, with critics asking whether the approach can serve several models in&#10;one plant.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Fit and finish.&lt;/strong&gt; Alex Pischalnikov of Arthur D. Little said a new plant suits&#10;the idea better and flagged fit and finish, crash rating and regulatory risk.&#10;Cory Steuben of Munro &amp;amp; Associates warned of thin castings cracking, hard&#10;fixturing and a steep learning curve with fit and sealing. Tesla&amp;rsquo;s own patent&#10;gives figures to this problem: 9A to 9C show bolt patterns on hinge pillars, and 11A&#10;and 11B show ways to seal corners and edges between sections.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Savings.&lt;/strong&gt; The Bloomberg Intelligence number is 33%. AMS also lists painting&#10;quality, corrosion and attaching modules without damaging interiors as open&#10;technical issues, and it quotes an unnamed German premium maker&amp;rsquo;s production&#10;director saying the method is &amp;ldquo;not compatible with our quality promises&amp;rdquo;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;There is a framing doubt as well. James Womack of MIT, co-author of &lt;em&gt;The Machine&#10;That Changed the World&lt;/em&gt;, says Tesla&amp;rsquo;s method &amp;ldquo;is an assembly process&amp;rdquo;, while&#10;Toyota&amp;rsquo;s is a broader production management system.&lt;/p&gt;&#10;&lt;p&gt;And there is support. Jan-Philipp Büchler, a researcher in Dortmund, called it&#10;&amp;ldquo;revolutionary&amp;rdquo; and said &amp;ldquo;This is much more than modular production&amp;rdquo;. Venkatesh&#10;Prasad of the Center for Automotive Research said questioning habits such as&#10;removing doors for colour matching could cut cost. Charly Mwangi, a former Tesla&#10;manufacturing engineering executive, pointed to &amp;ldquo;delayed 3D&amp;rdquo; assembly: keep the&#10;work open for longer so robots can reach it.&lt;/p&gt;&#10;&lt;p&gt;Ford&amp;rsquo;s version of the shape counts as evidence too. Ford chose three branches&#10;for a new pickup due in 2027. That does not prove Tesla&amp;rsquo;s numbers. It does show&#10;that a large carmaker, with its own plants and its own risks, looked at the same&#10;idea and picked a version of it.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What is Tesla&amp;rsquo;s unboxed process?&lt;/strong&gt;&#10;It builds a car as sections, such as front, rear, sides and a battery floor,&#10;on separate lines at the same time. The sections are finished first and joined&#10;late. Tesla says this needs less floor space and fewer steps than a classic line.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is unboxed the same as gigacasting?&lt;/strong&gt;&#10;No. A gigacasting makes a big part. Unboxed is about the order of work. Tesla&amp;rsquo;s&#10;slide has casting feeding the front, rear and &amp;ldquo;other&amp;rdquo; streams, so the two fit&#10;together, but you could use one without the other.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Tesla build the Model Y this way?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s 2023 slides compare the Model 3 with a &amp;ldquo;Next Gen Vehicle&amp;rdquo;, and the July&#10;2025 update ties unboxed to the Cybercab. I found no Tesla statement that the&#10;Model Y line has moved to it.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Will unboxed halve the cost of a car?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s 50% is a target for a next-generation car, and its slide lists &amp;ldquo;Innovation&#10;&amp;amp; Size&amp;rdquo; as the reason, not only the line. Bloomberg Intelligence estimated 33% for&#10;the process. No one outside Tesla has published Cybercab line costs.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why do doors come off at all?&lt;/strong&gt;&#10;To reach the inside of the car. A door in the way slows a person or a robot&#10;fitting a seat or a dashboard, so the line removes it, then fits it again.&#10;Unboxed paints the door on its own and fits it once, at the end.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-unboxed-manufacturing-process/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-unboxed-manufacturing-process/cheat-sheet.svg" alt="Unboxed on one card: build five sections apart and join them late. Tesla claims over 40 percent less floor space and 50 percent lower cost per car, but Bloomberg Intelligence says about 33 percent." loading="lazy" decoding="async" width="640" height="612"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; the biggest section in this process is the floor, and the floor is the&#10;battery. How do you build a battery pack that holds up the seats and the car?&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/Investor-Day-2023-Keynote"&gt;Investor Day 2023 keynote deck&lt;/a&gt; (169 pages; unboxed on pages 39 to 47, cost target on page 158)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://digitalassets.tesla.com/tesla-contents/image/upload/IR/TSLA-Q2-2025-Update"&gt;Q2 2025 update&lt;/a&gt;, &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q3-2025-Update.pdf"&gt;Q3 2025 update&lt;/a&gt;, &lt;a href="https://assets-ir.tesla.com/tesla-contents/IR/TSLA-Q4-2025-Update.pdf"&gt;Q4 2025 update&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026 update&lt;/a&gt; and &lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026049213/exhibit991.htm"&gt;Q2 2026 update&lt;/a&gt;, as filed with the SEC&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/WO2024182432A1/en"&gt;WO2024182432, Modular vehicle architecture for assembling vehicles&lt;/a&gt;, Tesla, published 6 September 2024&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis and press&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://sg.finance.yahoo.com/news/analysis-tesla-car-making-process-100438352.html"&gt;Reuters analysis, &amp;ldquo;Tesla&amp;rsquo;s new car-making process stokes debate among industry experts&amp;rdquo;&lt;/a&gt;, 15 May 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.assemblymag.com/articles/97788-tesla-rethinks-the-assembly-line"&gt;Assembly magazine, &amp;ldquo;Tesla rethinks the assembly line&amp;rdquo;&lt;/a&gt;, 8 May 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://autotechinsight.spglobal.com/news/5272146/talking-heads-reimagining-production-teslas-unboxed-approach"&gt;S&amp;amp;P Global Mobility, &amp;ldquo;Talking Heads: reimagining production&amp;rdquo;&lt;/a&gt;, 1 September 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.advisorperspectives.com/articles/2024/03/28/teslas-25-000-car-means-tossing-out-the-100-year-old-assembly-line"&gt;Bloomberg (reprint), &amp;ldquo;Tesla&amp;rsquo;s $25,000 car means tossing out the 100-year-old assembly line&amp;rdquo;&lt;/a&gt;, 28 March 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.automotivemanufacturingsolutions.com/assembly/game-theory-is-teslas-unboxed-process-a-new-production-paradigm/47117.article"&gt;Automotive Manufacturing Solutions, &amp;ldquo;Game theory: is Tesla&amp;rsquo;s unboxed process a new production paradigm?&amp;rdquo;&lt;/a&gt;, May 2025&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://goauto.com.au/amp/90449/musk-teases-new-tesla-models-at-investor-day.html"&gt;GoAuto on Investor Day&lt;/a&gt;, 3 March 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2025/11/06/tesla-to-begin-cybercab-production-in-april-musk-claims"&gt;TechCrunch, Cybercab production in April&lt;/a&gt;, 6 November 2025&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/787560/tesla-cybercab-robotaxi-giga-texas-production"&gt;InsideEVs, first Cybercab off the line&lt;/a&gt;, 17 February 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/04/23/tesla-cybercab-production-starts-no-nhtsa-2500-vehicle-cap/"&gt;Electrek, Cybercab production starts&lt;/a&gt;, 23 April 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2026/07/06/tesla-cybercab-production-before-autonomy/"&gt;Electrek, Cybercab production before autonomy&lt;/a&gt;, 6 July 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2026/07/22/tesla-spending-skyrockets-as-cybercab-semi-megapack-production-timeline-slips/"&gt;TechCrunch, Cybercab, Semi and Megapack timelines slip&lt;/a&gt;, 22 July 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/807603/tesla-cybercab-unboxed-production-video/"&gt;InsideEVs, Tesla video of the unboxed Cybercab line&lt;/a&gt;, 9 September 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://teslanorth.com/2026/09/08/tesla-cybercab-unboxed-line-size"&gt;Tesla North, Cybercab unboxed line size&lt;/a&gt;, 8 September 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://evwire.com/p/tesla-cybercab-unboxed-manufacturing-video"&gt;EVwire, Cybercab unboxed manufacturing video&lt;/a&gt;, 9 September 2026&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Other carmakers and history&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.fromtheroad.ford.com/us/en/articles/2025/ford-affordable-electric-vehicle-platform-midsize-electric-truck"&gt;Ford, affordable EV platform and production system&lt;/a&gt;, 11 August 2025&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2025/08/11/ford-throws-out-henry-fords-assembly-line-to-make-low-cost-evs-in-america/"&gt;TechCrunch, Ford&amp;rsquo;s assembly tree&lt;/a&gt;, 11 August 2025&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2023/09/19/toyota-reveals-next-gen-ev-production-line-catch-up-tesla/"&gt;Electrek, Toyota&amp;rsquo;s next-generation line&lt;/a&gt;, 19 September 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://corporate.ford.com/articles/history/moving-assembly-line.html"&gt;Ford, the moving assembly line&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/Body_in_white"&gt;Body in white&lt;/a&gt;, Wikipedia&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>One Casting Instead of 70 Parts: Tesla's Giga Press</title><link>https://loomloops.com/post/tesla-gigacasting-giga-press/</link><pubDate>Sun, 04 Oct 2026 10:15:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/tesla-gigacasting-giga-press/</guid><description>&lt;p&gt;In September 2020 a drone flew over Tesla&amp;rsquo;s Fremont factory and filmed a machine&#10;standing outside the main building. InsideEVs wrote up the video on 10 September&#10;and called it the first view of the new gigacastings&#10;(&lt;a href="https://insideevs.com/news/443371/check-tesla-model-y-gigacastings/"&gt;InsideEVs&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;A few months earlier, SAE&amp;rsquo;s Automotive Engineering had explained what the&#10;machine was for. Tesla wanted to make the rear floor of the Model Y as one&#10;casting. SAE wrote that it would replace around 70 stampings, extrusions and&#10;castings in the Model 3&amp;rsquo;s rear structure, and quoted Musk calling the old&#10;structure &amp;ldquo;a patchwork quilt&amp;rdquo;&#10;(&lt;a href="https://www.mobilityengineeringtech.com/component/content/article/44545"&gt;SAE, 1 June 2020&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;This part follows that casting from liquid metal to body shop. It also checks&#10;the numbers on the way, because &amp;ldquo;about 70 parts&amp;rdquo; is the kind of figure that gets&#10;repeated more often than it gets measured. It comes from SAE&amp;rsquo;s article, not from&#10;a Tesla deck.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 2 of Inside a Tesla. I like the car and the tech, so I researched it to&#10;feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A die casting machine shuts a two-piece steel mould, pours in about 100 kg of&#10;molten aluminium and pushes it into the mould in roughly a tenth of a second.&#10;The Giga Press from IDRA, an Italian machine maker, holds the mould shut with&#10;more than 5,600 tonnes of force.&lt;/li&gt;&#10;&lt;li&gt;SAE reported in 2020 that the Model Y rear casting replaces about 70 parts. An&#10;outside UK study repeats the 70, and I found no Tesla deck or call that states it. Other counts, such as 370, measure other&#10;things.&lt;/li&gt;&#10;&lt;li&gt;Tesla patented an aluminium alloy meant to be used as cast, with no heat&#10;treatment. Tesla&amp;rsquo;s repair manual lets a body shop weld small cracks and bans&#10;repairs in the red zones. A one-piece underbody was reported but not built.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="how-high-pressure-die-casting-works"&gt;How high-pressure die casting works&lt;/h2&gt;&#10;&lt;p&gt;Die casting is an old idea. Make a steel mould, called a die, in two halves. Force&#10;molten metal in, wait until it sets, open the die and take the part out. The&#10;&amp;ldquo;high pressure&amp;rdquo; in the name is real: the metal goes in at somewhere between 10 and&#10;175 megapascals (&lt;a href="https://en.wikipedia.org/wiki/Die_casting"&gt;Wikipedia&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Aluminium is cast on a &amp;ldquo;cold chamber&amp;rdquo; machine. The metal is melted in a separate&#10;furnace, a measured amount is moved into a short tube called the shot sleeve,&#10;and a piston drives it into the die. One trip through the machine looks like this:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/cycle.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/cycle.svg" alt="The die casting cycle in six steps: close the die, pour about 100 kg of aluminium, inject it in 60 to 100 milliseconds, hold and cool, open and eject, then trim and inspect." loading="lazy" decoding="async" width="640" height="556"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Step 3 is the one that matters. Design News reported in August 2021 that a Giga&#10;Press moves about 100 kg of aluminium into the die and fills it in 60 to 100&#10;milliseconds&#10;(&lt;a href="https://www.designnews.com/automotive-engineering/tesla-s-switch-to-giga-press-die-castings-for-model-3-eliminates-370-parts"&gt;Design News&lt;/a&gt;).&#10;It has to be that quick. Aluminium starts to freeze as soon as it touches cold&#10;steel, and the part is a big thin-walled shape. Tesla&amp;rsquo;s alloy patent asks for&#10;metal that can flow at least about 1.8 m in high-pressure casting&#10;(&lt;a href="https://patents.google.com/patent/WO2021150604A1/en"&gt;WO2021150604A1&lt;/a&gt;, claim 4).&lt;/p&gt;&#10;&lt;p&gt;Speed has a cost. Fast filling can trap air in the metal, and a paper on die&#10;casting calls gas-induced porosity &amp;ldquo;the main limitation and important problem&amp;rdquo;&#10;of the process, with pores formed by gas trapped during high-speed injection&#10;(&lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC6947587"&gt;Cao et al., Materials, 2019&lt;/a&gt;).&#10;A pore is a tiny hole inside the metal. One fix is to pump the air out of the&#10;die before the shot. Vacuum-assisted casting is said to reduce porosity and make&#10;heat treating and welding possible&#10;(&lt;a href="https://en.wikipedia.org/wiki/Die_casting"&gt;Wikipedia&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;I could not find a cycle time from Tesla. IDRA&amp;rsquo;s datasheet gives a &amp;ldquo;dry cycling&amp;rdquo;&#10;rate of 1.3 per minute for its 6100 machine&#10;(&lt;a href="https://idragroup.com/sites/default/files/download/gigapress-catalogue-en_0.pdf"&gt;IDRA GIGAPRESS catalogue&lt;/a&gt;).&#10;I read that as the press opening and closing with no metal in it, about 46&#10;seconds. A real cycle adds the spray, the pour and the robot, so it is longer. How&#10;long, nobody outside has published.&lt;/p&gt;&#10;&lt;h2 id="why-the-press-is-so-big"&gt;Why the press is so big&lt;/h2&gt;&#10;&lt;p&gt;Here is the surprise. Once the metal is in, it pushes back. The pressure inside&#10;the die tries to force the two halves apart, and the clamp has to hold them shut.&#10;The sum is simple:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;force to keep the die shut = pressure on the metal x area of the part&#10;40 MPa (400 bar) x 1.5 square metres = 60 MN = about 6,100 tonnes-force&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;A tonne-force is the push of one tonne of weight. IDRA&amp;rsquo;s datasheet makes the same&#10;sum: at 400 bar on the metal, the 6100 model can hold shut a part and runner&#10;system covering up to 15,291 square centimetres, about 1.5 square metres. A&#10;car&amp;rsquo;s rear floor is a big flat shape, so it needs a big clamp.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/anatomy.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/anatomy.svg" alt="A Giga Press from the side, as a schematic: injection unit, shot sleeve, platens, die halves and clamping unit, held by four tie bars. The IDRA 6100 datasheet gives 20.4 m long and 430 tonnes." loading="lazy" decoding="async" width="640" height="412"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The numbers on that drawing come from IDRA&amp;rsquo;s datasheet. SAE described the first&#10;machine in 2020 as 64 feet (19.5 m) long, 17 feet (5.3 m) tall and &amp;ldquo;in excess of&#10;410 tons&amp;rdquo;, with a maximum shot of 104.6 kg&#10;(&lt;a href="https://www.mobilityengineeringtech.com/component/content/article/44545"&gt;SAE&lt;/a&gt;).&#10;The two sources roughly agree on length and weight but not on height, and the datasheet is&#10;undated, so treat the height as approximate.&lt;/p&gt;&#10;&lt;p&gt;Press makers rate machines by clamping force, and IDRA&amp;rsquo;s own range shows how far&#10;the Giga Press stretches it:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/press-tonnage.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/press-tonnage.svg" alt="Bar chart of clamping force in tonnes-force from IDRA catalogues, from 444 for the OL 420 CS to 4,404 for the OL 4200 CS, then Giga 5500 at 5,607 up to Giga 9000 at 9,225." loading="lazy" decoding="async" width="640" height="512"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;IDRA&amp;rsquo;s compact OL CS series tops out at 4,404 tonnes-force in its February 2024&#10;catalogue (&lt;a href="https://idragroup.com/sites/default/files/download/ol-cs-catalogue-en_0.pdf"&gt;IDRA OL CS catalogue&lt;/a&gt;).&#10;The Giga Press line starts above that. News reports give the machines Tesla uses as&#10;5,500 and 6,200 tons (Design News, 2021) and as the 6,100 class (SAE, 2020). Those&#10;are the same family rounded in different ways. Which of the bigger presses casts&#10;which Cybertruck part is reported differently by different outlets, so I leave it&#10;out.&lt;/p&gt;&#10;&lt;p&gt;For scale, here is a 9,000-tonne machine at an IDRA open day in June 2022:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/idra-giga-press-9000t.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/idra-giga-press-9000t.jpg" alt="A 9,000-tonne IDRA Giga Press, OL 9000 CS, with a red moving platen on the left and a white fixed platen on the right. Two men stand in front of it, small against the machine." loading="lazy" decoding="async" width="800" height="1200"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Paul Sladen, CC0, via Wikimedia Commons, 29 June 2022. The Commons&#10;description names the two men as John Stokes of IDRA and Sandy Munro. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Tesla is not alone. Ducker Carlisle, a consultancy, wrote for MOTOR in January 2026&#10;that Tesla is the only high-volume adopter in North America. In the same piece,&#10;machine maker Bühler&amp;rsquo;s Michael Cinelli puts the largest machines at 6,000 to 9,000&#10;tons of locking force. Volvo leads in Europe, and BYD,&#10;Geely/Zeekr, Li, NIO and XPeng use cast modules in Asia&#10;(&lt;a href="http://www.motor.com/2026/01/gigacasting-auto-manufacturing-evs/"&gt;MOTOR, 30 January 2026&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h2 id="what-the-casting-replaces"&gt;What the casting replaces&lt;/h2&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s Model Y has a casting at the rear. In October 2021 InsideEVs relayed an Electrek report that a&#10;former Tesla employee confirmed the bodies in a Q2 2021 financial report photo&#10;use a single front and a single rear casting (&lt;a href="https://insideevs.com/news/538879/tesla-modely-front-rear-castings/"&gt;InsideEVs, 6 October 2021&lt;/a&gt;).&#10;A Tesla patent granted on 23 December 2025 shows both. It describes a front&#10;casting with the wheel wells, bumper mounts and crumple zones, and a back casting&#10;with the rear wheel wells and a transverse strut&#10;(&lt;a href="https://patents.google.com/patent/US12503165B2/en"&gt;US 12,503,165 B2&lt;/a&gt;). In the&#10;drawing below, 110 is the front casting and 115 is the back one:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/us12503165-fig2.png"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/us12503165-fig2.png" alt="A side view of a car body frame from a Tesla patent. Labels 110 and 115 point to the front and back castings, at each end of the body. 105 is the central cab frame." loading="lazy" decoding="async" width="945" height="674"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;US patent 12,503,165 B2, fig. 2. Rotated and cropped. The patent text carries no&#10;copyright notice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The patent says the vehicle frame is made of three main parts: a front cast piece,&#10;a rear cast piece and a central cab frame. It also says the castings remove the&#10;need for much of the spot welding, seam welding, riveting, bolting and gluing that&#10;traditional bodies use. And this is what a gigacast frame part looks like in real&#10;life:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/gigacast-frame-part.jpg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/gigacast-frame-part.jpg" alt="A grey aluminium casting hung on a wall. It is a flat floor panel with two long side rails, a cross member and wheel-arch humps, covered in ribs and bosses." loading="lazy" decoding="async" width="900" height="874"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Votpuske, CC BY 4.0, via Wikimedia Commons, 25 November 2023. The uploader&#10;describes it as part of a Tesla frame made by gigacasting and does not say which&#10;model. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Now the count. Here is what the casting replaces, as SAE reported it:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/before-after.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/before-after.svg" alt="Before and after: about 70 small tiles for the Model 3 rear structure parts, against one casting, the Model Y rear underbody. The count is SAE Automotive Engineering’s wording, June 2020." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Treat every number in that picture as a claim. The 70 is SAE&amp;rsquo;s own wording, in&#10;its 2020 article. It covers the rear casting only, compared with the Model 3&amp;rsquo;s&#10;rear structure. In the same article Musk said the new design would cut the body shop&amp;rsquo;s size by 30%&#10;(&lt;a href="https://www.mobilityengineeringtech.com/component/content/article/44545"&gt;SAE&lt;/a&gt;),&#10;and that &amp;ldquo;we got rid of 300 robots, just with that rear body casting&amp;rdquo;, from a body&#10;line Design News says had roughly 1,000 robots&#10;(&lt;a href="https://www.designnews.com/automotive-engineering/tesla-s-switch-to-giga-press-die-castings-for-model-3-eliminates-370-parts"&gt;Design News&lt;/a&gt;).&#10;I found no outside audit of those two.&lt;/p&gt;&#10;&lt;p&gt;Outside data repeats the 70. Thatcham Research, a UK vehicle research centre,&#10;says the Model Y&amp;rsquo;s rear casting combines about 70 components&#10;(&lt;a href="https://news.thatcham.org/thatcham-research-demonstrates-mega-casting-technology-used-by-tesla-can-be-cheaper-to-repair-than-traditional-structures/"&gt;Thatcham, September 2025&lt;/a&gt;).&#10;That is agreement on a number, not a count of the parts.&lt;/p&gt;&#10;&lt;p&gt;The trouble starts when other numbers join in:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/counts.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/counts.svg" alt="Four part counts that get mixed up: about 70 for the rear casting (SAE, 2020), 370 for the whole architecture (Musk, 2020), over 350 for all megacastings (2026), about 400 for an unbuilt one-piece underbody." loading="lazy" decoding="async" width="640" height="452"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;At Battery Day on 22 September 2020, Musk said &amp;ldquo;10% mass reduction in the body of&#10;the car, 14% range increase, 370 fewer parts&amp;rdquo;. Reading the transcript, those&#10;results came with the whole structural architecture, not the casting alone&#10;(&lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;Battery Day transcript, Rev&lt;/a&gt;).&#10;A year later Design News put 370 in its headline as the saving from two castings.&#10;Ducker Carlisle gives a third figure, more than 350 stamped steel parts removed&#10;by Tesla&amp;rsquo;s megacastings. I use &amp;ldquo;about 70 for the rear casting&amp;rdquo; and nothing bigger.&lt;/p&gt;&#10;&lt;h2 id="the-alloy-that-skips-the-oven"&gt;The alloy that skips the oven&lt;/h2&gt;&#10;&lt;p&gt;A big casting has a second problem after the shot. Metal parts are often heat&#10;treated to make them stronger: heated in an oven, then cooled fast, which is&#10;called quenching. Musk told the Battery Day audience that heat treating a large&#10;casting afterwards &amp;ldquo;tends to deform&amp;rdquo;, and described it as doing &amp;ldquo;this like&#10;potato chip thing&amp;rdquo;. Tesla, he said, developed its own alloy that &amp;ldquo;did not&#10;require coatings or heat treatment&amp;rdquo;&#10;(&lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;transcript&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/alloy.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/alloy.svg" alt="Two routes for a big aluminium casting. Top: cast, heat in an oven, quench. Bottom: cast and use as cast, which Tesla patent WO2021150604A1 claims at 130 MPa yield strength and a 20 degree bend angle." loading="lazy" decoding="async" width="640" height="462"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The patent is &lt;a href="https://patents.google.com/patent/WO2021150604A1/en"&gt;WO2021150604A1&lt;/a&gt;,&#10;&amp;ldquo;Die cast aluminum alloys for structural components&amp;rdquo;. It has a priority date of 22&#10;January 2020 and was published on 29 July 2021. Its first claim describes an alloy&#10;by what it can do, as cast and without further processing:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A &lt;strong&gt;yield strength&lt;/strong&gt; of at least about 130 MPa. Yield strength is the load at&#10;which the metal starts to bend and stay bent.&lt;/li&gt;&#10;&lt;li&gt;A &lt;strong&gt;bend angle&lt;/strong&gt; of at least about 20 degrees at 3 mm thickness. The bend angle&#10;says how far a strip can bend before it cracks.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The patent&amp;rsquo;s reasons for avoiding heat treatment are cost, not just shape. It says&#10;heat treatment can need large capital spending, long process times and can cost&#10;yield, and that large parts are harder to put through quenching. The preferred&#10;example reaches about 143 MPa and about 25 degrees. One claim lists a recipe with&#10;6 to 11 percent silicon and small amounts of copper, manganese, magnesium,&#10;vanadium, strontium, titanium and chromium.&lt;/p&gt;&#10;&lt;p&gt;What I cannot tell you is which alloy is in the cars. A patent shows what Tesla&#10;covered, not what the production line pours, and Tesla has not said. Reuters&#10;reported in 2023 that casting specialists working on a one-piece underbody had&#10;also come up with &amp;ldquo;an after-production heat treatment&amp;rdquo;&#10;(&lt;a href="https://www.ksl.com/article/news/business/gigacasting-20-tesla-reinvents-carmaking-with-quiet-breakthrough/50730353"&gt;Reuters, via KSL&lt;/a&gt;).&#10;That was a different project with anonymous sources, and it sits next to Tesla&amp;rsquo;s&#10;public story, so I show both and do not pick.&lt;/p&gt;&#10;&lt;h2 id="the-one-piece-underbody-that-did-not-happen"&gt;The one-piece underbody that did not happen&lt;/h2&gt;&#10;&lt;p&gt;The casting is big, but it is not the whole floor. The car&amp;rsquo;s underbody is three&#10;pieces: a front casting, a rear casting and a middle section where the battery sits.&#10;Reuters reported in September 2023 that Tesla was trying for more. Five anonymous&#10;sources said it was working on casting nearly the whole underbody in one piece&#10;for a small car, using 3D-printed sand cores for the hollow parts. The sources said&#10;such a part would replace about 400 parts of a conventional car&#10;(&lt;a href="https://www.ksl.com/article/news/business/gigacasting-20-tesla-reinvents-carmaking-with-quiet-breakthrough/50730353"&gt;Reuters, 14 September 2023, via KSL&lt;/a&gt;).&#10;People call this &amp;ldquo;unicasting&amp;rdquo;. Reuters does not use that word.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/three-pieces.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/three-pieces.svg" alt="Three pieces or one. Tesla builds a front casting, a middle battery section and a rear casting. Reuters reported a one-piece underbody in 2023 and said in 2024 it was halted." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;On 1 May 2024 Reuters reported that Tesla had stopped. Two sources said it&#10;decided in autumn 2023 to halt the one-piece effort and keep the three-piece&#10;method used for the Model Y and Cybertruck. One said suppliers were adapting the&#10;three-piece process for the next car. Tesla did not respond&#10;(&lt;a href="https://www.cnbc.com/2024/05/01/tesla-retreats-from-next-generation-gigacasting-manufacturing-process.html"&gt;CNBC carrying the Reuters report&lt;/a&gt;).&#10;One analyst, Terry Woychowski of Caresoft Global, put it this way: &amp;ldquo;Would they&#10;rather have done it all in one big piece? Sure, they would&amp;rsquo;ve, but at what cost?&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;The idea itself is not new. A Tesla patent application filed in January 2018,&#10;&lt;a href="https://patents.google.com/patent/US20190217380A1/en"&gt;US 2019/0217380&lt;/a&gt;,&#10;describes a casting machine with a central hub and several die parts that slide in&#10;from different directions to form a whole frame. Google Patents lists it as&#10;abandoned in November 2020 after no reply to an office action, and warns that its&#10;status field is an assumption, not a legal finding. So the dream was on paper two&#10;years before the Giga Press showed up outside Fremont. It stayed on paper.&lt;/p&gt;&#10;&lt;h2 id="what-happens-when-it-cracks"&gt;What happens when it cracks&lt;/h2&gt;&#10;&lt;p&gt;A casting that large raises an obvious worry. Welded steel can be cut and patched&#10;a piece at a time. A single casting cannot. Tesla&amp;rsquo;s own answer is in its public&#10;collision repair manual&#10;(&lt;a href="https://service.tesla.com/docs/BodyRepair/Body_Repair_Procedures/Model_Y/HTML/en-us/GUID-0ACD3001-0249-402D-84F8-A6076E8E3B09.html"&gt;Model Y cast rear underbody guideline&lt;/a&gt;).&#10;It splits the casting into colour zones, and the rule depends on the colour:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/repair-zones.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/repair-zones.svg" alt="Tesla’s repair rules for the Model Y rear casting by colour zone: small cracks can be welded in the blue, green, yellow and orange zones, and the red zone allows no repair. Heat is never used to straighten." loading="lazy" decoding="async" width="640" height="538"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Two more rules sit outside the table. Heat is never used to straighten bent&#10;metal. And damage that crosses zones needs Tesla Collision Repair&amp;rsquo;s approval before&#10;any work starts. The reinforcement plates are not welded: the manual has the shop&#10;glue them with structural adhesive and clamp them. The manual also says that cars&#10;with a two-piece rear underbody follow a different guideline.&lt;/p&gt;&#10;&lt;p&gt;Does it work in a crash? Thatcham ran a two-year study at its Berkshire site, with&#10;the Allianz Centre for Technology in Germany, and published it in September 2025.&#10;&lt;a href="https://www.repairerdrivennews.com/2025/09/18/study-on-tesla-model-y-finds-mega-casting-can-lower-repair-costs/"&gt;Repairer Driven News&lt;/a&gt;&#10;carried the numbers:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Test&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Result&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Crash at 15 km/h&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No structural damage to the casting. Car repaired without touching it&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Crash at 25 km/h&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cracking and misalignment. The whole casting was replaced&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Replacement casting&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;£716&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Replaceable cast rear rail&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;£31 each&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Partial replacement, against the Model 3&amp;rsquo;s steel rear&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;£2,167 cheaper&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Full replacement&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;£519 saved (the report gives no comparison for this one)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;So outside data says the casting can be cheaper to fix than steel, even when a&#10;crash breaks it. The caveats are in the same report. Welding must be done at&#10;Tesla-approved sites, which may mean moving a car between repair centres. Big&#10;irregular parts are hard for small body shops to handle. Thatcham wants clearer&#10;non-destructive testing, and says the result depends on the maker selling&#10;reasonably priced replacement parts. The full report is open to Thatcham members&#10;only.&lt;/p&gt;&#10;&lt;p&gt;The long-term picture is open. In February 2024 Ducker Carlisle said the effects of&#10;ageing on megacastings were unknown. It had found one reported crack after&#10;production: an owner reported a &amp;ldquo;sizable&amp;rdquo; crack in the front casting of a Model Y two months after&#10;delivery with no collision, and said it would take years to know whether that was&#10;an isolated case. It also said replacing a megacasting is &amp;ldquo;nearly impossible&amp;rdquo;&#10;unless the part is designed with repair zones&#10;(&lt;a href="https://www.repairerdrivennews.com/2024/02/22/megacasting-long-term-durability-unknown-costly-barriers-to-widespread-use/"&gt;Repairer Driven News, 22 February 2024&lt;/a&gt;).&#10;Tesla&amp;rsquo;s zones, and Thatcham&amp;rsquo;s tests, are an answer to that worry. They are not a&#10;proof about year ten.&lt;/p&gt;&#10;&lt;p&gt;The wider industry is split on the bet. Automotive Manufacturing Solutions reported&#10;in August 2025 that a defective megacasting can make a whole structural assembly&#10;unusable, where a bad stamping spoils only itself. Volvo expects one casting to&#10;replace around 100 stamped parts, while BMW and Stellantis are quoted as not&#10;seeing the economic case&#10;(&lt;a href="https://www.automotivemanufacturingsolutions.com/editors-pick/production-minimalism-how-megacasting-is-reshaping-automotive-manufacturing/660564"&gt;Automotive Manufacturing Solutions&lt;/a&gt;).&#10;Ducker Carlisle adds that each die costs &amp;ldquo;several million dollars&amp;rdquo; and that makers&#10;need X-ray or CT scanners to inspect the parts.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;What is a Giga Press?&lt;/strong&gt;&#10;It is a very large high-pressure die casting machine made by IDRA, an Italian&#10;company. IDRA&amp;rsquo;s catalogue lists Giga Press models from 5,607 to 9,225&#10;tonnes-force of clamping force. The first ones at Tesla were in the 6,100 class.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How many parts does the Model Y rear casting replace?&lt;/strong&gt;&#10;SAE reported about 70 in 2020, comparing it with the Model 3 rear structure.&#10;Thatcham repeated about 70 in September 2025. I found no Tesla deck or call that&#10;states the number. The figure 370 includes the&#10;structural battery pack, so it is not the same thing.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Tesla heat treat its castings?&lt;/strong&gt;&#10;Tesla says it developed an alloy that does not need heat treatment, and a Tesla&#10;patent describes one. Tesla has not said which alloy the cars use, so the&#10;production process is not public.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can a Tesla casting be repaired?&lt;/strong&gt;&#10;Small cracks, yes, in the right zones: up to 50 mm in green, up to 30 mm in yellow&#10;and orange, with a bonded plate in some cases. Red zones allow no repair, and bigger&#10;damage means Tesla approval or a new casting.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is a Tesla&amp;rsquo;s whole body one casting?&lt;/strong&gt;&#10;No. Tesla builds the underbody in three pieces, with front and rear castings and a&#10;middle section. Reuters reported that a one-piece underbody was tried and dropped.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/tesla-gigacasting-giga-press/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/tesla-gigacasting-giga-press/cheat-sheet.svg" alt="Giga Press cheat sheet: presses give 5,607 to 9,225 tonnes-force, the alloy works as cast, about 70 parts become one, and Tesla kept three underbody pieces. Thatcham found no damage at 15 km/h." loading="lazy" decoding="async" width="640" height="530"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; the biggest parts of the car are now single pieces. So why not build the&#10;car in big chunks as well, instead of one long line of workers and robots? Part 3&#10;looks at Tesla&amp;rsquo;s &amp;ldquo;unboxed&amp;rdquo; plan: what Tesla said, and what is known so far.&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://service.tesla.com/docs/BodyRepair/Body_Repair_Procedures/Model_Y/HTML/en-us/GUID-0ACD3001-0249-402D-84F8-A6076E8E3B09.html"&gt;Model Y collision repair: cast rear underbody guidelines&lt;/a&gt;, Tesla Service&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;Battery Day 2020 transcript&lt;/a&gt;, a third-party transcript of Tesla&amp;rsquo;s 22 September 2020 event&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/WO2021150604A1/en"&gt;WO2021150604A1, die cast aluminum alloys for structural components&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US12503165B2/en"&gt;US 12,503,165 B2, integrated energy absorbing castings&lt;/a&gt;, also as the &lt;a href="https://image-ppubs.uspto.gov/dirsearch-public/print/downloadPdf/12503165"&gt;USPTO PDF&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/US20190217380A1/en"&gt;US 2019/0217380 A1, multi-directional unibody casting machine&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Machine maker&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://idragroup.com/sites/default/files/download/gigapress-catalogue-en_0.pdf"&gt;IDRA GIGAPRESS catalogue&lt;/a&gt; and &lt;a href="https://idragroup.com/sites/default/files/download/ol-cs-catalogue-en_0.pdf"&gt;OL CS catalogue&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Papers&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC6947587"&gt;Cao et al., Effect of Flow State of Pure Aluminum and A380 Alloy on Porosity of High Pressure Die Castings, Materials, 2019&lt;/a&gt; (CC BY 4.0)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.mobilityengineeringtech.com/component/content/article/44545"&gt;Tesla Casts a New Strategy for Lightweight Structures&lt;/a&gt;, SAE Automotive Engineering, 1 June 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/443371/check-tesla-model-y-gigacastings/"&gt;Here Are The Tesla Model Y Gigacastings&lt;/a&gt;, InsideEVs, 10 September 2020&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.designnews.com/automotive-engineering/tesla-s-switch-to-giga-press-die-castings-for-model-3-eliminates-370-parts"&gt;Tesla&amp;rsquo;s Switch to Giga Press Die Castings Eliminates 370 Parts&lt;/a&gt;, Design News, 13 August 2021&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://insideevs.com/news/538879/tesla-modely-front-rear-castings/"&gt;Tesla Begins Industry-First Model Y Front and Rear Castings&lt;/a&gt;, InsideEVs, 6 October 2021&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ksl.com/article/news/business/gigacasting-20-tesla-reinvents-carmaking-with-quiet-breakthrough/50730353"&gt;Gigacasting 2.0: Tesla reinvents carmaking&lt;/a&gt;, Reuters via KSL, September 2023&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.cnbc.com/2024/05/01/tesla-retreats-from-next-generation-gigacasting-manufacturing-process.html"&gt;Tesla retreats from next-generation gigacasting&lt;/a&gt;, CNBC, 1 May 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.repairerdrivennews.com/2024/02/22/megacasting-long-term-durability-unknown-costly-barriers-to-widespread-use/"&gt;Megacasting long-term durability unknown&lt;/a&gt;, Repairer Driven News, 22 February 2024&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://news.thatcham.org/thatcham-research-demonstrates-mega-casting-technology-used-by-tesla-can-be-cheaper-to-repair-than-traditional-structures/"&gt;Thatcham Research: mega casting can be cheaper to repair&lt;/a&gt; and the &lt;a href="https://www.repairerdrivennews.com/2025/09/18/study-on-tesla-model-y-finds-mega-casting-can-lower-repair-costs/"&gt;Repairer Driven News report&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.automotivemanufacturingsolutions.com/editors-pick/production-minimalism-how-megacasting-is-reshaping-automotive-manufacturing/660564"&gt;Production minimalism: how megacasting is reshaping automotive manufacturing&lt;/a&gt;, Automotive Manufacturing Solutions, 28 August 2025&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://www.motor.com/2026/01/gigacasting-auto-manufacturing-evs/"&gt;Gigacasting: the next big idea in automotive manufacturing?&lt;/a&gt;, Ducker Carlisle for MOTOR, 30 January 2026&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/Die_casting"&gt;Die casting&lt;/a&gt;, Wikipedia&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Inside a Tesla: A Computer That Happens to Have Wheels</title><link>https://loomloops.com/post/how-a-tesla-is-built-and-drives-itself/</link><pubDate>Thu, 01 Oct 2026 08:30:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-a-tesla-is-built-and-drives-itself/</guid><description>&lt;p&gt;On 12 December 2023, Tesla sent a recall report to US regulators. It covered&#10;2,031,220 cars: Model S, X, 3 and Y built up to 7 December 2023 with a&#10;driver-assist feature called Autosteer. The report says the fix is &amp;ldquo;an&#10;over-the-air software remedy&amp;rdquo;, at no cost to customers, expected to start&#10;reaching cars &amp;ldquo;on or shortly after December 12, 2023&amp;rdquo;, as software version&#10;2023.44.30&#10;(&lt;a href="https://static.nhtsa.gov/odi/rcl/2023/RCLRPT-23V838-8276.PDF"&gt;NHTSA report 23V-838&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The fix did not need a workshop. It was a software release sent to the car. What&#10;the recall was about is a story for later in this series. What matters here is&#10;the delivery. A car you can patch from a server is not built like a car from 1995.&lt;/p&gt;&#10;&lt;p&gt;So what is inside one? I took the 2025 Model Y as the example and went looking&#10;for the parts of the story that Tesla and outsiders have actually written down.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Part 1 of Inside a Tesla. I like the car and the tech, so I researched it to&#10;feed my own curiosity; not affiliated with Tesla, not investment advice.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A 2025 Model Y is six layers: a cast aluminium rear body, a battery that is part&#10;of the structure, wiring and controllers, cameras, a computer, and software&#10;that Tesla can change after the sale.&lt;/li&gt;&#10;&lt;li&gt;Tesla publishes a lot (decks, patents, repair manuals), but its headline&#10;numbers are claims. Every claim in this series is labelled: Tesla says,&#10;regulator, or outside analysis.&lt;/li&gt;&#10;&lt;li&gt;On 1 October 2026 Tesla still builds the Model 3, Model Y and Cybertruck. The&#10;Model S and X lines are gone, and the Cybercab has started production. Parts 2&#10;to 5 cover how the car is made. Parts 6 to 12 cover how it sees and decides.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="why-i-am-writing-this"&gt;Why I am writing this&lt;/h2&gt;&#10;&lt;p&gt;Tesla leaves a long public trail: patents, a service manual that anyone can&#10;open, quarterly updates filed with the US stock regulator, and long talks with&#10;slides. A curious person can read all of it. That is what I did, and this series&#10;is the result.&lt;/p&gt;&#10;&lt;p&gt;Three rules keep it honest.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/claim-labels.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/claim-labels.svg" alt="The three source labels used in this series: Tesla says, regulator and outside analysis. When two sources disagree the post shows both numbers." loading="lazy" decoding="async" width="640" height="384"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The series is about technology only. It does not cover the company&amp;rsquo;s owners,&#10;share price or politics. Numbers that change over time carry their date. And&#10;everything in this part is as of 1 October 2026: I use nothing published after&#10;that day.&lt;/p&gt;&#10;&lt;h2 id="the-car-as-a-map"&gt;The car as a map&lt;/h2&gt;&#10;&lt;p&gt;Here is the whole car in one picture. The next six sections follow the numbers.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/car-layers.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/car-layers.svg" alt="The 2025 Tesla Model Y in six layers: a one-piece aluminium rear underbody casting, a structural battery pack, controllers and wires, eight cameras, a computer that decides, and over-the-air updates." loading="lazy" decoding="async" width="640" height="540"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The car itself changed in January 2025. Electrek&amp;rsquo;s write-up of the&#10;&lt;a href="https://electrek.co/2025/01/09/this-is-the-refreshed-model-y-just-unveiled-in-China/"&gt;refreshed Model Y&lt;/a&gt;,&#10;shown in China on 9 January 2025, lists a light bar across the nose, acoustic glass,&#10;a rear-seat screen, a new front bumper camera, and no gear stalk.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/model-y-2025.jpg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/model-y-2025.jpg" alt="A white 2025 Tesla Model Y in a showroom, seen from the front left. It has a thin light bar across the nose instead of headlights." loading="lazy" decoding="async" width="1100" height="824"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Dllu, &lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA 4.0&lt;/a&gt;, via Wikimedia Commons, taken 3 March 2025. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;h3 id="1-body-the-rear-is-one-casting"&gt;1. Body: the rear is one casting&lt;/h3&gt;&#10;&lt;p&gt;Most cars are stamped from sheet steel, then welded. Tesla instead pours molten&#10;aluminium into a die under huge pressure. The machine is an IDRA &amp;ldquo;Giga Press&amp;rdquo;,&#10;described by SAE&amp;rsquo;s Automotive Engineering in June 2020 as about 64 feet long and&#10;17 feet tall. The same article reports that the Model Y&amp;rsquo;s rear underbody casting&#10;stands in for around 70 stampings, extrusions and castings of the Model 3&amp;rsquo;s rear&#10;structure&#10;(&lt;a href="https://www.mobilityengineeringtech.com/component/content/article/44545"&gt;SAE, 1 June 2020&lt;/a&gt;).&#10;The 70 is SAE&amp;rsquo;s reporting, not a Tesla statement. Musk, quoted there, called the&#10;old structure &amp;ldquo;a patchwork quilt&amp;rdquo; and said the new casting &amp;ldquo;has no CNC machining -&#10;it doesn&amp;rsquo;t even have datums.&amp;rdquo; Those two lines are Tesla&amp;rsquo;s claim, made through&#10;Musk.&lt;/p&gt;&#10;&lt;p&gt;Outside data repeats the 70 and adds a catch about repairs. Thatcham Research, a&#10;UK vehicle research centre, ran a two-year study of the Model Y rear casting,&#10;&lt;a href="https://www.repairerdrivennews.com/2025/09/18/study-on-tesla-model-y-finds-mega-casting-can-lower-repair-costs/"&gt;reported on 18 September 2025&lt;/a&gt;.&#10;The report on it says the casting folds about 70 components into one. At 15 km/h&#10;the casting took no structural damage. At 25 km/h it cracked and needed full&#10;replacement. Even so, Thatcham found the casting cheaper to fix. A partial&#10;replacement cost £2,167 less than the Model 3&amp;rsquo;s multi-part steel rear, and a full&#10;replacement cost £519 less than the traditional repair, with the replacement&#10;casting itself priced at £716. The catch: welding&#10;repairs must be done at Tesla-approved sites, and the full report is open to&#10;Thatcham members only.&lt;/p&gt;&#10;&lt;p&gt;Tesla&amp;rsquo;s own repair manual explains why. It splits the casting into colour zones&#10;(&lt;a href="https://service.tesla.com/docs/BodyRepair/Body_Repair_Procedures/Model_Y/HTML/en-us/GUID-0ACD3001-0249-402D-84F8-A6076E8E3B09.html"&gt;Model Y collision repair manual&lt;/a&gt;).&#10;In a green zone, a weld repair up to 50 mm is allowed. In a yellow zone, up to 30&#10;mm, or up to 50 mm with a bonded reinforcement plate. In a red zone: &amp;ldquo;Welding is&#10;not allowed.&amp;rdquo; Heat is never allowed to straighten the metal. Part 2 explains why&#10;the alloy matters here. A Tesla patent, &lt;a href="https://patents.google.com/patent/WO2021150604A1/en"&gt;WO2021150604A1&lt;/a&gt;,&#10;describes an aluminium alloy meant to work &amp;ldquo;as-cast and without further&#10;processing&amp;rdquo;, with a yield strength of at least about 130 MPa. I did not find&#10;Tesla saying which alloy the cars use.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/giga-texas.jpg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/giga-texas.jpg" alt="A long grey concrete factory building with a band of windows, seen from a road across a grass verge. It is Building 1 of Tesla’s Gigafactory Texas, near Austin." loading="lazy" decoding="async" width="1280" height="720"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Larry D. Moore, &lt;a href="https://creativecommons.org/licenses/by/4.0/"&gt;CC BY 4.0&lt;/a&gt;, via Wikimedia Commons, June 2022. Resized. Building 1 of Giga Texas; Tesla&amp;rsquo;s Q2 2026 update lists Model Y production in Texas.&lt;/em&gt;&lt;/p&gt;&#10;&lt;h3 id="2-floor-the-battery-is-part-of-the-structure"&gt;2. Floor: the battery is part of the structure&lt;/h3&gt;&#10;&lt;p&gt;Normally a battery pack is a box bolted under the car. Tesla&amp;rsquo;s pitch is that the&#10;pack is part of the body. At its Battery Day event on 22 September 2020, Musk&#10;said the battery would be &amp;ldquo;an energy device and as structure&amp;rdquo;, with a filler that&#10;is &amp;ldquo;a structural adhesive, as well as flame-retardant&amp;rdquo; and &amp;ldquo;effectively glues the&#10;cells to the top and bottom sheet&amp;rdquo;. His summary of the gain: &amp;ldquo;10% mass reduction&#10;in the body of the car, 14% range increase, 370 fewer parts&amp;rdquo;&#10;(&lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;transcript, Rev&lt;/a&gt;).&#10;Those were 2020 targets, not results. Tesla also gave &amp;ldquo;five times the energy with&#10;six times the power&amp;rdquo; for its new 4680 cell, and a 16% range gain &amp;ldquo;just form&#10;factor alone&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;What came true? Tesla&amp;rsquo;s January 2026 update says it now produces dry electrode&#10;for 4680 cells, anode and cathode, in Austin and has &amp;ldquo;begun to produce battery&#10;packs for certain Model Ys with our 4680 cells&amp;rdquo;&#10;(&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Q4 2025 update&lt;/a&gt;).&#10;Read the words: certain Model Ys, not all. The April 2026 update lists Texas 4680&#10;capacity at 40 GWh, and warns that production rates depend on &amp;ldquo;equipment uptime,&#10;component supply, downtime related to factory upgrades&amp;rdquo;&#10;(&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026 update&lt;/a&gt;).&#10;So 40 GWh is what the plant can do, not what it did. Part 4 digs into the numbers.&lt;/p&gt;&#10;&lt;h3 id="3-wiring-fewer-wires-smarter-controllers"&gt;3. Wiring: fewer wires, smarter controllers&lt;/h3&gt;&#10;&lt;p&gt;A car carries power and data to every corner. In an old design, hundreds of wires&#10;run to one place. Tesla has been pushing controllers out into the car and linking&#10;the fast ones with a network it calls the etherloop. Pete Bannon, Tesla&amp;rsquo;s director&#10;of low-voltage electronics and hardware engineering, told Assembly magazine that&#10;the Cybertruck has 155 wires against 490 in a Model 3, even though it has more&#10;endpoints (368 against 273)&#10;(&lt;a href="https://www.assemblymag.com/articles/98504-teslas-new-cybertruck-features-modular-wiring"&gt;Assembly, 26 April 2024&lt;/a&gt;).&#10;That is a Tesla engineer&amp;rsquo;s claim about a different vehicle. I could not find&#10;Tesla giving a wire count for the Model Y, so I will not guess one. Part 5 covers&#10;the Cybertruck&amp;rsquo;s 48-volt system, the heat-pump valve and what is known about the&#10;Model Y.&lt;/p&gt;&#10;&lt;h3 id="4-cameras-the-car-sees-with-eight"&gt;4. Cameras: the car sees with eight&lt;/h3&gt;&#10;&lt;p&gt;Tesla stopped fitting radar to North American Model 3 and Model Y cars in May&#10;2021. Tesla&amp;rsquo;s FAQ at the time said: &amp;ldquo;Transitioning them to Tesla Vision first&#10;allows us to analyze a large volume of real-world data in a short amount of time&amp;rdquo;&#10;(&lt;a href="https://techcrunch.com/2021/05/25/tesla-is-no-longer-using-radar-sensors-in-model-3-and-model-y-vehicles-built-in-north-america"&gt;TechCrunch, 25 May 2021&lt;/a&gt;).&#10;From October 2022 it stopped fitting the 12 ultrasonic parking sensors to the&#10;Model 3 and Y, replacing their job with what it called a &amp;ldquo;vision-based occupancy&#10;network&amp;rdquo;&#10;(&lt;a href="https://techcrunch.com/2022/10/04/tesla-is-now-building-model-3-and-model-y-vehicles-without-ultrasonic-sensors"&gt;TechCrunch, 4 October 2022&lt;/a&gt;).&#10;Electrek&amp;rsquo;s list of changes in the 2025 car does not mention either one coming back.&lt;/p&gt;&#10;&lt;p&gt;The 2025 car adds a camera in the front bumper. Tesla said it &amp;ldquo;provides a wider&#10;field of view for automatic assisted driving and advanced Smart Summon&amp;rdquo;, and Drive&#10;Tesla Canada counted &amp;ldquo;a total of 8 on-board cameras&amp;rdquo; once it was added&#10;(&lt;a href="https://driveteslacanada.ca/news/tesla-adds-front-camera-to-new-model-y/"&gt;Drive Tesla Canada, 11 January 2025&lt;/a&gt;).&#10;That is the same total as on earlier cars, which NotATeslaApp also describes as&#10;having eight surround cameras&#10;(&lt;a href="https://www.notateslaapp.com/news/3521/how-teslas-fsd-hardware-has-changed-over-the-years"&gt;NotATeslaApp&lt;/a&gt;).&#10;So adding a camera in front means the layout changed somewhere else. I could not&#10;confirm where. Tesla&amp;rsquo;s own pages would not load for my research tool, so the&#10;count and the layout change are outside reporting, not Tesla&amp;rsquo;s word. Part 6 takes&#10;the cameras one by one.&lt;/p&gt;&#10;&lt;h3 id="5-computer-the-chip-behind-the-pictures"&gt;5. Computer: the chip behind the pictures&lt;/h3&gt;&#10;&lt;p&gt;Eight video streams need something to chew on. At Tesla&amp;rsquo;s Autonomy Day on 22 April&#10;2019, the company showed its own computer for the job. TechCrunch reported two&#10;identical compute units on one board, made by Samsung on a 14 nm process in Texas&#10;(&lt;a href="https://techcrunch.com/2019/04/22/tesla-vaunts-creation-of-the-best-chip-in-the-world-for-self-driving/"&gt;TechCrunch, 22 April 2019&lt;/a&gt;).&#10;The headline claim was 144 TOPS (trillions of operations per second). A&#10;chip-design blog at Cadence says the figure includes the second, redundant unit,&#10;so about half is available for driving&#10;(&lt;a href="https://community.cadence.com/cadence_blogs_8/b/breakfast-bytes/posts/tesla"&gt;Cadence&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The power numbers look like a conflict but fit together. TechCrunch wrote that&#10;the whole computer &amp;ldquo;runs on about 100 watts&amp;rdquo;. Cadence lists &amp;ldquo;Power less than 100W&amp;rdquo;&#10;as the design goal, and says the main chip logic &amp;ldquo;runs at 72W&amp;rdquo; and the neural&#10;network accelerator at 15 W, &amp;ldquo;so they made their 100W goal&amp;rdquo;. Cadence does not say&#10;whether the 72 W covers one chip or both. Part 7 looks at that.&lt;/p&gt;&#10;&lt;p&gt;The 2025 Model Y has the newer generation, called AI4 or HW4. Tesla does not, as&#10;far as I found, publish its speed. NotATeslaApp puts it near 500 TOPS, with about&#10;5 megapixel cameras, and does not credit that to Tesla. The next chip is AI5. In&#10;January 2026 Tesla said it was &amp;ldquo;targeting a 50x improvement in performance for AI5&#10;relative to AI4&amp;rdquo;, with production planned for 2027&#10;(&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Q4 2025 update&lt;/a&gt;).&#10;In April it said it had &amp;ldquo;completed the final chip design&amp;rdquo; of AI5&#10;(&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026 update&lt;/a&gt;).&#10;By Tesla&amp;rsquo;s own plan, then, AI5 is not in the cars on sale today. That last step&#10;is my reading of its dates, not a Tesla statement.&lt;/p&gt;&#10;&lt;h3 id="6-software-the-car-you-buy-is-not-the-car-you-keep"&gt;6. Software: the car you buy is not the car you keep&lt;/h3&gt;&#10;&lt;p&gt;The screen in the middle of the dash is the car&amp;rsquo;s face. The photo below shows no&#10;gauge cluster behind the wheel; speed and settings live on that one screen.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/model-y-2025-interior.jpg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/model-y-2025-interior.jpg" alt="The interior of a 2025 Tesla Model Y, showing a steering wheel with no stalks, a single central touchscreen showing a red car and a map, and a thin blue light strip across the dash." loading="lazy" decoding="async" width="1100" height="733"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;em&gt;Photo: Ethan Llamas, &lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;CC BY-SA 4.0&lt;/a&gt;, via Wikimedia Commons, taken 29 March 2025 in a Tesla store in Bonifacio Global City. Resized.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Back to the recall. The same NHTSA report says cars in production got the fix&#10;from midday on 7 December 2023, so new cars came off the line already patched.&#10;Cars already sold got it over the air. The software change added alerts and&#10;checks around Autosteer. NBC Bay Area&amp;rsquo;s report adds that the remaining cars&#10;would get it &amp;ldquo;at a later date&amp;rdquo;&#10;(&lt;a href="https://www.nbcbayarea.com/news/business/money-report/tesla-rolls-out-software-fix-after-regulators-recall-more-than-2-million-cars-over-autopilot-defect/3396767/"&gt;NBC Bay Area, 13 December 2023&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Driver-assist software is also a product. Tesla&amp;rsquo;s Q2 2026 update says active&#10;subscriptions to FSD (Supervised) stood at 1.48 million in the second quarter, counting upfront payments&#10;and monthly plans and leaving out free trials&#10;(&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026049213/exhibit991.htm"&gt;Q2 2026 update&lt;/a&gt;).&#10;Tesla&amp;rsquo;s own footnote on the feature reads: &amp;ldquo;Active driver supervision required;&#10;does not make the vehicle autonomous&amp;rdquo;&#10;(&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Q4 2025 update&lt;/a&gt;).&#10;That is the starting point for Parts 10 to 12.&lt;/p&gt;&#10;&lt;h2 id="how-many-cars-is-that"&gt;How many cars is that?&lt;/h2&gt;&#10;&lt;p&gt;All of this is built at scale. Tesla&amp;rsquo;s Q2 2026 update lists Model 3 production&#10;in California and Shanghai, and Model Y production in California, Shanghai, Berlin and&#10;Texas. It does not split the numbers by model, so here are all models together:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/production-chart.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/production-chart.svg" alt="Bar chart of Tesla vehicles built and delivered per quarter, in thousands. Q1 2025: 363 built, 337 delivered. Q2 2026: 452 and 480. Source: Tesla quarterly updates filed with the SEC." loading="lazy" decoding="async" width="640" height="460"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Adding the four 2025 quarters gives 1,654,667 cars built and 1,636,129 delivered.&#10;That sum is my arithmetic from Tesla&amp;rsquo;s tables. Deliveries beat production in&#10;Q3 2025 and Q2 2026, and fell short in the other four quarters.&lt;/p&gt;&#10;&lt;p&gt;The lowest bar for cars built is Q1 2025. Tesla&amp;rsquo;s April 2025 update ties that&#10;quarter to the new Model Y: &amp;ldquo;switchover of production lines for the New Model Y&#10;resulted in several weeks of lost production&amp;rdquo;. It also says the Shanghai Model Y&#10;factory &amp;ldquo;fully ramped production in six weeks, our quickest ramp of any vehicle&#10;ever&amp;rdquo;, and that this approach &amp;ldquo;will result in achieving less cost reduction than&#10;previously expected&amp;rdquo;&#10;(&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828025018851/exhbit991.htm"&gt;Q1 2025 update&lt;/a&gt;).&#10;Both halves are Tesla&amp;rsquo;s words: a quick ramp, and a smaller saving than planned.&lt;/p&gt;&#10;&lt;h2 id="what-tesla-builds-on-1-october-2026"&gt;What Tesla builds on 1 October 2026&lt;/h2&gt;&#10;&lt;p&gt;The lineup moved a lot in the 21 months before this post&amp;rsquo;s date.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/lineup-timeline.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/lineup-timeline.svg" alt="Tesla lineup timeline, January 2025 to September 2026: new Model Y, Standard trims in October 2025, last Model S and X built in May 2026, and Cybercab production beginning in Q2 2026." loading="lazy" decoding="async" width="640" height="504"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Product&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;State on 1 Oct 2026&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Model 3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;In production in California and Shanghai. A Standard version from Oct 2025&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update; TechCrunch&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Model Y&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;In production at four factories. Standard (Oct 2025), Model Y L in the US (Jul 2026)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update; TechCrunch&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Model S and X&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Ended. Tesla says the Fremont lines are decommissioned&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update; Jalopnik&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cybertruck&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;In production in Texas; installed capacity above 125,000 a year&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cybercab&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Production began at Giga Texas; dozens of cars on Austin streets from 3 Sep 2026, at an invitation-only event&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update; Texas Tribune&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Semi&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Commissioning in Nevada; &amp;ldquo;on track for production this year&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Roadster&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Design development&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Optimus (a robot, not a car)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;First production lines being installed&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Tesla Q2 2026 update&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Two cautions. &amp;ldquo;Installed capacity&amp;rdquo; is what a factory can do, not what it does.&#10;And the Model S and X story has two dates: Jalopnik says Musk announced the end on&#10;a January call, and that the last cars were built the weekend before 15 May 2026&#10;(&lt;a href="https://www.jalopnik.com/2173749/last-tesla-model-s-and-model-x-off-production-line/"&gt;Jalopnik&lt;/a&gt;).&#10;The Model Y Standard started at $39,990 in the US, with a 321-mile estimate&#10;and a long list of cuts, among them no light bar, no glass roof and no rear-seat&#10;screen (&lt;a href="https://techcrunch.com/2025/10/07/tesla-reveals-slightly-cheaper-standard-versions-of-the-model-3-and-model-y"&gt;TechCrunch, 7 October 2025&lt;/a&gt;).&#10;On 3 September 2026 &amp;ldquo;dozens&amp;rdquo; of Cybercabs went onto Austin streets at an&#10;invitation-only launch event. The cars have no steering wheel or brake pedals. The&#10;article gives no date for rides open to the public&#10;(&lt;a href="https://www.texastribune.org/2026/09/03/tesla-elon-musk-autonomous-cybercabs-launch-austin/"&gt;Texas Tribune, 3 September 2026&lt;/a&gt;).&lt;/p&gt;&#10;&lt;h2 id="where-the-series-goes"&gt;Where the series goes&lt;/h2&gt;&#10;&lt;p&gt;Here is the plan for the twelve parts. The first half is how the car is made.&#10;The second half is how it sees and decides.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/series-map.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/series-map.svg" alt="Map of the Inside a Tesla series. Parts 1 to 5 cover how it is made, parts 6 to 12 cover how it sees and decides. Part 1, the car as a map, is this post." loading="lazy" decoding="async" width="640" height="420"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The second half follows a loop. Cameras feed a computer. The computer runs neural&#10;networks (programs that learn from examples) and drives the controls. Separately,&#10;clips from the cars go back to Tesla, which trains the next version and sends it&#10;to the cars over the air.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/drive-loop.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/drive-loop.svg" alt="How the car senses, decides and acts: cameras feed video to the computer, neural networks send steering and braking commands, and fleet clips go to Tesla training and return as over-the-air software." loading="lazy" decoding="async" width="640" height="372"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="where-the-numbers-do-not-agree"&gt;Where the numbers do not agree&lt;/h2&gt;&#10;&lt;p&gt;I said I would show both sides. Here are the places in this part where the sources&#10;pull apart:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Topic&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Tesla says&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Other data&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Rear casting&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Musk (quoted by SAE, 2020): &amp;ldquo;a patchwork quilt&amp;rdquo; replaced by one casting; the 70 parts figure is SAE&amp;rsquo;s reporting&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Thatcham repeats about 70, and finds the casting cracks at 25 km/h and needs full replacement&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Repair cost&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A repair manual with colour zones&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Thatcham: partial replacement £2,167 less than the Model 3&amp;rsquo;s steel rear, full replacement £519 less than traditional repair, but welding only at Tesla-approved sites&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;370 fewer parts&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Musk, Battery Day 2020, in the structural battery section&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;I found no breakdown, so I use 70 for one casting only&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4680 cells&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2020: five times the energy, six times the power&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2026: packs for &amp;ldquo;certain Model Ys&amp;rdquo;; capacity is not output&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Chip power&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;144 TOPS claim, 2019&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;About half usable (Cadence). Power: under 100 W goal, 72 W for the chip logic&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Camera count&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Not confirmed by Tesla&amp;rsquo;s own page, which I could not open&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Drive Tesla Canada counts 8 on the 2025 car, the same as earlier cars, so the layout changed&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;How many cameras does a 2025 Tesla Model Y have?&lt;/strong&gt;&#10;Drive Tesla Canada counted eight on-board cameras after the front bumper camera was&#10;added in January 2025. That is the same total as earlier cars, so the layout moved&#10;elsewhere. Tesla&amp;rsquo;s own pages would not load for my tool, so this is outside&#10;reporting. Part 6 goes through where each one sits.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is a Giga Press?&lt;/strong&gt;&#10;It is an IDRA die-casting machine that injects molten aluminium into a mould to&#10;make a very large part in one shot. SAE reported in 2020 that Tesla&amp;rsquo;s rear casting&#10;replaces about 70 parts. Part 2 covers it.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does a Tesla get updates over the air?&lt;/strong&gt;&#10;Yes. In NHTSA recall 23V-838 (2,031,220 cars, December 2023), Tesla said a&#10;software remedy would reach certain affected cars from 12 December 2023 and the&#10;rest at a later date, at no cost to owners.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is a Tesla self-driving?&lt;/strong&gt;&#10;Tesla&amp;rsquo;s own footnote says the supervised feature requires active driver supervision&#10;and &amp;ldquo;does not make the vehicle autonomous&amp;rdquo;. Tesla has also put Cybercabs, which&#10;have no steering wheel or brake pedals, on Austin streets. Part 12 covers what&#10;that is and is not.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is the Model S still made?&lt;/strong&gt;&#10;No. The Fremont lines were decommissioned, according to Tesla&amp;rsquo;s Q2 2026 update.&#10;Jalopnik reports the last cars were built in May 2026.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-a-tesla-is-built-and-drives-itself/cheat-sheet.svg" alt="Part 1 on one card: a rear casting said to replace about 70 parts, a structural battery pack, eight cameras and no radar, the hardware 3 chip, and over-the-air updates. Each claim is labelled by source." loading="lazy" decoding="async" width="640" height="520"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; the back of this car is one piece of aluminium that replaced about 70.&#10;How do you pour a part that big without it warping, and what do you do when a&#10;crash cracks it? Part 2 starts at the Giga Press.&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Tesla&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026049213/exhibit991.htm"&gt;Q2 2026 update&lt;/a&gt; (SEC exhibit 99.1, webcast 22 July 2026)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026026551/exhibit991.htm"&gt;Q1 2026 update&lt;/a&gt; (webcast 22 April 2026)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://sec.gov/Archives/edgar/data/1318605/000162828026003837/exhibit991.htm"&gt;Q4 2025 update&lt;/a&gt; (webcast 28 January 2026)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.sec.gov/Archives/edgar/data/1318605/000162828025018851/exhbit991.htm"&gt;Q1 2025 update&lt;/a&gt; (webcast 22 April 2025)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://service.tesla.com/docs/BodyRepair/Body_Repair_Procedures/Model_Y/HTML/en-us/GUID-0ACD3001-0249-402D-84F8-A6076E8E3B09.html"&gt;Model Y collision repair: cast rear underbody guidelines&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.rev.com/blog/transcripts/tesla-2020-battery-day-transcript-september-22"&gt;Battery Day 2020 transcript&lt;/a&gt; (a third-party transcript of Tesla&amp;rsquo;s event)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Patents&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://patents.google.com/patent/WO2021150604A1/en"&gt;WO2021150604A1, die cast aluminum alloys for structural components&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Regulators&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://static.nhtsa.gov/odi/rcl/2023/RCLRPT-23V838-8276.PDF"&gt;NHTSA Part 573 recall report 23V-838&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Outside analysis&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.mobilityengineeringtech.com/component/content/article/44545"&gt;SAE Automotive Engineering: Tesla casts a new strategy for lightweight structures&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.repairerdrivennews.com/2025/09/18/study-on-tesla-model-y-finds-mega-casting-can-lower-repair-costs/"&gt;Repairer Driven News on the Thatcham Research study&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://electrek.co/2025/01/09/this-is-the-refreshed-model-y-just-unveiled-in-China/"&gt;Electrek: the refreshed Model Y&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://driveteslacanada.ca/news/tesla-adds-front-camera-to-new-model-y/"&gt;Drive Tesla Canada: front camera on the new Model Y&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2021/05/25/tesla-is-no-longer-using-radar-sensors-in-model-3-and-model-y-vehicles-built-in-north-america"&gt;TechCrunch: radar removed from Model 3 and Y&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2022/10/04/tesla-is-now-building-model-3-and-model-y-vehicles-without-ultrasonic-sensors"&gt;TechCrunch: ultrasonic sensors removed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2019/04/22/tesla-vaunts-creation-of-the-best-chip-in-the-world-for-self-driving/"&gt;TechCrunch: the Autonomy Day chip&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://community.cadence.com/cadence_blogs_8/b/breakfast-bytes/posts/tesla"&gt;Cadence: the Tesla FSD chip&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.notateslaapp.com/news/3521/how-teslas-fsd-hardware-has-changed-over-the-years"&gt;NotATeslaApp: how Tesla&amp;rsquo;s FSD hardware changed&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.assemblymag.com/articles/98504-teslas-new-cybertruck-features-modular-wiring"&gt;Assembly magazine: Cybertruck modular wiring&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://techcrunch.com/2025/10/07/tesla-reveals-slightly-cheaper-standard-versions-of-the-model-3-and-model-y"&gt;TechCrunch: Model 3 and Y Standard&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.jalopnik.com/2173749/last-tesla-model-s-and-model-x-off-production-line/"&gt;Jalopnik: the last Model S and X&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.texastribune.org/2026/09/03/tesla-elon-musk-autonomous-cybercabs-launch-austin/"&gt;Texas Tribune: Cybercabs in Austin&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nbcbayarea.com/news/business/money-report/tesla-rolls-out-software-fix-after-regulators-recall-more-than-2-million-cars-over-autopilot-defect/3396767/"&gt;NBC Bay Area (CNBC): the recall software fix&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How Google Maps Knows Traffic: Phones, Colours and ETAs</title><link>https://loomloops.com/post/how-google-maps-knows-traffic/</link><pubDate>Tue, 04 Aug 2026 16:10:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-google-maps-knows-traffic/</guid><description>&lt;p&gt;You open the app at ten past eight. The ring road is red. You leave, and ten&#10;minutes later it has turned orange. Nobody stood at the roadside with a&#10;clipboard. No camera on that stretch sent anything. The app just knew.&lt;/p&gt;&#10;&lt;p&gt;Most of the answer is in your pocket. Phones with location switched on tell&#10;Google how fast they are moving, and Google turns that into colours and&#10;arrival times. A few parts are published and a lot of parts are not. This post&#10;keeps the two apart. Each claim is marked: &lt;strong&gt;Google says&lt;/strong&gt;, &lt;strong&gt;reported&lt;/strong&gt; (said&#10;by journalists or the artist, not by Google), &lt;strong&gt;my reading&lt;/strong&gt; (an inference), or&#10;&lt;strong&gt;not published&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Phones that are navigating send anonymous speed and location. Google&#10;combines many of them into a picture of each road.&lt;/li&gt;&#10;&lt;li&gt;The colours show the speed of traffic. Google also says &amp;ldquo;normal&amp;rdquo; for a road&#10;comes from past traffic at that time and weekday. The exact rule that makes a&#10;colour is not published.&lt;/li&gt;&#10;&lt;li&gt;A trip time mixes live traffic with past patterns. DeepMind&amp;rsquo;s graph neural&#10;network improved ETAs by 16% to 51% depending on the city, in Google&amp;rsquo;s own&#10;figures. The measure is not defined.&lt;/li&gt;&#10;&lt;li&gt;In 2020 an artist pulled 99 phones in a wagon through Berlin and made empty&#10;streets show red. It shows that the picture is only as good as the phones in&#10;it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="your-phone-is-a-speed-sensor"&gt;Your phone is a speed sensor&lt;/h2&gt;&#10;&lt;p&gt;The idea is old. In August 2009 Google wrote that when you use Maps with GPS&#10;on, &amp;ldquo;your phone sends anonymous bits of data back to Google describing how fast&#10;you&amp;rsquo;re moving&amp;rdquo;. It then combines &amp;ldquo;the speed of other phones on the road, across&#10;thousands of phones moving around a city at any given time&amp;rdquo; into &amp;ldquo;a pretty good&#10;picture of live traffic conditions&amp;rdquo;&#10;(&lt;a href="https://googleblog.blogspot.com/2009/08/bright-side-of-sitting-in-traffic.html"&gt;Google blog, 2009&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/phones-as-sensors.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/phones-as-sensors.svg" alt="Four cars on one road piece report 48, 52, 45 and 50 km/h, and many phones are combined into one road picture. Google says it uses anonymous speed and location. The speeds are made up." loading="lazy" decoding="async" width="640" height="340"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;That 2009 post is the best statement of the method Google has given. The&#10;current Help page for navigation data is shorter. It says that during&#10;navigation Google collects GPS location, details such as the route taken, and&#10;data from sensors such as the barometer. It says Google uses this to show&#10;real-time traffic and does not tie map updates to your Google Account or device&#10;(&lt;a href="https://support.google.com/maps/answer/10565726"&gt;Google Maps Help&lt;/a&gt;). How the&#10;phone finds its own position in the first place, from satellites, Wi-Fi and&#10;cell towers, is in &lt;a href="https://loomloops.com/post/how-your-phone-knows-where-you-are/"&gt;how your phone knows where you&#10;are&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Two details from 2009 are worth keeping. Google said it combines data when many&#10;people report from the same area, &amp;ldquo;to make it hard to tell one phone from&#10;another&amp;rdquo;. And it said it finds the start and end of every trip and&#10;permanently deletes those parts. Those are the claims of a 2009 post, so treat&#10;them as a statement of intent from that year, not a current audit.&lt;/p&gt;&#10;&lt;p&gt;Where does the rest of the data come from? Google&amp;rsquo;s Roads Management Insights&#10;docs list three sources: &amp;ldquo;aggregated, anonymized data from Google Maps&amp;rdquo;, data&#10;from partners such as local transport departments, and reports from people who&#10;report crashes or roadworks&#10;(&lt;a href="https://developers.google.com/maps/documentation/roads-management-insights/rmi-concepts"&gt;Google Roads Management Insights&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Not published:&lt;/strong&gt; how many phones a road needs before Google trusts it, how it&#10;tells a car from a bus or a bike, and how often it updates a road. Anyone who&#10;gives you these numbers is guessing.&lt;/p&gt;&#10;&lt;h2 id="from-speeds-to-colours"&gt;From speeds to colours&lt;/h2&gt;&#10;&lt;p&gt;The legend is simple. Google&amp;rsquo;s Help page says: green is &amp;ldquo;No traffic delays&amp;rdquo;,&#10;orange is &amp;ldquo;Medium amount of traffic&amp;rdquo;, red is &amp;ldquo;Traffic delays&amp;rdquo;, and &amp;ldquo;the darker&#10;the red, the slower the speed of traffic on the road&amp;rdquo;&#10;(&lt;a href="https://support.google.com/maps/answer/61454"&gt;Google Maps Help&lt;/a&gt;). Google&amp;rsquo;s&#10;Routes API describes the same three steps as &lt;code&gt;NORMAL&lt;/code&gt;, &lt;code&gt;SLOW&lt;/code&gt; and&#10;&lt;code&gt;TRAFFIC_JAM&lt;/code&gt;&#10;(&lt;a href="https://developers.google.com/maps/documentation/routes/reference/rest/v2/SpeedReadingInterval"&gt;Routes API reference&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/colour-key.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/colour-key.svg" alt="Google’s traffic colours: green no delays (NORMAL), orange medium traffic (SLOW), red delays (TRAFFIC_JAM), and darker red for slower traffic. Google does not publish the speed cut-offs between colours." loading="lazy" decoding="async" width="640" height="400"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;What the pages do not give is a number. There is no &amp;ldquo;red below 20 km/h&amp;rdquo;. I&#10;looked for one in the Help pages, the Routes API docs and the Roads Management&#10;Insights docs. None has a speed threshold.&lt;/p&gt;&#10;&lt;p&gt;There is a hint about what the colours are measured against. The Roads&#10;Management Insights docs say historical patterns are built from aggregated&#10;user data and capture &amp;ldquo;the &amp;rsquo;normal&amp;rsquo; traffic for a specific road at any given&#10;time and day of the week&amp;rdquo;. Put that next to a colour legend that talks about&#10;delays, and here is &lt;strong&gt;my reading&lt;/strong&gt;: a colour says how far today&amp;rsquo;s speed is from&#10;what is normal for that road at that time.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/normal-vs-now.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/normal-vs-now.svg" alt="Two roads, both with live speed 40 km per hour. On a motorway where 100 is normal, it is red. On a city street where 40 is normal, it is green. This is my reading, not a published rule, and the speeds are made up." loading="lazy" decoding="async" width="640" height="380"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;This would explain something you may have seen: a road where cars are still&#10;moving at a decent pace shows red at rush hour, or a slow lane in a town shows&#10;green. I cannot prove it. I did not find a Google page that states the rule,&#10;so treat the picture as a way to think about it, not as how Google does it.&lt;/p&gt;&#10;&lt;h2 id="how-the-arrival-time-is-predicted"&gt;How the arrival time is predicted&lt;/h2&gt;&#10;&lt;p&gt;Live traffic alone is not enough for a long trip. Google&amp;rsquo;s 2020 post with&#10;DeepMind says live data &amp;ldquo;doesn&amp;rsquo;t account for the traffic a driver can expect to&#10;see 10, 20, or even 50 minutes into their drive&amp;rdquo;, so Maps uses machine learning&#10;to combine live conditions with historical patterns&#10;(&lt;a href="https://deepmind.google/discover/blog/traffic-prediction-with-advanced-graph-neural-networks/"&gt;DeepMind, 2020&lt;/a&gt;).&#10;Google&amp;rsquo;s example: the 280 freeway in Northern California typically carries&#10;traffic at 65 mph between 6 and 7 am&#10;(&lt;a href="https://blog.google/products/maps/google-maps-101-how-ai-helps-predict-traffic-and-determine-routes/"&gt;Google blog, 2020&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;The Roads Management Insights docs describe the split. Short routes &amp;ldquo;depend&#10;largely on current, real-time information&amp;rdquo;. On longer routes the nearby road&#10;pieces use live data, and &amp;ldquo;more-distant segments rely more heavily on&#10;historical patterns&amp;rdquo;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/eta-live-vs-history.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/eta-live-vs-history.svg" alt="A route from now to 50 minutes ahead. Live traffic counts most near the start. Past patterns count more further along. The fading is an illustration, because Google does not publish the weights." loading="lazy" decoding="async" width="640" height="340"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;You can see the same idea in Google&amp;rsquo;s developer tools. The Routes API returns&#10;a &lt;code&gt;duration&lt;/code&gt; that uses real-time traffic and a &lt;code&gt;staticDuration&lt;/code&gt; that &amp;ldquo;consider[s]&#10;only historical traffic information&amp;rdquo;&#10;(&lt;a href="https://developers.google.com/maps/documentation/routes/config_trade_offs"&gt;Routes API&lt;/a&gt;).&#10;It also has a traffic model setting. &lt;code&gt;BEST_GUESS&lt;/code&gt; is the best estimate, and&#10;live traffic matters more as the departure time gets closer to now.&#10;&lt;code&gt;PESSIMISTIC&lt;/code&gt; gives a time that is longer than the real one on most days.&#10;&lt;code&gt;OPTIMISTIC&lt;/code&gt; gives one that is shorter&#10;(&lt;a href="https://developers.google.com/maps/documentation/routes/reference/rest/v2/TrafficModel"&gt;TrafficModel&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;History also goes stale. After the 2020 lockdowns changed how people moved,&#10;Google said it began &amp;ldquo;automatically prioritizing historical traffic patterns&#10;from the last two to four weeks&amp;rdquo;, and that it saw up to a 50 percent drop in&#10;worldwide traffic when lockdowns started.&lt;/p&gt;&#10;&lt;h2 id="the-graph-neural-network"&gt;The graph neural network&lt;/h2&gt;&#10;&lt;p&gt;In 2020 DeepMind and the Google Maps team described how they changed the&#10;prediction model. This part is &lt;strong&gt;Google says&lt;/strong&gt;, and it is unusually detailed.&lt;/p&gt;&#10;&lt;p&gt;Maps splits roads into &amp;ldquo;Supersegments&amp;rdquo;: several neighbouring pieces of road&#10;that share a lot of traffic. A graph neural network (a kind of machine learning&#10;model that works on dots joined by links) then predicts the travel time of each&#10;Supersegment. Each road piece is a dot. Links join pieces that follow each&#10;other on a road, or that meet at a junction.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/supersegment-graph.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/supersegment-graph.svg" alt="Roads as a graph: each piece of road is a dot, lines join pieces that follow each other or meet at a junction, and a group of neighbours is a supersegment. A side street jam can spill onto the main road." loading="lazy" decoding="async" width="640" height="380"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Why a graph and not a simple list of road pieces? DeepMind&amp;rsquo;s reason is that a&#10;jam on a side street can spill over onto a bigger road, and a graph lets the&#10;model look at roads that cross, not only the road ahead. They also say the&#10;model can then predict delays at turns and merges.&lt;/p&gt;&#10;&lt;p&gt;The 2021 paper from Google and DeepMind authors describes the model as deployed in production&#10;at Google Maps. Its abstract says it cut negative ETA outcomes by 40+% in&#10;cities like Sydney&#10;(&lt;a href="https://arxiv.org/abs/2108.11482"&gt;Derrow-Pinion et al., CIKM 2021&lt;/a&gt;). That is&#10;a different measure from the 2020 blog&amp;rsquo;s numbers, so do not set the two side by&#10;side.&lt;/p&gt;&#10;&lt;h2 id="how-big-was-the-gain"&gt;How big was the gain?&lt;/h2&gt;&#10;&lt;p&gt;The 2020 post says Google&amp;rsquo;s predicted times &amp;ldquo;have been consistently accurate&#10;for over 97% of trips&amp;rdquo; already, and the work was about the rest. It states&#10;that the improvement was &amp;ldquo;up to 50%&amp;rdquo; in some cities. Its map gives a figure for&#10;each of 19 cities:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/eta-improvement-chart.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/eta-improvement-chart.svg" alt="Bar chart of the ETA improvement Google and DeepMind reported for 19 cities, from 51 percent in Taichung City and 43 in Sydney to 16 in London and Copenhagen. Source: DeepMind, 3 September 2020." loading="lazy" decoding="async" width="640" height="640"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Three things to read carefully:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;The page never defines the measure.&lt;/strong&gt; The map is titled &amp;ldquo;Google Maps ETA&#10;Improvements Around the World&amp;rdquo; and the text talks about &amp;ldquo;improve the accuracy&#10;of real time ETAs&amp;rdquo; and about &amp;ldquo;minimise the remaining inaccuracies&amp;rdquo;. I read it&#10;as a cut in the bad estimates, not a 51% gain in a 97% number. That is my&#10;reading.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The text and the map do not line up.&lt;/strong&gt; The text says &amp;ldquo;up to 50%&amp;rdquo; for&#10;Berlin, Jakarta, São Paulo, Sydney, Tokyo and Washington. The map shows 21,&#10;22, 23, 43 and 29, and Tokyo is not on it. &amp;ldquo;Up to&amp;rdquo; is a best case.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;It is a company report from 2020.&lt;/strong&gt; These are Google&amp;rsquo;s numbers, with no&#10;outside audit in the post. The paper from 2021 is the more careful source.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;I took the 19 values by reading the figure on DeepMind&amp;rsquo;s page, because they are&#10;not given in the text.&lt;/p&gt;&#10;&lt;h2 id="the-wagon-how-the-picture-can-be-fooled"&gt;The wagon: how the picture can be fooled&lt;/h2&gt;&#10;&lt;p&gt;In early 2020 the Berlin artist Simon Weckert pulled a handcart carrying 99&#10;second-hand smartphones along city streets. His page describes the work as 99&#10;phones &amp;ldquo;transported in a handcart to generate virtual traffic jam in Google&#10;Maps&amp;rdquo;. Reports at the time (Vice on 3 February 2020, 9to5Google) say each phone&#10;had its own SIM card and had Maps running navigation, and that streets with no&#10;cars showed red&#10;(&lt;a href="http://www.simonweckert.com/googlemapshacks.html"&gt;Weckert&lt;/a&gt;,&#10;&lt;a href="https://www.vice.com/en/article/this-man-created-traffic-jams-on-google-maps-using-a-red-wagon-full-of-phones"&gt;Vice&lt;/a&gt;,&#10;&lt;a href="https://9to5google.com/2020/02/04/google-maps-hack-virtual-traffic-jam/"&gt;9to5Google&lt;/a&gt;).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/wagon-fake-jam.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/wagon-fake-jam.svg" alt="The 99-phone wagon in three steps, as reported. A wagon rolling slowly on a quiet street made it show red. A stopped wagon did not make a jam. A real car driving through returned the street to normal." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Two details in the reports tell you how the system behaves:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;The wagon had to keep moving.&lt;/strong&gt; 9to5Google reports that a stopped wagon&#10;did not produce a jam. My reading: phones sitting still look like parked cars, not slow&#10;traffic.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;A real car reset it.&lt;/strong&gt; The same report says a vehicle driving through&#10;brought the street back to normal. A single passing car was enough, as&#10;reported.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Google&amp;rsquo;s reply, reported at the time, was: &amp;ldquo;Whether via car or cart or camel,&#10;we love seeing creative uses of Google Maps as it helps us make maps work&#10;better over time.&amp;rdquo; 9to5Google also reports that Google said many devices in one&#10;place normally count as evidence of a jam.&lt;/p&gt;&#10;&lt;p&gt;Here is what I could not find: any Google statement about how it tells phones&#10;in a cart from phones in cars, or whether the trick works today. &lt;strong&gt;Not&#10;published.&lt;/strong&gt; Do not trust a blog that says Google &amp;ldquo;fixed&amp;rdquo; it or &amp;ldquo;never fixed&amp;rdquo;&#10;it, because neither claim is sourced.&lt;/p&gt;&#10;&lt;p&gt;Weckert&amp;rsquo;s own aim, as reported, was to show that this kind of data can be&#10;bent. His page says the work can &amp;ldquo;turn a green street red&amp;rdquo;. He also said, as quoted at the time, that virtual traffic can send real cars&#10;to other routes and so make a real jam elsewhere. That is the&#10;practical lesson. A crowd-sourced number is a vote. Votes can be wrong, and&#10;the system&amp;rsquo;s job is to decide when it believes a crowd.&lt;/p&gt;&#10;&lt;h2 id="what-is-known-and-what-is-not"&gt;What is known and what is not&lt;/h2&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Question&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Status&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Do phones send speed and location?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Google says&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2009 blog, navigation data Help page&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Is the data anonymous?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Google says so. I cannot check it&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2009 blog, Help page&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;What do the colours mean?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Google says&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Maps Help&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;What speed makes a road red?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Not published&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Is &amp;ldquo;normal&amp;rdquo; the past traffic for that road, time and weekday?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Google says&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Roads Management Insights docs&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Do colours compare live speed to normal?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;My reading&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Do trip times mix live and past data?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Google says&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;DeepMind, Google blog, 2020&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Does the graph neural network cut errors by 16% to 51%?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Google reports&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;DeepMind, 2020&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;What does that percentage measure?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Not defined on the page&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;DeepMind, 2020&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Did 99 phones make a red street?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Reported, with the artist&amp;rsquo;s own page&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Weckert, Vice, 9to5Google&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Does Google filter out fake crowds?&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Not published&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;none&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;How does Google Maps know there is traffic?&lt;/strong&gt;&#10;Phones running Maps send anonymous speed and location, and Google combines&#10;many of them for each road. It also uses partner data, such as local transport&#10;departments, and reports from users about crashes or roadworks.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does Google Maps use my location when I am not navigating?&lt;/strong&gt;&#10;The Help page I read describes collection during navigation. It says denying&#10;the location permission turns off real-time features such as turn-by-turn&#10;navigation. I did not find a statement about other times, so check the page&#10;and your own settings.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What do the colours on Google Maps mean?&lt;/strong&gt;&#10;Green is no traffic delays, orange is a medium amount of traffic, red is&#10;delays, and darker red is slower still. Google does not publish the speeds&#10;behind each colour.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How does Google Maps predict my arrival time?&lt;/strong&gt;&#10;It combines live traffic with past patterns for each road and time. The&#10;further ahead a part of the trip is, the more it leans on history. Since 2020&#10;a graph neural network from DeepMind has helped with the prediction.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can one phone, or a hundred, change traffic on Google Maps?&lt;/strong&gt;&#10;One phone cannot do much. In 2020 an artist did it with 99 phones moving&#10;together in a cart. Google has not said how it guards against that.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-google-maps-knows-traffic/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-google-maps-knows-traffic/cheat-sheet.svg" alt="Google Maps traffic cheat sheet: phones with location on send anonymous speed, and a graph neural network predicts trip times, reportedly 16 to 51 percent better. Colour cut-offs are not published." loading="lazy" decoding="async" width="640" height="552"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="update-november-2026"&gt;Update, November 2026&lt;/h2&gt;&#10;&lt;p&gt;Google&amp;rsquo;s Roads Management Insights docs now list a fourth speed category,&#10;&lt;code&gt;TRAFFIC_JAM_HEAVY&lt;/code&gt;, for a heavy jam shown as dark red. It is available from 8&#10;October 2026 in the newer offset-based format, and the older format reports&#10;those jams as &lt;code&gt;TRAFFIC_JAM&lt;/code&gt;. The docs still give no speed thresholds.&lt;/p&gt;&#10;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://googleblog.blogspot.com/2009/08/bright-side-of-sitting-in-traffic.html"&gt;Google blog, 2009: The bright side of sitting in traffic&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.google.com/maps/answer/10565726"&gt;Google Maps Help: how navigation data makes Maps better&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.google.com/maps/answer/61454"&gt;Google Maps Help: traffic colours&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://developers.google.com/maps/documentation/roads-management-insights/rmi-concepts"&gt;Google Roads Management Insights: concepts&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://deepmind.google/discover/blog/traffic-prediction-with-advanced-graph-neural-networks/"&gt;DeepMind: Traffic prediction with advanced Graph Neural Networks&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://blog.google/products/maps/google-maps-101-how-ai-helps-predict-traffic-and-determine-routes/"&gt;Google blog: Google Maps 101, how AI helps predict traffic&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/abs/2108.11482"&gt;Derrow-Pinion et al.: ETA Prediction with Graph Neural Networks in Google Maps&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="http://www.simonweckert.com/googlemapshacks.html"&gt;Simon Weckert: Google Maps Hacks&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How Password Managers Store Passwords Without Being Able to Read Them</title><link>https://loomloops.com/post/how-password-managers-store-passwords/</link><pubDate>Tue, 19 May 2026 10:45:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-password-managers-store-passwords/</guid><description>&lt;p&gt;You save a login on your laptop. A second later it is on your phone. In&#10;between, the vault passed through a server that a company runs. That company&#10;has staff, backups, and a hosting provider, so it is fair to ask: could any of&#10;them read your passwords?&lt;/p&gt;&#10;&lt;p&gt;For the designs I read about below, the answer is meant to be no. The server&#10;keeps a locked box and never gets the key. This post shows how the key is made,&#10;why making it slow is the whole point, what an attacker gets if the server is&#10;copied, and what passkeys change.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Your device scrambles (encrypts) the vault before it syncs. The key comes&#10;from your master password, and the password itself is never sent.&lt;/li&gt;&#10;&lt;li&gt;The key is made with a deliberately slow function (PBKDF2 or Argon2id). If&#10;someone copies the server, that slowness is the only thing between them and&#10;your master password. A weak master password still falls.&lt;/li&gt;&#10;&lt;li&gt;A passkey replaces the shared secret with a key pair per site. The server&#10;keeps only a public key, and the browser ties each signature to the real&#10;site address, so a lookalike site gets nothing.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-lives-where"&gt;What lives where&lt;/h2&gt;&#10;&lt;p&gt;A password manager has two jobs. It stores your logins, and it keeps them in&#10;step across devices. The trick is to do the second job without trusting the&#10;server with the first.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/device-vs-server.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/device-vs-server.svg" alt="A password manager keeps the master password, the key made from it and your readable logins on your device. The server only holds the scrambled vault, a login proof and account details such as your email." loading="lazy" decoding="async" width="640" height="410"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Two words need explaining:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Encryption&lt;/strong&gt; scrambles data so it can only be read with a key. With the&#10;key you can get the original back.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;A hash&lt;/strong&gt; is a one-way scramble. You cannot get the original back from it.&#10;You can only check a guess by hashing the guess and comparing.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The vault is encrypted on your device. Bitwarden&amp;rsquo;s &lt;a href="https://bitwarden.com/help/what-encryption-is-used/"&gt;encryption&#10;page&lt;/a&gt; says it uses AES&#10;with 256-bit keys in CBC mode, plus an HMAC (a check code that shows whether&#10;anyone changed the data). Vendors call this &amp;ldquo;zero knowledge&amp;rdquo;. It means the&#10;company has no key to read your data.&lt;/p&gt;&#10;&lt;p&gt;The server stores what it needs to sync and to check that you are you.&#10;Bitwarden&amp;rsquo;s &lt;a href="https://bitwarden.com/help/bitwarden-security-white-paper/"&gt;security white&#10;paper&lt;/a&gt; lists four&#10;kinds of data on its server: authentication data, the data used to open the&#10;vault, the encrypted vault, and encrypted key pairs.&#10;1Password&amp;rsquo;s &lt;a href="https://agilebits.github.io/security-design/infra.html"&gt;security design&#10;document&lt;/a&gt; says the&#10;vault items on its server hold encrypted overview and detail data, and that it&#10;never has an unencrypted vault key. It also says some account fields, such as a&#10;user name and email address, are stored in the clear. Read each vendor&amp;rsquo;s page&#10;for what is and is not encrypted. It is not the same everywhere.&lt;/p&gt;&#10;&lt;h2 id="from-a-master-password-to-a-key"&gt;From a master password to a key&lt;/h2&gt;&#10;&lt;p&gt;You type a master password. The app turns it into an encryption key with a&#10;&lt;strong&gt;key derivation function&lt;/strong&gt; (KDF). A KDF takes a password and some extra&#10;input, and produces a fixed-size key. The extra input is a &lt;strong&gt;salt&lt;/strong&gt;: a value&#10;that differs per user, so two people with the same password still get&#10;different keys. Bitwarden uses your email address as the salt. The &lt;a href="https://www.rfc-editor.org/rfc/rfc8018.html"&gt;PKCS #5&#10;standard&lt;/a&gt; says a salt exists so&#10;that an attacker cannot precompute all the keys in advance.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/key-derivation-steps.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/key-derivation-steps.svg" alt="The master password and your email go through 600,000 PBKDF2 rounds to make the master key. It opens the vault key on your device, and a second hash of it goes to the server as the login proof." loading="lazy" decoding="async" width="640" height="450"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The master key does two jobs, and they are kept apart on purpose. One path&#10;opens the vault on your device. The other makes a separate hash that goes to&#10;the server so it can check you. The server learns something that proves you&#10;know the password. It does not learn anything that opens the vault. Bitwarden&amp;rsquo;s&#10;white paper describes the first path as the master key being stretched with&#10;HKDF (a way to turn one key into several) into the key that decrypts your vault&#10;key. The login hash is a second PBKDF2 run, with the master key as input and&#10;the master password as the salt. The server then hashes it again with its own&#10;salt before it stores it.&lt;/p&gt;&#10;&lt;p&gt;Here is the slow part in about ten lines. I ran this in a Python container on&#10;my laptop:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; hashlib&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; time&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;password &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;correct horse battery staple&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;salt &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;user@example.com&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; rounds &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;5_000&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;100_000&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;600_000&lt;/span&gt;):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; start &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; time&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;perf_counter()&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; key &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; hashlib&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;pbkdf2_hmac(&lt;span style="color:#f1fa8c"&gt;&amp;#34;sha256&amp;#34;&lt;/span&gt;, password, salt, rounds)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ms &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; (time&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;perf_counter() &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt; start) &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;1000&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;f&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;{&lt;/span&gt;rounds&lt;span style="color:#f1fa8c"&gt;:&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;gt;7&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;}&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt; rounds: &lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;{&lt;/span&gt;ms&lt;span style="color:#f1fa8c"&gt;:&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;5.1f&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;}&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt; ms key starts &lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;{&lt;/span&gt;key&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;hex()[:&lt;span style="color:#bd93f9"&gt;16&lt;/span&gt;]&lt;span style="color:#f1fa8c"&gt;}&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;typo &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; hashlib&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;pbkdf2_hmac(&lt;span style="color:#f1fa8c"&gt;&amp;#34;sha256&amp;#34;&lt;/span&gt;, &lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;correct horse battery stapl3&amp;#34;&lt;/span&gt;, salt, &lt;span style="color:#bd93f9"&gt;600_000&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;f&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;one character off: key starts &lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;{&lt;/span&gt;typo&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;hex()[:&lt;span style="color:#bd93f9"&gt;16&lt;/span&gt;]&lt;span style="color:#f1fa8c"&gt;}&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; 5000 rounds: 0.6 ms key starts 52ce2d33e007a7c1&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; 100000 rounds: 10.5 ms key starts a69d536a06ad8572&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; 600000 rounds: 67.2 ms key starts 55dc4a94e4881ffd&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;one character off: key starts d2c537bf2cdab8e2&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Two things to see. A one-character typo gives a completely different key, so&#10;there is no &amp;ldquo;close&amp;rdquo;. And 600,000 rounds takes about 67 ms. (The chart below comes from a separate&#10;run of 15, with a median of 65.5 ms.) You will never notice that once when you&#10;open the app. Keep it in mind for the next section.&lt;/p&gt;&#10;&lt;h2 id="why-slow-is-the-point"&gt;Why slow is the point&lt;/h2&gt;&#10;&lt;p&gt;A normal hash is built to be fast. A KDF is built to be slow, and you choose how&#10;slow with the number of &lt;strong&gt;rounds&lt;/strong&gt; (also called iterations): how many times the&#10;hash is repeated for each password. The PKCS #5 standard puts it plainly: an&#10;iteration count &amp;ldquo;has traditionally served the purpose of increasing the cost of&#10;producing keys from a password&amp;rdquo;. It recommends a minimum of 1,000 and, quoting&#10;NIST, says to choose a count &amp;ldquo;as large as possible&amp;rdquo; while users can still wait&#10;for it.&lt;/p&gt;&#10;&lt;p&gt;That standard dates from 2017. Today&amp;rsquo;s numbers are far higher. The &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html"&gt;OWASP&#10;password storage cheat&#10;sheet&lt;/a&gt;&#10;lists these settings:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Function&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;OWASP setting&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PBKDF2 with HMAC-SHA-256&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;600,000 rounds&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PBKDF2 with HMAC-SHA-512&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;220,000 rounds&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;PBKDF2 with HMAC-SHA-1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1,400,000 rounds, legacy only&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Argon2id&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;19 MiB of memory, 2 passes, 1 lane (one of five equal trade-offs, from 46 MiB with 1 pass to 7 MiB with 5 passes)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The vendors sit in the same place. Bitwarden&amp;rsquo;s &lt;a href="https://bitwarden.com/help/kdf-algorithms/"&gt;KDF&#10;page&lt;/a&gt; gives 600,000 rounds of&#10;PBKDF2 as the default, and for Argon2id 64 MiB of memory, 3 passes and 4 lanes (as of this post&amp;rsquo;s date;&#10;the page may change).&#10;1Password&amp;rsquo;s &lt;a href="https://agilebits.github.io/security-design/deepKeys.html"&gt;design&#10;document&lt;/a&gt; says &amp;ldquo;there&#10;are 650,000 iterations of PBKDF2&amp;rdquo; in the current version, and adds that an&#10;account made before 27 January 2023 may still use a lower count until its&#10;password or Secret Key changes.&lt;/p&gt;&#10;&lt;p&gt;The chart below is what those settings cost on one CPU core. I measured them&#10;myself.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/kdf-guess-cost.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/kdf-guess-cost.svg" alt="Bar chart of CPU time per password guess on one laptop: PBKDF2 at 5,000 rounds 0.55 ms, at 600,000 rounds 65.5 ms. Argon2id at 19 MiB and 2 passes 13.9 ms, at 64 MiB and 3 passes 67.4 ms." loading="lazy" decoding="async" width="640" height="466"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;PBKDF2 grows in a straight line: 20 times the rounds costs about 20 times the&#10;time. That is also the cost for the attacker, on a CPU. The chart does not show&#10;the real difference between PBKDF2 and Argon2id, because that difference is&#10;memory, not time. Argon2 is what RFC 9106 calls &amp;ldquo;a memory-hard function&amp;rdquo;: each&#10;guess must hold a block of memory (19 MiB or 64 MiB above) while it works. A&#10;graphics card has thousands of cores but a limited pool of memory, so a guess&#10;that needs tens of megabytes limits how many can run side by side. PBKDF2&#10;needs almost no memory, which is why graphics cards are good at it. RFC 9106&amp;rsquo;s&#10;two recommended settings use 2 GiB or 64 MiB of memory, far above the OWASP&#10;minimums in the table.&lt;/p&gt;&#10;&lt;h2 id="if-the-server-is-copied"&gt;If the server is copied&lt;/h2&gt;&#10;&lt;p&gt;Now the part that many explainers skip. Suppose someone gets a copy of the&#10;server&amp;rsquo;s data.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/server-copied.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/server-copied.svg" alt="If an attacker copies the scrambled vaults, the only way in is guessing the master password offline, with no lockout. A weak password can fall in hours. A long random passphrase holds." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;They have scrambled vaults. They do not have the key. The only way to get it&#10;is to guess the master password: derive a key from the guess, try it on the&#10;vault, see if it works. This happens on the attacker&amp;rsquo;s own computers, so there&#10;is no login page to lock them out and no limit on tries. The server is not&#10;involved at all. This is called an &lt;strong&gt;offline attack&lt;/strong&gt;, and the only brake on it&#10;is the cost of each guess.&lt;/p&gt;&#10;&lt;p&gt;So how much does the slowness buy? For a number, I used a public benchmark. A&#10;hashcat run on one NVIDIA RTX 4090 graphics card, published as &lt;a href="https://gist.github.com/Chick3nman/32e662a5bb63bc4f51b847bb422222fd"&gt;a GitHub&#10;gist&lt;/a&gt;,&#10;measured PBKDF2-HMAC-SHA256 at 8,865.7 kH/s, about 8.87 million guesses a&#10;second, with each guess being 999 rounds. Cost scales with the number of&#10;rounds, so I divided: at 600,000 rounds that card does about 14,800 guesses a&#10;second. At 5,000 rounds it does about 1.8 million.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/offline-guessing-time.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/offline-guessing-time.svg" alt="Log-scale chart of worst-case guessing time on one RTX 4090 at 600,000 PBKDF2 rounds: 1 billion listed guesses about 19 hours, 8 random lowercase letters 164 days, 4 random words 7,800 years." loading="lazy" decoding="async" width="640" height="568"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;How to read it. The axis is logarithmic, so each gridline is far above the one&#10;before. The groups on the bottom are the sets of passwords the attacker has to&#10;try:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;1 billion listed guesses&lt;/strong&gt; is a round number I picked, standing for a&#10;password that sits on a list of likely passwords. At 600,000 rounds it takes&#10;about 19 hours to try them all. At 5,000 rounds it takes about 9 minutes.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;8 random lowercase letters&lt;/strong&gt; is 26 to the power of 8, about 209 billion&#10;options.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;4 random words&lt;/strong&gt; and &lt;strong&gt;6 random words&lt;/strong&gt; come from a 7,776-word list, such as&#10;the long list from the &lt;a href="https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases"&gt;EFF&lt;/a&gt;.&#10;The EFF says each word adds about 12.9 bits, and each extra bit doubles the&#10;guesses an attacker needs. Six words give about 77 bits.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;8 random characters&lt;/strong&gt; is 94 keyboard characters to the power of 8.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Four things to know before trusting any of it.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;strong&gt;It is one card, and it is the worst case.&lt;/strong&gt; On average an attacker finds&#10;the password halfway through. A real attacker can rent many cards, and the&#10;time divides by the number of cards. Ten thousand cards turn the 4-word&#10;figure from 7,800 years into about 9 months. Six words are still tens of&#10;millions of years.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The groups assume the password is random.&lt;/strong&gt; People are not random. They&#10;add a number to a name, or reuse an old password with a change. An attacker&#10;tries those patterns first. The &amp;ldquo;listed guesses&amp;rdquo; group is closer to how a&#10;human-made password behaves than the 8-random-characters one.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The scaling is my arithmetic.&lt;/strong&gt; The benchmark ran 999 rounds. I assumed&#10;the cost grows in a straight line with the rounds, which holds for PBKDF2.&#10;Treat the numbers as a size, not a measurement of any real attack.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The rounds multiply the time, not the password.&lt;/strong&gt; Going from 5,000 to&#10;600,000 rounds makes every row 120 times longer. For a password on a list,&#10;that turns minutes into hours. It does not make a listed password safe.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;The 1Password design document is blunt about this. It says its slow hashing&#10;&amp;ldquo;goes some way to increase the work&amp;rdquo; an attacker needs, but &amp;ldquo;cannot substitute&#10;a strong account password&amp;rdquo;. It then adds a second protection for this exact&#10;case. Your account password is combined with a &lt;strong&gt;Secret Key&lt;/strong&gt;, a random&#10;128-bit value that is kept on your devices and not on the server. The document&#10;says an attacker who captures only server data would have to guess the&#10;password and also have the Secret Key, and that &amp;ldquo;the information held on our&#10;systems cannot be used to check whether an account password guess is correct&#10;or not.&amp;rdquo; The cost: you have to keep the Secret Key safe yourself, and it does&#10;nothing if your own device is compromised.&lt;/p&gt;&#10;&lt;h2 id="where-it-breaks"&gt;Where it breaks&lt;/h2&gt;&#10;&lt;p&gt;The design protects against a copied server. These cases it does not cover:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;A weak or reused master password.&lt;/strong&gt; Everything above depends on it. The&#10;KDF only slows the guessing down.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Your own device.&lt;/strong&gt; When the vault is open, the key and the decrypted logins&#10;are in memory. Malware on that device sees what you see. Neither vendor&amp;rsquo;s&#10;design claims otherwise. 1Password says plainly that the Secret Key plays no&#10;part if your own system is breached.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;The app you run.&lt;/strong&gt; The encryption happens in code the vendor ships. If that&#10;code were changed to send the master password, the design would not help.&#10;Some vendors publish their client code and commission audits, so that&#10;others can check what it does.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Old settings.&lt;/strong&gt; A vault made years ago may use fewer rounds, because the&#10;count is stored per account. Check your own account&amp;rsquo;s setting&#10;rather than assume it moved.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;What is not encrypted.&lt;/strong&gt; As above, some account details are stored in the&#10;clear. The server can also see when you sync and roughly how large the vault is.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="what-passkeys-change"&gt;What passkeys change&lt;/h2&gt;&#10;&lt;p&gt;A password is a shared secret. You and the site both know it, so the site has&#10;to store something derived from it, and an attacker who steals that has&#10;something to crack. A passkey removes the shared secret. The FIDO Alliance, which&#10;develops the passkey standards, says &lt;a href="https://fidoalliance.org/passkeys/"&gt;passkeys are &amp;ldquo;designed so that there are no&#10;shared secrets&amp;rdquo;&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Under the hood, a passkey is a &lt;strong&gt;key pair&lt;/strong&gt;: two linked keys made together. The&#10;private key signs. The public key checks the signature. Anything signed with&#10;the private key can be checked with the public key, but the public key cannot&#10;be used to sign. The W3C&amp;rsquo;s &lt;a href="https://www.w3.org/TR/webauthn-2/"&gt;Web Authentication&#10;standard&lt;/a&gt; (WebAuthn) describes it with two&#10;parties: the &lt;strong&gt;relying party&lt;/strong&gt; (the website) and the &lt;strong&gt;authenticator&lt;/strong&gt; (the thing&#10;that holds the private key, such as a phone, a laptop or a hardware key).&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/passkey-flow.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/passkey-flow.svg" alt="How a passkey works: sign up stores only a public key on the site. Log in: the site sends a challenge, you approve with fingerprint, face or PIN, and the device signs it. The private key is never sent." loading="lazy" decoding="async" width="640" height="400"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;At sign-up the device makes a pair for that site. The standard says the server&#10;&amp;ldquo;stores the credential public key in its database and associates it with the&#10;user&amp;rdquo;. At log-in the site sends a random &lt;strong&gt;challenge&lt;/strong&gt;. Your device signs it&#10;after you approve with a fingerprint, face or PIN. The site checks the&#10;signature with the stored public key.&lt;/p&gt;&#10;&lt;p&gt;Compare that with a copied server. A copy of the passkey table holds public&#10;keys. There is nothing to guess and nothing that can sign. The challenge is a&#10;fresh random number each time, so a recorded login cannot be played back. The&#10;site has to hand out each challenge once and check it, the opposite problem&#10;from the one in &lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;idempotency keys explained&lt;/a&gt;,&#10;where a repeated request has to be accepted safely.&lt;/p&gt;&#10;&lt;h3 id="the-address-check"&gt;The address check&lt;/h3&gt;&#10;&lt;p&gt;The part that matters for phishing is where the site address comes from. When&#10;your browser asks the device to sign, it adds the address of the page into the&#10;data that gets signed. WebAuthn calls this the origin. The login step in the&#10;standard (section 7.2) has the server check the &lt;code&gt;type&lt;/code&gt;, the &lt;code&gt;challenge&lt;/code&gt; and the&#10;&lt;code&gt;origin&lt;/code&gt;, then verify the signature. The data looks like this, simplified:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;&amp;#34;type&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;webauthn.get&amp;#34;&lt;/span&gt;,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;&amp;#34;challenge&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;dGhpcyBpcyBhIHJhbmRvbSBudW1iZXI&amp;#34;&lt;/span&gt;,&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;&amp;#34;origin&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;https://bank.example&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Each credential is also scoped to a &lt;strong&gt;Relying Party ID&lt;/strong&gt;, in practice the site&amp;rsquo;s&#10;domain. The standard says the ID must equal the origin&amp;rsquo;s domain or a parent&#10;domain of it, and that the credential &amp;ldquo;can only be accessed by origins&#10;belonging to that Relying Party&amp;rdquo;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/fake-site.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/fake-site.svg" alt="A password typed into a lookalike site goes to the attacker. A passkey is tied to the real address, so the device finds no key for the lookalike and there is nothing to sign." loading="lazy" decoding="async" width="640" height="410"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;You type a password into whatever page is in front of you, so a good enough&#10;copy of the page gets it. A passkey does not depend on what you think the page&#10;is. The browser reports the real address, and a device has no key for&#10;&lt;code&gt;bank-login.example&lt;/code&gt;. Nothing is left to hand over. The FIDO Alliance calls&#10;phishing resistance &amp;ldquo;a core design goal&amp;rdquo;.&lt;/p&gt;&#10;&lt;h3 id="passkeys-and-password-managers-together"&gt;Passkeys and password managers together&lt;/h3&gt;&#10;&lt;p&gt;They are not rivals. A passkey has to live somewhere. FIDO says it can be&#10;&amp;ldquo;securely synced across a user&amp;rsquo;s devices, or bound to a particular device&amp;rdquo;.&#10;Bitwarden&amp;rsquo;s &lt;a href="https://bitwarden.com/help/storing-passkeys/"&gt;passkey help&#10;page&lt;/a&gt; says passkeys saved in&#10;Bitwarden are protected with its end-to-end encryption and synced between your&#10;devices.&lt;/p&gt;&#10;&lt;p&gt;That changes the plain wording &amp;ldquo;the private key never leaves the device&amp;rdquo;. For a&#10;device-bound passkey, such as one on a hardware key, it is true. The standard&#10;says the private key is &amp;ldquo;expected to never be exposed to any other party, not&#10;even to the owner of the authenticator&amp;rdquo;. For a synced passkey, copies of the&#10;private key travel, encrypted, through the sync. You are back to the first half&#10;of this post: the passkey is only as safe as the vault that holds it, and the&#10;vault is only as safe as its master password.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Can a password manager company see my passwords?&lt;/strong&gt;&#10;In the designs described here, no. The vault is encrypted on your device with a&#10;key made from your master password, and the server never receives the password&#10;or the key. The company can still see some account data, such as your email&#10;address. Check the vendor&amp;rsquo;s white paper for the exact list.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What happens if a password manager is hacked?&lt;/strong&gt;&#10;It depends on what was taken. A copy of the server gives the attacker locked&#10;vaults, and they then try to guess master passwords offline. The slow key&#10;derivation sets the cost per guess, and the strength of your master password&#10;sets how many guesses it takes. A weak one can fall in hours. A long random one&#10;holds, going by the chart above. If your own device is infected, the server&amp;rsquo;s&#10;design does not matter.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is PBKDF2 or Argon2id better?&lt;/strong&gt;&#10;Argon2id is built to need a lot of memory per guess, which makes graphics cards&#10;less useful for guessing. RFC 9106 gives recommended Argon2id settings, and OWASP lists it first.&#10;PBKDF2 is simpler and has FIPS 140 validated implementations, which is why&#10;OWASP says to prefer it where that is required. Both are fine at the vendors'&#10;default settings. The weakest link is still the master password.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does a passkey replace my password manager?&lt;/strong&gt;&#10;No. A passkey replaces the password for one site. Something still has to hold&#10;the passkeys, and many people use their password manager for that. The vault&#10;itself is still protected by the master password.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why does my vault take a moment to open?&lt;/strong&gt;&#10;That pause is the key derivation. On my laptop 600,000 rounds of PBKDF2 took&#10;about 67 ms. A slower phone takes longer. The cost is the same one the attacker&#10;pays on every guess.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-password-managers-store-passwords/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-password-managers-store-passwords/cheat-sheet.svg" alt="Password manager cheat sheet: the vault is encrypted on your device with a key from a slow hash (PBKDF2 or Argon2id). If a server leaks, a long random master password holds. Passkeys resist phishing." loading="lazy" decoding="async" width="640" height="590"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://bitwarden.com/help/bitwarden-security-white-paper/"&gt;Bitwarden security white paper&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bitwarden.com/help/kdf-algorithms/"&gt;Bitwarden: encryption key derivation (KDF algorithms)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://bitwarden.com/help/storing-passkeys/"&gt;Bitwarden: storing passkeys&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://agilebits.github.io/security-design/modernauth.html"&gt;1Password security design: making verifiers uncrackable with 2SKD&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://agilebits.github.io/security-design/leopard.html"&gt;1Password security design: vulnerability of server data&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html"&gt;OWASP password storage cheat sheet&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc8018.html"&gt;RFC 8018: PKCS #5, password-based cryptography&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.rfc-editor.org/rfc/rfc9106.html"&gt;RFC 9106: Argon2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.w3.org/TR/webauthn-2/"&gt;W3C Web Authentication, level 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://fidoalliance.org/passkeys/"&gt;FIDO Alliance: passkeys&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases"&gt;EFF: new wordlists for random passphrases&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;Idempotency keys explained&lt;/a&gt; on this site, for the other side of the &amp;ldquo;same request twice&amp;rdquo; problem&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How Your Phone Knows Where You Are: GPS, Wi-Fi and Cell Towers</title><link>https://loomloops.com/post/how-your-phone-knows-where-you-are/</link><pubDate>Thu, 12 Mar 2026 13:20:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-your-phone-knows-where-you-are/</guid><description>&lt;p&gt;You come out of a station in a city you do not know. The map shows a blue dot&#10;with a pale circle around it. The dot is on the street behind you. You walk ten&#10;steps and it jumps to the right place. Later, in a shopping centre, it puts you&#10;in the car park.&lt;/p&gt;&#10;&lt;p&gt;Same phone, same app. What changed is what the phone could hear. This post&#10;follows the dot from a satellite to your screen and shows where each step goes&#10;wrong.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;GPS is a stopwatch. Each satellite says when it sent a message. The phone&#10;measures how late it arrived and multiplies by the speed of light. It needs&#10;four satellites, because the fourth lets it find its own clock error too.&lt;/li&gt;&#10;&lt;li&gt;The signal is very faint and it bounces. Inside buildings and between tall&#10;ones, the phone leans on Wi-Fi routers and cell towers that sit in a database,&#10;and blends everything into one guess.&lt;/li&gt;&#10;&lt;li&gt;The pale circle is the phone admitting it is unsure. On Android it is a 68%&#10;circle, so about one time in three you are outside it. NIST tested phones in&#10;five buildings. In four, the average miss was 16 to 33 m. In the underground&#10;one, neither phone gave a usable fix.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="four-places-a-position-can-come-from"&gt;Four places a position can come from&lt;/h2&gt;&#10;&lt;p&gt;A phone does not use one method. It uses whatever it can hear:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Source&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What the phone listens to&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Works best&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Fails when&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;GPS and other satellite systems&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Radio from satellites about 20,000 km up&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Outside, with a view of the sky&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Walls, roofs, tall buildings&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Wi-Fi&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Names (IDs) of nearby routers&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Where many routers are mapped&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Few routers, or a moved router&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cell tower&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The tower it is already talking to&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Almost everywhere&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Always a wide circle&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Other sensors&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Air pressure, compass, Bluetooth&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;As a hint to the rest&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;They cannot find a place alone&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Apple&amp;rsquo;s support page lists &amp;ldquo;cellular, Wi-Fi, Global Positioning System (GPS)&#10;networks, and Bluetooth&amp;rdquo; as the things Location Services can use. The sections&#10;below take them one at a time, starting with the one that sounds like magic.&lt;/p&gt;&#10;&lt;h2 id="gps-a-stopwatch-not-a-compass"&gt;GPS: a stopwatch, not a compass&lt;/h2&gt;&#10;&lt;p&gt;GPS is the name of the American satellite system. Other countries run their own&#10;(Russia&amp;rsquo;s GLONASS, Europe&amp;rsquo;s Galileo, China&amp;rsquo;s BeiDou), and a phone can listen to&#10;several. I will say &amp;ldquo;GPS&amp;rdquo; for all of them.&lt;/p&gt;&#10;&lt;p&gt;The idea is simple. Every satellite carries an atomic clock and keeps&#10;repeating a message. The message says where the satellite is and when it sent&#10;the message. The GPS standard lists the contents: the time of transmission, the&#10;satellite&amp;rsquo;s position, its health, its clock correction and some corrections for&#10;the atmosphere.&lt;/p&gt;&#10;&lt;p&gt;Radio travels at the speed of light, about 300,000 km per second. So the delay&#10;tells you the distance.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/time-becomes-distance.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/time-becomes-distance.svg" alt="A GPS satellite sends its position and send time. The phone times the arrival: a 70 millisecond delay at the speed of light is about 21,000 km. One millisecond of error is 300 km, one microsecond 300 m." loading="lazy" decoding="async" width="640" height="400"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Some numbers, so the scale is clear. The satellites orbit about 20,200 km above&#10;the ground (Ashby&amp;rsquo;s review gives the orbit&amp;rsquo;s semi-major axis, 26,561.75 km from the&#10;centre of the Earth, and I took off the Earth&amp;rsquo;s radius). A signal from a satellite&#10;straight overhead takes about 67 ms. One near the horizon takes about 86 ms.&#10;Those two figures are my arithmetic.&lt;/p&gt;&#10;&lt;p&gt;Now the hard part. At 300 km per millisecond, a timing mistake of one&#10;microsecond (a millionth of a second) is 300 m. A mistake of one nanosecond is&#10;30 cm. Ashby&amp;rsquo;s review says the same: a one nanosecond timing error leads to a&#10;position error of the order of 30 cm. A phone that wants 5 m accuracy has to&#10;think in nanoseconds. It does not have an atomic clock.&lt;/p&gt;&#10;&lt;h2 id="why-the-phone-needs-four-satellites"&gt;Why the phone needs four satellites&lt;/h2&gt;&#10;&lt;p&gt;A phone has a cheap quartz clock, like the one in a watch. It is never exactly&#10;in step with the satellites. If it is off by a little, every distance it&#10;measures is wrong by the same amount. Engineers call these distances&#10;&lt;em&gt;pseudoranges&lt;/em&gt;, &amp;ldquo;fake distances&amp;rdquo;, for that reason.&lt;/p&gt;&#10;&lt;p&gt;Picture it on a flat map. Each distance is a circle around a satellite: &amp;ldquo;I am&#10;this far from here&amp;rdquo;. With a perfect clock, three circles meet at one point.&#10;With a wrong clock, every circle is too big by the same amount, and they miss&#10;each other.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/circles-and-clock.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/circles-and-clock.svg" alt="Left: with a perfect phone clock, three distance circles meet at the phone. Right: with a wrong clock every circle is too big by the same amount. Shrinking them until they meet gives the clock error." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The phone looks for the one amount it can take off every circle so that they&#10;all meet. That amount is its clock error. So a flat map needs three satellites&#10;to find three unknowns: east-west, north-south and the clock. The real world&#10;has height as well, so the phone needs four. Ashby&amp;rsquo;s review states it the same&#10;way: measurements from four satellites are needed for navigation.&lt;/p&gt;&#10;&lt;p&gt;I checked this with a short Python program, which I ran in a Linux container.&#10;Four made-up satellites sit at the GPS orbit radius. The phone is on the&#10;surface. Its clock is 2 ms off, an arbitrary number I picked. This is the part&#10;that makes the measurements:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;C &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;299_792_458&lt;/span&gt; &lt;span style="color:#6272a4"&gt;# metres per second&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;me &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;6_371_000&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;) &lt;span style="color:#6272a4"&gt;# where the phone really is&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;clock_error &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;2e-3&lt;/span&gt; &lt;span style="color:#6272a4"&gt;# the phone&amp;#39;s clock is 2 ms fast&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#6272a4"&gt;# what the phone measures to each satellite:&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;pseudo &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; [dist(sat, me) &lt;span style="color:#ff79c6"&gt;+&lt;/span&gt; C &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; clock_error &lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; sat &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; sats]&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The rest is a loop that guesses a position, checks the guess against the four&#10;measurements and corrects it a few times. I ran it twice on the same four&#10;readings. Once it solved only for position and pretended the clock was perfect.&#10;Once it solved for position and clock.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ignore the clock: off by 856 km&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;solve clock too : off by 0.0000 m, clock found = 2.000000 ms&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The whole script, which also does the relativity and signal-power arithmetic in&#10;this post, is &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/gps-fix.py"&gt;gps-fix.py&lt;/a&gt;. It uses only the&#10;Python standard library, so you can rerun it.&lt;/p&gt;&#10;&lt;p&gt;Ignoring the clock put the phone 856 km away. Solving for it found the position&#10;exactly and also recovered the 2 ms. A side effect: the phone gets very good&#10;time from GPS, not only a position.&lt;/p&gt;&#10;&lt;h2 id="the-clocks-on-the-satellites-also-need-einstein"&gt;The clocks on the satellites also need Einstein&lt;/h2&gt;&#10;&lt;p&gt;The satellites are in orbit, so their clocks tick at a different rate from ones&#10;on the ground. Two things pull in opposite directions:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Gravity.&lt;/strong&gt; The pull is weaker 20,000 km up. A clock in weaker gravity runs&#10;faster. This effect is about +45.7 microseconds per day.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Speed.&lt;/strong&gt; The satellites move at about 3.9 km per second. A moving clock runs&#10;slower. This effect is about -7.2 microseconds per day.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The two do not cancel. The net is that a satellite clock runs fast by about 38&#10;microseconds per day. ESA&amp;rsquo;s Navipedia gives the same figure. I recomputed the&#10;split with the textbook formulas in the same container and got +45.7, -7.2 and&#10;a net of about 38.5 microseconds per day, which agrees with it. The split is my&#10;arithmetic. Neither Ashby nor Navipedia states it.&lt;/p&gt;&#10;&lt;p&gt;At 300 km per millisecond, 38 microseconds is 11.4 km. If nobody fixed it, the&#10;position error would grow by that much every day.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/relativity-drift.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/relativity-drift.svg" alt="Line chart: without the relativity correction a GPS satellite clock gains about 38 microseconds per day, which is 11.4 km of range error after 1 day, 34 km after 3 days and 80 km after 7 days." loading="lazy" decoding="async" width="640" height="460"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The fix is made on the ground before launch. Navipedia says the clock&amp;rsquo;s nominal&#10;frequency of 10.23 MHz is lowered to 10.22999999543 MHz. Seen from the ground,&#10;the satellite then ticks at the right rate. Ashby&amp;rsquo;s abstract says that without&#10;carefully accounting for relativistic effects, the system would not work.&lt;/p&gt;&#10;&lt;p&gt;A smaller leftover effect comes from orbits that are not perfect circles. The&#10;receiver&amp;rsquo;s maths corrects that one. Navipedia says ignoring it gives range&#10;errors of up to 13 m.&lt;/p&gt;&#10;&lt;h2 id="why-gps-is-weak-indoors"&gt;Why GPS is weak indoors&lt;/h2&gt;&#10;&lt;p&gt;Three separate problems.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The signal is tiny.&lt;/strong&gt; The GPS standard says the satellites transmit with&#10;enough power for a minimum received power of -158.5 dBW on L1, the main civil&#10;signal. A dBW is a unit on a scale where every -10 means ten times less&#10;power than before, measured against one watt. As a number, -158.5 dBW is&#10;about 1.4 x 10^-16 watts, or 0.14 femtowatts. (A femtowatt is a millionth of a&#10;billionth of a watt. This conversion is my arithmetic.) Roofs and walls take&#10;more away. I did not find a published figure for how much, because it depends&#10;on the building.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;A building blocks the view.&lt;/strong&gt; The phone has to hear four satellites at once.&#10;GPS.gov says accuracy worsens near buildings, bridges and trees. Apple says&#10;&amp;ldquo;GPS accuracy depends on the number of visible GPS satellites&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The standard&amp;rsquo;s own accuracy figures assume a clear view.&lt;/strong&gt; The 2020 GPS&#10;standard promises a horizontal error of 8 m or less, 95% of the time, averaged&#10;over the globe. Its list of assumptions says &amp;ldquo;no local obscura are considered&amp;rdquo;.&#10;Obscura means things in the way. So the number says nothing about a street full&#10;of towers or a basement.&lt;/p&gt;&#10;&lt;h3 id="echoes-in-the-city"&gt;Echoes in the city&lt;/h3&gt;&#10;&lt;p&gt;Between tall buildings there is a fourth problem, and it is sneakier than&#10;silence. A signal can reflect off a wall and reach the phone late. An echo like&#10;this is called &lt;em&gt;multipath&lt;/em&gt;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/city-canyon.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/city-canyon.svg" alt="A street between tall buildings. The direct signal is blocked and a reflected copy takes a longer path, so the phone thinks the satellite is farther away and the blue dot can land on the wrong side of the street." loading="lazy" decoding="async" width="640" height="500"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The Android developers&amp;rsquo; blog explains why this hurts. The GPS chip assumes the&#10;signal came in a straight line. A bounced copy took a longer way, so the chip&#10;thinks the satellite is farther off than it is, and the position slides. Google&#10;describes the result as a &amp;ldquo;wrong-side-of-the-street position error&amp;rdquo;. In dense&#10;streets, they write, most or all signals reach you after a reflection.&lt;/p&gt;&#10;&lt;p&gt;Two things help:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;3D building maps.&lt;/strong&gt; In December 2020 Google described a module in Google Play&#10;services that downloads 3D models of the buildings around you. It works out&#10;which buildings are bouncing the signals, and it passes corrected positions to&#10;the Fused Location Provider (more on that below). Version 2 shipped on Pixel 5&#10;and Pixel 4a (5G). Google said other phones on Android 8 or later get&#10;version 1.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;A second frequency.&lt;/strong&gt; A study in the journal &lt;em&gt;NAVIGATION&lt;/em&gt; (2021) found that&#10;the newer L5 signal &amp;ldquo;shows a much better resistibility to multipath&amp;rdquo; than the&#10;older L1 signal. GPS.gov&amp;rsquo;s accuracy page says &amp;ldquo;most of today&amp;rsquo;s civilian&#10;devices use only one GPS frequency&amp;rdquo;, so this help is not everywhere.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-cold-start-and-the-a-in-a-gps"&gt;The cold start, and the &amp;ldquo;A&amp;rdquo; in A-GPS&lt;/h2&gt;&#10;&lt;p&gt;A phone that has not used GPS for hours has a different problem. To use a&#10;satellite it has to know where that satellite is. The satellite sends that&#10;orbit data itself, but slowly: the GPS standard gives the data rate as 50 bits&#10;per second, and the orbit data sits in a 30 second frame that repeats. So a&#10;phone that starts from nothing has to listen for tens of seconds before it can&#10;use even one satellite.&lt;/p&gt;&#10;&lt;p&gt;The 3GPP location spec (TS 36.305, clause 8.1.1) says assistance data reduces&#10;the start-up and acquisition times. It gives no figure. Without help, a cold start is typically minutes rather than seconds.&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Assisted GPS&lt;/em&gt; (A-GPS) skips most of that wait. The cell network sends the phone&#10;the satellite orbit data, the time and a rough position over the data&#10;connection, which is far faster than 50 bits per second. An explainer site (3gpp-explorer.com) lists&#10;these as the assistance data: ephemeris (orbit details), almanac (a&#10;coarser orbit list), time and approximate location. The phone still measures&#10;the satellites itself. The network only tells it where to listen.&lt;/p&gt;&#10;&lt;h2 id="wi-fi-a-database-of-routers"&gt;Wi-Fi: a database of routers&lt;/h2&gt;&#10;&lt;p&gt;Satellites are no use in a basement. Wi-Fi routers are, because they are&#10;everywhere indoors. Nobody told your phone where your neighbour&amp;rsquo;s router is.&#10;Other phones did.&lt;/p&gt;&#10;&lt;p&gt;Here is how the table gets filled. Phones hear the routers around them and&#10;report them together with their own position. Apple says that when Location&#10;Services is on, &amp;ldquo;your device will periodically send the geo-tagged locations of&#10;nearby Wi-Fi hotspots and cell towers to Apple&amp;rdquo;. NIST says both Apple and Google&#10;use anonymous crowdsourced data. After enough reports, the database knows&#10;roughly where each router sits.&lt;/p&gt;&#10;&lt;p&gt;Then the lookup works backwards. Your phone lists the routers it can hear, with&#10;their IDs and signal strength, and asks the server where that set is. (What&#10;those signal numbers in dBm mean is in &lt;a href="https://loomloops.com/post/why-wifi-is-slow-in-one-room/"&gt;why Wi-Fi is slow in one&#10;room&lt;/a&gt;.)&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/wifi-lookup.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/wifi-lookup.svg" alt="Wi-Fi positioning: the phone reports nearby access point IDs and signal strengths, and a server looks them up and returns a point with an accuracy radius. At least two access points are needed." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Mozilla ran an open-source location service, Ichnaea, until it was retired in&#10;2024. Its API docs are still online and show the shape of such services well. The request:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;&amp;#34;wifiAccessPoints&amp;#34;&lt;/span&gt;: [&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; { &lt;span style="color:#ff79c6"&gt;&amp;#34;macAddress&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;01:23:45:67:89:ab&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;signalStrength&amp;#34;&lt;/span&gt;: &lt;span style="color:#bd93f9"&gt;-51&lt;/span&gt; },&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; { &lt;span style="color:#ff79c6"&gt;&amp;#34;macAddress&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;01:23:45:67:89:cd&amp;#34;&lt;/span&gt; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A &lt;code&gt;macAddress&lt;/code&gt; is the router&amp;rsquo;s hardware ID. The reply is a point and a radius in&#10;metres:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{ &lt;span style="color:#ff79c6"&gt;&amp;#34;location&amp;#34;&lt;/span&gt;: { &lt;span style="color:#ff79c6"&gt;&amp;#34;lat&amp;#34;&lt;/span&gt;: &lt;span style="color:#bd93f9"&gt;-22.7539192&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;lng&amp;#34;&lt;/span&gt;: &lt;span style="color:#bd93f9"&gt;-43.4371081&lt;/span&gt; }, &lt;span style="color:#ff79c6"&gt;&amp;#34;accuracy&amp;#34;&lt;/span&gt;: &lt;span style="color:#bd93f9"&gt;100.0&lt;/span&gt; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Those are the example values from the docs. Four details from the same page are&#10;worth knowing:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A Wi-Fi lookup needs at least two networks. The docs call the two-network&#10;minimum &amp;ldquo;a mandatory privacy restriction&amp;rdquo;. A lookup with one router would&#10;point at a single home.&lt;/li&gt;&#10;&lt;li&gt;Only the ID is required. In the example above, the second router has no signal&#10;strength.&lt;/li&gt;&#10;&lt;li&gt;The accuracy is a 95% circle: &amp;ldquo;The user&amp;rsquo;s true position should be inside the&#10;circle with a 95th percentile confidence value.&amp;rdquo;&lt;/li&gt;&#10;&lt;li&gt;If nothing else works, the service falls back to the sender&amp;rsquo;s IP address, and&#10;the docs&amp;rsquo; example for that case reports an accuracy of 600,000 m.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;A router that moves house keeps its old record until phones report the new&#10;place. I did not find a published rate for how often this happens, so I will&#10;only say it follows from how the table is built.&lt;/p&gt;&#10;&lt;h2 id="cell-towers"&gt;Cell towers&lt;/h2&gt;&#10;&lt;p&gt;Your phone always knows which tower it is talking to, even where there is no&#10;Wi-Fi and no sky. The tower is identified by a handful of numbers (Ichnaea&#10;needs five of them for a lookup: radio type, country code, network code, area&#10;code and cell ID). The database says where that tower is. The answer is a wide&#10;circle around it. It is the safety net: poor, but nearly always there.&lt;/p&gt;&#10;&lt;h2 id="fusing-it-all-into-one-dot"&gt;Fusing it all into one dot&lt;/h2&gt;&#10;&lt;p&gt;The operating system takes every guess and mixes them. Android&amp;rsquo;s Fused Location&#10;Provider uses &amp;ldquo;signals provided by multiple sensors in the device to determine&#10;device location&amp;rdquo; and manages &amp;ldquo;the underlying location technologies, such as GPS&#10;and Wi-Fi&amp;rdquo;. An app tells it how much accuracy to pay for: the most accurate&#10;data available, or the best it can do with no extra power. Apple&amp;rsquo;s Core&#10;Location does the same job.&lt;/p&gt;&#10;&lt;p&gt;How they mix is not public. NIST, who tested both, wrote that Google and Apple&#10;&amp;ldquo;do not reveal how exactly&amp;rdquo; the two work. It also says both use crowdsourced&#10;cell, satellite and Wi-Fi signals plus air pressure, and that Apple&amp;rsquo;s also uses&#10;the compass and Bluetooth.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/fused-estimate.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/fused-estimate.svg" alt="Overlapping circles on a map: a huge cell tower circle, a large weak indoor GPS circle and a medium Wi-Fi circle. The small blue fused answer sits where they overlap. Illustration, not measured." loading="lazy" decoding="async" width="640" height="500"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h3 id="what-the-pale-circle-means"&gt;What the pale circle means&lt;/h3&gt;&#10;&lt;p&gt;The pale circle that apps draw comes from a radius the phone reports with every&#10;fix. It is not decoration. Android&amp;rsquo;s documentation says &lt;code&gt;getAccuracy()&lt;/code&gt; gives&#10;&amp;ldquo;the estimated horizontal accuracy radius in meters of this location at the 68th&#10;percentile confidence level&amp;rdquo;. In words: there is a 68% chance the true spot is&#10;inside the circle. About one time in three you are outside it.&lt;/p&gt;&#10;&lt;p&gt;That 68% is not the same as the other numbers you read:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Figure&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it is&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Confidence&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4.9 m&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;GPS.gov: smartphones are &amp;ldquo;typically accurate to within a 4.9 m (16 ft.) radius under open sky&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&amp;ldquo;typically&amp;rdquo;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;8 m&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The GPS standard, horizontal, global average, nobody in the way&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;95%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;16 to 33 m&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;NIST, average miss indoors, four buildings, two phones (next section)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;the mean&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;33 to 109 m&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;NIST, indoors, same tests&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;95%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;50 m&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;FCC rule for emergency calls, for 80% of calls (quoted in the NIST paper)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;80%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Android&amp;rsquo;s circle&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Whatever the phone reports at the time&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;68%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Apple&amp;rsquo;s circle&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;horizontalAccuracy&lt;/code&gt;, a radius of uncertainty&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Apple does not state a confidence level&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Ichnaea&amp;rsquo;s circle&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Whatever the lookup reports&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;95%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;When one page says &amp;ldquo;accurate to 5 m&amp;rdquo; and another says &amp;ldquo;within 30 m&amp;rdquo;, check the&#10;percentage before deciding which one is lying. Often neither is.&lt;/p&gt;&#10;&lt;h2 id="why-the-blue-dot-drifts-indoors"&gt;Why the blue dot drifts indoors&lt;/h2&gt;&#10;&lt;p&gt;NIST, the US standards lab, measured this. A tester walked two phones&#10;through five of its buildings, over almost 1,300 professionally surveyed test&#10;points, so the true position was known. They carried a Google Pixel XL&#10;(Android 9) and an iPhone 8 (iOS 11.4.1). Before most walks they stood outside&#10;for 2 to 3 minutes to be sure of a good GPS fix. The paper was published in 2019. The&#10;phones are old now, so read it as a picture of how the method behaves, not a&#10;ranking of today&amp;rsquo;s models.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/indoor-errors-nist.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/indoor-errors-nist.svg" alt="Bar chart of NIST indoor error in five buildings for a Pixel XL and an iPhone 8. Mean error was 15.5 to 33.2 m in four buildings. In the underground building with 4 routers neither phone got a usable fix." loading="lazy" decoding="async" width="640" height="500"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;What the chart shows:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;The average miss was 16 to 33 m, and the bad end was much worse.&lt;/strong&gt; In&#10;Building 2, Apple&amp;rsquo;s 95% line was 109 m. The standard&amp;rsquo;s 8 m is for a clear sky.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Two kinds of failure.&lt;/strong&gt; The first is wobble: the same spot gave different&#10;answers on different visits. NIST says it saw &amp;ldquo;significant variation&amp;rdquo; in&#10;estimates at the same point for both phones. The second is a frozen dot. In&#10;Building 1, which is underground, there was no cell signal and no satellite signal&#10;anywhere, and no Wi-Fi in roughly 85% of the floor area (it had 4 routers). The iPhone kept sending updates, but all of&#10;them repeated the last estimate from outside. The Android phone gave no&#10;updates inside, except a few in a small area. NIST says the same can happen in&#10;a multi-level underground car park without Wi-Fi.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;More routers did not give a smaller miss.&lt;/strong&gt; Building 5 had 131 and averaged&#10;19 and 31 m. Building 4 had 8 and averaged 17 and 17 m. The buildings, the&#10;floors and the paths all differ, so this is not a clean test. It does show&#10;that the number of routers is not the whole story.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Wi-Fi is the reason indoor fixes work at all.&lt;/strong&gt; The paper says both phones&#10;met the FCC&amp;rsquo;s 50 m rule for emergency calls, with the caveat that &amp;ldquo;the&#10;building has to have Wi-Fi for these gains to materialize&amp;rdquo;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Now the full list of reasons the dot drifts. Each one is a step above:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;GPS is weak or full of echoes, so its circle is wide.&lt;/li&gt;&#10;&lt;li&gt;The fallbacks (Wi-Fi, cell) have wider circles than clear-sky GPS.&lt;/li&gt;&#10;&lt;li&gt;The mix is a judgement. When the sources disagree, the blend moves.&lt;/li&gt;&#10;&lt;li&gt;When no source updates, the phone shows the last fix.&lt;/li&gt;&#10;&lt;li&gt;Floors are a problem of their own. NIST reports height errors separately,&#10;and for Android in Building 5 an elevation was missing at almost 4 in 10&#10;test points.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Does GPS work without an internet connection?&lt;/strong&gt;&#10;Yes. The satellites only broadcast, and the phone only listens, so the position&#10;needs no data connection. What the connection adds is speed (A-GPS) and the&#10;Wi-Fi and cell lookups. Without it, a cold start is typically minutes rather than seconds, and the phone cannot download map tiles.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does GPS track me?&lt;/strong&gt;&#10;The satellites only broadcast, so they do not know you exist. GPS.gov describes&#10;the user part of the system as receiver equipment that &amp;ldquo;receives the signals&#10;from the GPS satellites&amp;rdquo;. Tracking comes from what&#10;an app does with the position afterwards, and from the Wi-Fi and cell lookups,&#10;which do involve a server. Apple says that with Location Services on, your&#10;device periodically sends the geo-tagged locations of nearby Wi-Fi hotspots and&#10;cell towers to Apple.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why does my location jump around indoors?&lt;/strong&gt;&#10;The phone loses the satellites and falls back on Wi-Fi and cell towers, which&#10;give wide circles. As sources come and go, the blend moves. In the NIST tests&#10;the answers for one spot varied a lot from visit to visit.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How accurate is phone GPS?&lt;/strong&gt;&#10;GPS.gov says a smartphone is typically accurate to within 4.9 m under open sky,&#10;and worse near buildings, bridges and trees. The GPS standard commits to 8 m or&#10;less, 95% of the time, on average over the globe, for a receiver with a clear&#10;view.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why does GPS need relativity?&lt;/strong&gt;&#10;The satellite clocks run about 38 microseconds a day fast compared with the&#10;ground, because of weaker gravity and high speed. At the speed of light, that is&#10;about 11 km of error per day. The clocks are set slightly slow before launch to&#10;cancel it.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can a phone find me with GPS off?&lt;/strong&gt;&#10;Often yes, if the phone&amp;rsquo;s location switch is on. Apple says that when satellites&#10;are blocked, the device uses Wi-Fi or cellular networks. The result is rougher.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-your-phone-knows-where-you-are/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-your-phone-knows-where-you-are/cheat-sheet.svg" alt="Cheat sheet for how your phone knows where you are: time is distance (1 microsecond is 300 m), four satellites give x, y, z and the clock error, and indoors the NIST average miss was 16 to 33 m." loading="lazy" decoding="async" width="640" height="600"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://archive.gps.gov/systems/gps/performance/accuracy/"&gt;GPS.gov: GPS accuracy&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.gps.gov/sites/default/files/2025-07/2020-SPS-performance-standard.pdf"&gt;GPS Standard Positioning Service Performance Standard, 5th edition, April 2020&lt;/a&gt; (signal power, message contents, the 8 m figure and its assumptions)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC5253894/"&gt;Ashby, &amp;ldquo;Relativity in the Global Positioning System&amp;rdquo;, Living Reviews in Relativity, 2003&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://gssc.esa.int/navipedia/index.php/Relativistic_Clock_Correction"&gt;ESA Navipedia: Relativistic Clock Correction&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nist.gov/document/indoor-localization-accuracy-major-smartphone-location-apps"&gt;Moayeri, Li and Shi (NIST): Indoor Localization Accuracy of Major Smartphone Location Apps, IEEE WCNC 2019&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://android-developers.googleblog.com/2020/12/improving-urban-gps-accuracy-for-your.html"&gt;Android Developers Blog: Improving urban GPS accuracy for your app, December 2020&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://developer.android.com/reference/android/location/Location"&gt;Android reference: Location.getAccuracy()&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://developers.google.com/location-context/fused-location-provider"&gt;Android: Fused Location Provider&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.apple.com/en-us/102515"&gt;Apple Support: About privacy and Location Services&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://ichnaea.readthedocs.io/en/latest/api/geolocate.html"&gt;Mozilla Ichnaea: Geolocate API (service retired 2024)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://navi.ion.org/content/68/4/727"&gt;Ng, Zhang, Luo and Hsu: Urban positioning: 3D mapping-aided GNSS using dual-frequency pseudorange measurements from smartphones, NAVIGATION, 2021&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.etsi.org/deliver/etsi_ts/136300_136399/136305/"&gt;3GPP TS 36.305: stage 2 functional specification of UE positioning in E-UTRAN&lt;/a&gt; (clause 8.1.1, assistance data)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://3gpp-explorer.com/glossary/a-gps/"&gt;3GPP Explorer: A-GPS&lt;/a&gt; (an explainer site, not the specification)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How Card Payments Work: Authorisation, Settlement and Fees</title><link>https://loomloops.com/post/how-card-payments-work/</link><pubDate>Thu, 08 Jan 2026 08:30:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-card-payments-work/</guid><description>&lt;p&gt;You tap your card for a coffee. The terminal beeps. A few seconds later your&#10;banking app shows &amp;ldquo;pending 4.00&amp;rdquo;. Two days later the word pending goes away.&#10;Nothing you could see happened in between.&lt;/p&gt;&#10;&lt;p&gt;At a petrol pump it is stranger. The app shows 100 pending, you pumped 43 worth&#10;of fuel, and a day later the line says 43. At a restaurant it goes the other&#10;way: the pending amount is the bill, and the final amount is the bill plus the&#10;tip.&lt;/p&gt;&#10;&lt;p&gt;All of this is one process with three stages, and the stages happen on different&#10;days. This post follows one EUR 4.00 coffee through them.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Four companies sit between your tap and the shop&amp;rsquo;s bank account: the&#10;merchant, the acquirer, the card network and the issuer.&lt;/li&gt;&#10;&lt;li&gt;The tap only asks &amp;ldquo;may we take this?&amp;rdquo; and gets a yes. That is an&#10;authorisation. It puts a hold on your balance, and no money moves. The money&#10;moves one to three business days later, in settlement.&lt;/li&gt;&#10;&lt;li&gt;Pending is a hold, not a charge. The shop sends the final amount later, so a&#10;tip, a fuel pump or a hotel stay can end up higher or lower.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="who-is-in-the-room"&gt;Who is in the room&lt;/h2&gt;&#10;&lt;p&gt;Five parties are involved. You are one of them. The other four have names that&#10;sound alike, so here they are in the order a tap travels:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/four-parties.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/four-parties.svg" alt="The four parties in a card payment: the merchant’s terminal asks the acquirer, which asks the card network, which asks the issuer (your bank). The answer returns the same way in about a second." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Merchant:&lt;/strong&gt; the shop that sells you the coffee.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Acquirer:&lt;/strong&gt; the merchant&amp;rsquo;s payment company. It &amp;ldquo;acquires&amp;rdquo; the shop&amp;rsquo;s card&#10;payments, so it receives them from the shop and pays the shop. Small shops&#10;often reach an acquirer through a payment provider, so the name on the&#10;terminal may not be a bank.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Card network:&lt;/strong&gt; Visa or Mastercard, for example. It carries messages&#10;between acquirers and issuers and sets the rules both sides follow.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Issuer:&lt;/strong&gt; the bank that gave you the card. It owns your account, so only it&#10;can say yes.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The EU&amp;rsquo;s card fee law, &lt;a href="https://eur-lex.europa.eu/eli/reg/2015/751/oj/eng"&gt;Regulation 2015/751&lt;/a&gt;,&#10;defines the issuer as the provider that gives the payer the card, and the acquirer&#10;as the provider that contracts with the payee to accept and process the payment.&#10;A few schemes have only three parties, because the network also acts as issuer&#10;or acquirer. The Regulation treats those separately.&lt;/p&gt;&#10;&lt;p&gt;It is a huge system. In the second half of 2024, people in the euro area made&#10;44.3 billion card payments, worth EUR 1.7 trillion. That is about EUR 39 per&#10;payment, and about 750 million cards, or 2.1 per person&#10;(&lt;a href="https://www.ecb.europa.eu/press/stats/paysec/html/ecb.pis2024h2~5ada0087d2.en.html"&gt;ECB&lt;/a&gt;).&#10;Two thirds of them were contactless taps (&lt;a href="https://loomloops.com/post/how-contactless-payment-nfc-works/"&gt;how a card with no battery&#10;answers a tap&lt;/a&gt;):&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/card-payments-euro-area.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/card-payments-euro-area.svg" alt="Stacked bars of euro area card payments in the second half of 2024: 44.3 billion payments worth EUR 1.7 trillion. Remote is 18% of the count but 28% of the value. Source: European Central Bank." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The ECB publishes the 18% and 28% remote shares, the 29.5 billion contactless&#10;count and its EUR 0.8 trillion value. I worked out the other-in-person slice&#10;from those. Online payments are fewer than in-person ones, but each one is larger&#10;on average.&lt;/p&gt;&#10;&lt;h2 id="stage-1-authorisation-about-a-second"&gt;Stage 1: authorisation, about a second&lt;/h2&gt;&#10;&lt;p&gt;The terminal has no idea whether your account holds EUR 4.00. Only the issuer&#10;knows. So the terminal asks, and the question travels the whole chain:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/one-second.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/one-second.svg" alt="The second after you tap: the terminal, acquirer, network and issuer pass the request along, the issuer checks card, money and fraud signals, and the answer returns. No money has moved yet." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The messages between acquirers and issuers follow an international standard,&#10;&lt;a href="https://www.iso.org/standard/79451.html"&gt;ISO 8583&lt;/a&gt;. It defines the structure and&#10;format of messages that originate from payment cards. &amp;ldquo;A second or two&amp;rdquo; is a rule&#10;of thumb, not a published limit.&lt;/p&gt;&#10;&lt;p&gt;If the issuer says yes, it does not take the money. It puts a &lt;strong&gt;hold&lt;/strong&gt; on it:&#10;your balance stays the same, but the amount you can spend goes down by EUR 4.00.&#10;That is why your app shows pending. Stripe&amp;rsquo;s explainer on&#10;&lt;a href="https://stripe.com/gb/resources/more/authorization-holds-explained"&gt;authorisation holds&lt;/a&gt;&#10;says the same: only the issuer or the charging business can release a hold, and&#10;you cannot.&lt;/p&gt;&#10;&lt;p&gt;The yes also covers the shop. The Visa guide for restaurants mentions&#10;&amp;ldquo;authorization-related disputes&amp;rdquo;, which tells you an authorisation is the shop&amp;rsquo;s&#10;cover against that kind of dispute. So shops want one for every sale.&lt;/p&gt;&#10;&lt;h2 id="stage-2-and-3-clearing-and-settlement-a-day-or-two"&gt;Stage 2 and 3: clearing and settlement, a day or two&lt;/h2&gt;&#10;&lt;p&gt;Authorisation is a promise. Nothing has been paid. Two more steps follow, and&#10;they run in batches, not in real time.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/three-days.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/three-days.svg" alt="A card payment in three stages: authorisation at the till (a EUR 4.00 hold, no money moves), clearing in an evening batch, and settlement on day 1 to 3, when the cafe is paid EUR 4.00 minus fees." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Clearing&lt;/strong&gt; is the paperwork. The shop sends its day of authorised sales to its&#10;acquirer as one group. Overnight, the acquirer forwards them to the card&#10;networks. This is the moment the final amount is known, and the moment the fees&#10;are worked out.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Settlement&lt;/strong&gt; is the money. The issuer pays through the network to the acquirer,&#10;and the acquirer pays the shop. Stripe&amp;rsquo;s guide says settlement&#10;&lt;a href="https://stripe.com/resources/more/payment-settlement-explained-how-it-works-and-how-long-it-takes"&gt;&amp;ldquo;usually takes one to three business days&amp;rdquo;&lt;/a&gt;,&#10;and that the shop is credited with the gross amount minus interchange, acquiring&#10;fees and other charges. Weekends and bank holidays are not business days, so a&#10;Friday coffee can settle on Tuesday.&lt;/p&gt;&#10;&lt;p&gt;On some networks the authorisation and the clearing are two separate messages.&#10;The US Federal Reserve calls these dual-message networks, and they carried 71.4%&#10;of US debit card volume in 2023. They traditionally handled signature payments.&#10;Single-message networks, traditionally PIN payments, did the same job in one&#10;message (&lt;a href="https://www.federalreserve.gov/paymentsystems/2023-interchange-fee.htm"&gt;Fed report&lt;/a&gt;).&lt;/p&gt;&#10;&lt;p&gt;Here is why two messages matter. The authorisation and the clearing record can&#10;carry different amounts. This is a made-up, simplified pair for a restaurant&#10;bill. The field names are not real ISO 8583 fields:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{ &lt;span style="color:#ff79c6"&gt;&amp;#34;step&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;authorisation&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;amount&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;100.00&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;currency&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;EUR&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;merchant_category&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;5812&amp;#34;&lt;/span&gt; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{ &lt;span style="color:#ff79c6"&gt;&amp;#34;step&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;clearing&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;amount&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;118.00&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;currency&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;EUR&amp;#34;&lt;/span&gt;, &lt;span style="color:#ff79c6"&gt;&amp;#34;approval_code&amp;#34;&lt;/span&gt;: &lt;span style="color:#f1fa8c"&gt;&amp;#34;A1B2C3&amp;#34;&lt;/span&gt; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Category 5812 is the merchant category code for eating places. The 18.00 difference is the tip,&#10;added after the card was read.&lt;/p&gt;&#10;&lt;h2 id="who-takes-the-fees"&gt;Who takes the fees&lt;/h2&gt;&#10;&lt;p&gt;The shop never receives EUR 4.00. It receives EUR 4.00 minus a &lt;strong&gt;merchant service&#10;charge&lt;/strong&gt;, the fee a shop pays its acquirer for card payments. It has three&#10;parts:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Part&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Goes to&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it is&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Interchange fee&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;the issuer&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A fee on every payment, paid between the two banks&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Scheme fee&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;the card network&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The network&amp;rsquo;s fee for carrying the messages and running the rules&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Acquirer margin&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;the acquirer&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;What the acquirer keeps&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The Regulation defines the interchange fee as a fee paid for each transaction&#10;between the issuer and the acquirer. The three-part split of the merchant fee&#10;comes from the European Commission&amp;rsquo;s&#10;&lt;a href="https://op.europa.eu/en/publication-detail/-/publication/79f1072d-d6c2-11ea-adf7-01aa75ed71a1"&gt;2020 study of the Regulation&lt;/a&gt;.&#10;The Regulation also says an acquirer must show the shop each fee separately,&#10;unless the shop asks in writing for one blended price (Article 9).&lt;/p&gt;&#10;&lt;h3 id="what-the-law-caps"&gt;What the law caps&lt;/h3&gt;&#10;&lt;p&gt;In the EU, interchange on consumer cards is capped by law. Articles 3 and 4 of&#10;the Regulation set 0.2% of the payment value for consumer debit cards and 0.3%&#10;for consumer credit cards. They apply when both the issuer and the acquirer are&#10;in the EU, and not to company cards or to cards from three-party schemes&#10;(Article 1). The caps apply from 9 December 2015. Member states may set lower&#10;caps for their own domestic payments.&lt;/p&gt;&#10;&lt;p&gt;On the EUR 4.00 coffee, the cap works out like this:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Card&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Cap&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Largest interchange on EUR 4.00&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Consumer debit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.2%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;EUR 0.008 (0.8 cents)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Consumer credit&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0.3%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;EUR 0.012 (1.2 cents)&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Scheme fees and the acquirer margin are not set by those two articles. They&#10;come from contracts.&lt;/p&gt;&#10;&lt;h3 id="what-it-looks-like-in-the-us"&gt;What it looks like in the US&lt;/h3&gt;&#10;&lt;p&gt;The US caps debit interchange for larger issuers under a rule called Regulation&#10;II. In the Federal Reserve&amp;rsquo;s 2023 data, the base cap was 21 cents plus 0.05% of&#10;the payment, plus a 1 cent fraud adjustment. Smaller issuers are exempt from it.&#10;The effect shows in the average fees:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/debit-fees-chart.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/debit-fees-chart.svg" alt="Bar chart of average cents per US debit transaction in 2023: issuer cost 4.1, network fees 12.9, interchange 22.2 to 24.1 on covered transactions and 52 on exempt ones. Source: Federal Reserve Board." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&amp;ldquo;Covered&amp;rdquo; means covered by the cap. US networks processed 100.7 billion debit&#10;and prepaid transactions worth $4.7 trillion in 2023, so the average one was&#10;about $46. The Fed also found that network fees were 0.28% of the transaction&#10;value on average.&lt;/p&gt;&#10;&lt;p&gt;Interchange is not only a payment for processing. The issuer also carries&#10;fraud and credit risk. For covered issuers, the Fed found that fraud losses were&#10;17.6 basis points of the value. Merchants absorbed 49.9% of those losses,&#10;issuers 28.3% and cardholders 21.8%. That split is why the next stage matters&#10;to a shop.&lt;/p&gt;&#10;&lt;h2 id="why-a-pending-charge-changes"&gt;Why a pending charge changes&lt;/h2&gt;&#10;&lt;p&gt;Pending is a hold. The shop sends the real amount in the clearing step, and the&#10;issuer replaces the hold with it. The amount can change in either direction:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/hold-vs-final.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/hold-vs-final.svg" alt="Hold versus final charge, with example amounts: a restaurant hold of 100.00 ends at 118.00 with the tip, a fuel hold of 100.00 ends at 43.00, and a hotel hold of 200.00 ends at 165.00." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Restaurants.&lt;/strong&gt; Visa&amp;rsquo;s guide for restaurants says the common US practice is to&#10;authorise the bill and add the tip afterwards. Restaurants, bars and fast food&#10;(merchant categories 5812, 5813 and 5814) may add up to 20% to the authorised&#10;amount with no liability for authorisation-related disputes. If the tip goes&#10;over 20%, Visa recommends a new authorisation. Visa also says merchants must&#10;not add an estimated tip to the authorisation. That guide is US guidance from&#10;2019, so other regions and networks may differ.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Fuel.&lt;/strong&gt; Stripe says pay-at-the-pump payments &amp;ldquo;typically start with a preset&#10;authorisation amount&amp;rdquo;. The pump does not know how much you will pump. The&#10;final charge reflects the fuel dispensed, and the unused part is released.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Hotels.&lt;/strong&gt; Hotels &amp;ldquo;commonly place authorisation holds at check-in to cover the&#10;room, taxes and potential incidentals&amp;rdquo;. The final charge is set at check-out.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The amounts in the picture are made up to show the shape. Real holds depend on&#10;the shop, the network and the bank.&lt;/p&gt;&#10;&lt;h2 id="when-it-breaks"&gt;When it breaks&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;A hold that does not go away.&lt;/strong&gt; If a shop neither collects the money nor&#10;releases the hold within some window, the issuer releases it by itself. Stripe says&#10;holds &amp;ldquo;typically last a few days to a week or so&amp;rdquo;, and hotel holds can last a&#10;few weeks. A hold from a failed or cancelled attempt can sit next to the real&#10;charge for a while, so it looks like a double charge. It is two authorisations,&#10;and one of them falls away.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;A hold that falls away too early.&lt;/strong&gt; If the shop waits too long to collect, the&#10;hold is gone. The shop then has to ask again, and the answer can now be no.&#10;That is one reason shops collect quickly.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;A tip that is too big.&lt;/strong&gt; Past the 20% allowance, the shop no longer has the&#10;&amp;ldquo;no liability for authorisation-related disputes&amp;rdquo; cover. That is why Visa&#10;recommends a new authorisation for the extra amount.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Showing &amp;ldquo;pending&amp;rdquo; is the bank&amp;rsquo;s choice.&lt;/strong&gt; The card networks have authorisations&#10;and clearing records. What your app calls pending, and when the line turns into&#10;a posted one, is the bank&amp;rsquo;s own screen. Two banks can show the same payment&#10;differently.&lt;/p&gt;&#10;&lt;h2 id="refunds-and-chargebacks"&gt;Refunds and chargebacks&lt;/h2&gt;&#10;&lt;p&gt;Both give you money back. They start in different places.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/refund-vs-chargeback.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/refund-vs-chargeback.svg" alt="Refund versus chargeback: a refund starts at the merchant and is a new credit entry, not an undo. A chargeback starts with you, goes through your bank, and may end in arbitration by the network." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;A &lt;strong&gt;refund&lt;/strong&gt; is the shop&amp;rsquo;s choice. The shop sends a credit back through the&#10;same chain. It is a new entry, not an undo of the old one, and it takes days to&#10;show up for the same reasons the payment did. If the shop cancels before&#10;clearing, the hold simply falls away.&lt;/p&gt;&#10;&lt;p&gt;A &lt;strong&gt;chargeback&lt;/strong&gt; is your bank&amp;rsquo;s move. Mastercard&amp;rsquo;s&#10;&lt;a href="https://developer.mastercard.com/mastercom-extended/documentation/dispute-resolution-cycle/"&gt;dispute documentation&lt;/a&gt;&#10;describes the steps. The issuer sends a first chargeback. The acquirer can&#10;accept it, or answer with a second presentment (also called representment), if&#10;it thinks the chargeback did not meet the rules or it can address the dispute&#10;reason. If the issuer still disagrees, it files a case, and in arbitration the&#10;network decides who is responsible.&lt;/p&gt;&#10;&lt;p&gt;For US credit cards, a federal law adds deadlines. The FTC says a written&#10;dispute has to reach the issuer within 60 days of the first bill with the error.&#10;The issuer must acknowledge it in 30 days and resolve it in 90. The same page&#10;says federal law limits your responsibility for unauthorised charges to $50&#10;(&lt;a href="https://consumer.ftc.gov/articles/using-credit-cards-and-disputing-charges"&gt;FTC&lt;/a&gt;).&#10;Other countries and networks have their own limits.&lt;/p&gt;&#10;&lt;h2 id="if-you-build-on-top-of-this"&gt;If you build on top of this&lt;/h2&gt;&#10;&lt;p&gt;A payment is several events, not one row. An authorisation, a capture, a refund&#10;and a dispute each arrive separately and can arrive twice. Keep one entry per&#10;event. Keep money as integers in minor units, as in&#10;&lt;a href="https://loomloops.com/post/store-money-in-database/"&gt;How to Store Money in a Database Without Losing Cents&lt;/a&gt;.&#10;Post the entries in a ledger that has to balance, as in&#10;&lt;a href="https://loomloops.com/post/double-entry-ledger-postgres/"&gt;Double-Entry Ledger in Postgres&lt;/a&gt;. When the&#10;provider&amp;rsquo;s settlement report comes in, match it to your ledger, as in&#10;&lt;a href="https://loomloops.com/post/payment-reconciliation/"&gt;Payment Reconciliation in SQL&lt;/a&gt;. A retry of a&#10;charge request must not take the money twice, which is what&#10;&lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;Idempotency Keys Explained&lt;/a&gt; is about.&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Why is my card payment still pending?&lt;/strong&gt;&#10;Pending is a hold that the issuer placed after saying yes. It stays until the&#10;shop sends the final amount and the issuer posts it, usually within a few days.&#10;If the shop never collects, the issuer releases the hold on its own.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How long does a card payment take to settle?&lt;/strong&gt;&#10;For the shop, usually one to three business days after the sale, according to&#10;Stripe. Your bank decides when your line stops being pending, and that can be&#10;sooner or later than the shop&amp;rsquo;s payout.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does the shop get the full amount?&lt;/strong&gt;&#10;No. It gets the amount minus the merchant service charge: interchange, the&#10;network&amp;rsquo;s scheme fee and the acquirer&amp;rsquo;s margin. In the EU, the interchange part&#10;on consumer cards is capped at 0.2% for debit and 0.3% for credit.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is the difference between a refund and a chargeback?&lt;/strong&gt;&#10;A refund starts with the shop, which sends the money back. A chargeback starts&#10;with your bank, after you dispute the charge, and the shop gets a chance to&#10;answer with proof. A refund usually ends the matter. A chargeback can end in&#10;the shop winning.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can a shop charge more than the hold?&lt;/strong&gt;&#10;Sometimes. Restaurants may add up to 20% for the tip without a new&#10;authorisation under Visa&amp;rsquo;s guidance. Beyond that, Visa recommends asking again.&#10;Fuel and hotel final amounts depend on what you used.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-card-payments-work/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-card-payments-work/cheat-sheet.svg" alt="Card payments cheat sheet: authorise in about a second with a hold, clear in a batch, settle in one to three business days net of fees. A refund is a new entry; a chargeback starts at your bank." loading="lazy" decoding="async" width="640" height="530"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://eur-lex.europa.eu/eli/reg/2015/751/oj/eng"&gt;Regulation (EU) 2015/751 on interchange fees for card-based payment transactions&lt;/a&gt;, EUR-Lex&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ecb.europa.eu/press/stats/paysec/html/ecb.pis2024h2~5ada0087d2.en.html"&gt;ECB payments statistics, second half of 2024&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.federalreserve.gov/paymentsystems/2023-interchange-fee.htm"&gt;Federal Reserve: 2023 interchange fee revenue, covered issuer costs and fraud losses&lt;/a&gt; (report published December 2025)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://usa.visa.com/content/dam/VCOM/regional/na/us/run-your-business/documents/chip-payment-accept-restaurants-feb2019.pdf"&gt;Visa: EMV payment acceptance for restaurant merchants (tips and gratuities)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://developer.mastercard.com/mastercom-extended/documentation/dispute-resolution-cycle/"&gt;Mastercard: dispute resolution cycle&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://consumer.ftc.gov/articles/using-credit-cards-and-disputing-charges"&gt;FTC: using credit cards and disputing charges&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.iso.org/standard/79451.html"&gt;ISO 8583:2023, financial transaction card originated messages&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://stripe.com/gb/resources/more/authorization-holds-explained"&gt;Stripe: authorisation holds explained&lt;/a&gt; and &lt;a href="https://stripe.com/resources/more/payment-settlement-explained-how-it-works-and-how-long-it-takes"&gt;how payment settlement works&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/store-money-in-database/"&gt;How to Store Money in a Database Without Losing Cents&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/double-entry-ledger-postgres/"&gt;Double-Entry Ledger in Postgres: Enforce the Rules in the Database&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/payment-reconciliation/"&gt;Payment Reconciliation in SQL: Match Your Ledger to the Bank&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;Idempotency Keys Explained: How to Make API Retries Safe&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>Why Is Wi-Fi Slow in One Room? Bands, Walls and Channels</title><link>https://loomloops.com/post/why-wifi-is-slow-in-one-room/</link><pubDate>Mon, 03 Nov 2025 20:15:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/why-wifi-is-slow-in-one-room/</guid><description>&lt;p&gt;The router sits in the living room. On the sofa a video starts before you put&#10;the remote down. You carry the laptop to the back bedroom and the same video&#10;stops every minute. Same router, same Wi-Fi name, same evening.&lt;/p&gt;&#10;&lt;p&gt;Nothing is broken. In that room the signal arrives weak, so the router and the&#10;laptop fall back to slower, sturdier settings to keep talking. This post&#10;explains where the signal goes, how to read the number that measures it, and&#10;which fixes work. (Your phone also uses the routers it can hear to work out&#10;where it is: &lt;a href="https://loomloops.com/post/how-your-phone-knows-where-you-are/"&gt;how your phone knows where you&#10;are&lt;/a&gt;.)&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Every wall takes a fixed number of decibels off the signal. Thick concrete takes the most, and 5 and 6 GHz lose more in it than 2.4 GHz does.&lt;/li&gt;&#10;&lt;li&gt;Read the signal in dBm, not in bars. Around -67 dBm is comfortable for calls and video. Around -80 dBm is barely connected.&lt;/li&gt;&#10;&lt;li&gt;Move the router first, then check the channel. A wired second access point beats an extender.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-signal-fades-in-two-ways"&gt;The signal fades in two ways&lt;/h2&gt;&#10;&lt;p&gt;A Wi-Fi signal is a radio wave. It loses strength as it spreads out, and it&#10;loses more when it has to pass through something. The first loss depends on&#10;distance. The second depends on what is in the way.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/floor-plan-rings.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/floor-plan-rings.svg" alt="Floor plan with the router in the living room and signal rings fading outward: minus 48 dBm on the sofa down to minus 79 dBm in the far bedroom, behind a thin wall and a thick concrete wall. Example numbers." loading="lazy" decoding="async" width="640" height="440"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The far bedroom is further away than the hall, and it is behind two&#10;walls. One of them is concrete. That is the usual shape of a dead room:&#10;a bit of distance plus one wall that takes a lot.&lt;/p&gt;&#10;&lt;p&gt;The numbers in the picture are made up to show the pattern. The next section&#10;explains what they mean.&lt;/p&gt;&#10;&lt;h2 id="decibels-and-dbm-in-two-minutes"&gt;Decibels and dBm in two minutes&lt;/h2&gt;&#10;&lt;p&gt;A decibel (dB) compares two powers on a log scale. You do not need the&#10;formula. You need this table:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Change&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Power that is left&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;-3 dB&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;half&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;-10 dB&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;one tenth&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;-20 dB&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;one hundredth&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;-30 dB&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;one thousandth&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Losses add up. A wall that takes 10 dB and a wall that takes 3 dB take 13 dB&#10;together, which leaves about one twentieth of the power.&lt;/p&gt;&#10;&lt;p&gt;dBm is the same scale with a fixed starting point: 0 dBm is one milliwatt.&#10;Wi-Fi arrives at tiny levels. -67 dBm is about two ten-millionths of a&#10;milliwatt. That is why the numbers are negative, and why closer to zero is&#10;stronger.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/signal-and-speed.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/signal-and-speed.svg" alt="Signal ruler from minus 90 (gone) to minus 30 dBm: minus 67 is very good for calls, minus 70 okay for web. Faster 802.11ac speeds need stronger signal, from minus 82 dBm for MCS 0 to minus 57 for MCS 9." loading="lazy" decoding="async" width="640" height="584"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The ruler on top uses the rating levels from &lt;a href="https://www.oscium.com/training/understanding-rssi/"&gt;Oscium&amp;rsquo;s training notes&lt;/a&gt;&#10;(the page used to live on MetaGeek). They call -67 dBm &amp;ldquo;very good&amp;rdquo; and the minimum for&#10;voice and streaming video, -70 dBm &amp;ldquo;okay&amp;rdquo; for web and email, -80 dBm &amp;ldquo;not good&amp;rdquo;&#10;with unreliable packet delivery, and -90 dBm unusable. The page says these are&#10;suggestions, because what you need depends on the network. I treat them as a&#10;rule of thumb, not a standard.&lt;/p&gt;&#10;&lt;p&gt;The bars below the ruler come from the standard itself. Wi-Fi has a ladder of&#10;speed settings called MCS (modulation and coding scheme). A higher MCS packs&#10;more bits into each symbol, so it needs a cleaner signal. The standard sets&#10;the weakest signal at which a receiver must still work, with at most 10% of&#10;packets lost. For a 20 MHz channel it runs from -82 dBm for MCS 0 to -57 dBm&#10;for MCS 9. These are minimums for a receiver. Real devices need more margin&#10;because of noise and other traffic.&lt;/p&gt;&#10;&lt;p&gt;Read the example bedroom again. At -79 dBm only the first two settings&#10;are even possible. The sofa at -48 dBm has no such limit.&lt;/p&gt;&#10;&lt;p&gt;To see your own number on a laptop, hold Option and click the Wi-Fi icon on a&#10;Mac. It shows details such as the channel and band, and third-party guides say&#10;it shows the received signal level (RSSI) too. On Linux, &lt;code&gt;iw dev &amp;lt;interface&amp;gt; link&lt;/code&gt;&#10;prints &lt;code&gt;signal: -xx dBm&lt;/code&gt; (the interface name varies, for example &lt;code&gt;wlan0&lt;/code&gt; or&#10;&lt;code&gt;wlp3s0&lt;/code&gt;). Phones and Windows usually show bars, so a Wi-Fi&#10;scanner app is the easy way there.&lt;/p&gt;&#10;&lt;h2 id="why-5-and-6-ghz-lose-more"&gt;Why 5 and 6 GHz lose more&lt;/h2&gt;&#10;&lt;p&gt;The three bands differ in frequency, and frequency changes two things.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/three-bands.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/three-bands.svg" alt="Table comparing 2.4, 5 and 6 GHz Wi-Fi: 2.4 reaches furthest, while 5 and 6 GHz have more channels and are faster nearby. Through 200 mm of concrete the loss is 15, 26 and 30 dB." loading="lazy" decoding="async" width="640" height="436"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Open air.&lt;/strong&gt; The free-space loss formula (see&#10;&lt;a href="https://www.itu.int/rec/R-REC-P.525-5-202411-I/en"&gt;ITU-R P.525&lt;/a&gt;) grows by 20 dB for&#10;every tenfold increase in frequency. In plain terms, a higher frequency means a&#10;shorter wave, and a receiving antenna of the same design catches less of it. I&#10;worked it out for 10 metres: 60.2 dB at 2.44 GHz, 67.3 dB at 5.5 GHz and&#10;68.7 dB at 6.5 GHz. So 5 GHz starts about 7 dB behind, which is five times less&#10;power, and 6 GHz about 8.5 dB behind. This happens before any wall.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Walls.&lt;/strong&gt; Materials absorb and reflect more of a short wave. Microsoft&amp;rsquo;s&#10;support page says the same in plain words: 2.4 GHz is &amp;ldquo;better at going through&#10;obstacles&amp;rdquo;, while 5 and 6 GHz do not go through walls as well as 2.4 GHz, and for 6 GHz it says &amp;ldquo;doesn&amp;rsquo;t go through walls as well as other bands&amp;rdquo;. What it does not give is a number. The next section does.&lt;/p&gt;&#10;&lt;p&gt;The price of that range is speed. 2.4 GHz has the least room: three clear&#10;channels (more on that below) and the most traffic from neighbours,&#10;microwave ovens, cordless phones and Bluetooth. 5 GHz has more channels and less&#10;crowding. 6 GHz is a new, wide band. In the US the FCC opened&#10;&lt;a href="https://docs.fcc.gov/public/attachments/DOC-363945A1.pdf"&gt;1,200 MHz of it for unlicensed use&lt;/a&gt;&#10;(5.925 to 7.125 GHz) in April 2020, and a Wi-Fi 6E router and a 6E device are&#10;needed to use it.&lt;/p&gt;&#10;&lt;h2 id="what-a-wall-takes-off"&gt;What a wall takes off&lt;/h2&gt;&#10;&lt;p&gt;I wanted real numbers for each wall type at each band. ITU-R P.2040-4, the&#10;recommendation on how building materials affect radio, gives two numbers for each&#10;material (how much it slows the wave and how well it conducts), and both change&#10;with frequency. From those you can calculate how much a flat slab of a given&#10;thickness takes off a wave that hits it head on.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/wall-loss-chart.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/wall-loss-chart.svg" alt="Calculated wall loss at 2.4, 5.5 and 6.5 GHz: plasterboard about 1 dB, 100 mm concrete 8.1, 14.0 and 15.7 dB, 200 mm concrete 14.8, 26.5 and 30.0 dB. Measured energy-saving glass averages about 32 dB." loading="lazy" decoding="async" width="640" height="560"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;What the chart says:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Most interior walls are cheap.&lt;/strong&gt; One flat board of plasterboard or a wooden&#10;door costs a few dB at most. You can cross several and still have a signal.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Concrete is the expensive one.&lt;/strong&gt; 100 mm costs 8 dB at 2.4 GHz and 14 dB&#10;at 5.5 GHz. At 200 mm it costs 14.8 and 26.5 dB. That is about 15 times less&#10;power at 5.5 GHz than at 2.4 GHz after the same wall.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Thickness adds.&lt;/strong&gt; Twice the concrete is about twice the dB.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Brick barely changes with frequency&lt;/strong&gt; in this model. Do not expect that from&#10;a real brick wall with a cavity, mortar and damp in it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The calculation is short. This is the core of it, with the numbers for concrete&#10;(&lt;code&gt;a&lt;/code&gt; is the permittivity, &lt;code&gt;c&lt;/code&gt; and &lt;code&gt;d&lt;/code&gt; give the conductivity, and &lt;code&gt;f&lt;/code&gt; is in GHz):&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; cmath&lt;span style="color:#ff79c6"&gt;,&lt;/span&gt; math&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;def&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;slab_loss_db&lt;/span&gt;(a, c, d, thickness_m, f_ghz):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; sigma &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; c &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; f_ghz &lt;span style="color:#ff79c6"&gt;**&lt;/span&gt; d &lt;span style="color:#6272a4"&gt;# conductivity, S/m&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; eps &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;complex&lt;/span&gt;(a, &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;17.98&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; sigma &lt;span style="color:#ff79c6"&gt;/&lt;/span&gt; f_ghz) &lt;span style="color:#6272a4"&gt;# permittivity with loss&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; n &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; cmath&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;sqrt(eps)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; k0 &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;2&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; math&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;pi &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; f_ghz &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;1e9&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;/&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;299_792_458.0&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; gamma &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;1&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt; n) &lt;span style="color:#ff79c6"&gt;/&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;1&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;+&lt;/span&gt; n) &lt;span style="color:#6272a4"&gt;# reflection, air to wall&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; trip &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; cmath&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;exp(&lt;span style="color:#ff79c6"&gt;-&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;1&lt;/span&gt;j &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; k0 &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; n &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; thickness_m)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; t &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;1&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt; gamma&lt;span style="color:#ff79c6"&gt;**&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;2&lt;/span&gt;) &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; trip &lt;span style="color:#ff79c6"&gt;/&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;1&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt; gamma&lt;span style="color:#ff79c6"&gt;**&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;2&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; trip&lt;span style="color:#ff79c6"&gt;**&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;2&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;return&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;-&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;20&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt; math&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;log10(&lt;span style="color:#8be9fd;font-style:italic"&gt;abs&lt;/span&gt;(t))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#6272a4"&gt;# Concrete in ITU-R P.2040-4, Table 3: a=5.24, c=0.0462, d=0.7822&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; f &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;2.44&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;5.5&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;6.5&lt;/span&gt;):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(f, &lt;span style="color:#8be9fd;font-style:italic"&gt;round&lt;/span&gt;(slab_loss_db(&lt;span style="color:#bd93f9"&gt;5.24&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0.0462&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0.7822&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0.10&lt;/span&gt;, f), &lt;span style="color:#bd93f9"&gt;1&lt;/span&gt;))&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I ran the full script on Python 3.12 in a container. For 100 mm of concrete it&#10;printed 8.1, 14.0 and 15.7 dB.&lt;/p&gt;&#10;&lt;p&gt;Treat the chart as a floor, not a forecast. The model is one uniform slab, hit&#10;head on, with no steel and no damp. Reality is worse in at least three ways:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Slant.&lt;/strong&gt; Waves cross your walls at an angle. The Aalborg University team&#10;that measured walls at 800 MHz to 18 GHz notes that smaller angles to the&#10;wall mean more reflection and more loss.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Steel and mixes.&lt;/strong&gt; Concrete is not one material. NIST&amp;rsquo;s lab report&#10;&lt;a href="https://www.nist.gov/publications/electromagnetic-signal-attenuation-construction-materials"&gt;NISTIR 6055&lt;/a&gt;&#10;measured eight concrete mixes, plus reinforced concrete and steel bar grids,&#10;and brick, glass, drywall and plywood. The model above covers none of the&#10;steel.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Stacks of layers.&lt;/strong&gt; A real plasterboard partition has two boards, studs and&#10;sometimes insulation. My one-board figure is the least it can cost.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Two things have no good number in my chart, so I will name them. &lt;strong&gt;Energy-saving&#10;glass&lt;/strong&gt; is the bar with the dashed outline: it is measured, not calculated. Aalborg&#10;measured a facade made of three-layer, energy-efficient glass panels with metal&#10;frames and found a loss &amp;ldquo;slightly higher than 30 dB&amp;rdquo; (about 32 dB on average) that stayed almost the&#10;same across the whole range, against less than 10 dB for an old building with&#10;10 cm light concrete walls and single glazing. That is why a modern flat with&#10;low-energy windows can be a radio box. &lt;strong&gt;Water&lt;/strong&gt; absorbs radio too, which is the&#10;reason a microwave oven heats food at about 2.45 GHz, inside the 2.4 GHz Wi-Fi&#10;band. Bathrooms and fish tanks hold a lot of water, so they are worth&#10;suspecting. NIST measured water-soaked wood, but I do not have a clean&#10;dB figure for Wi-Fi to put on the chart. Metal, such as a fridge or a filing&#10;cabinet, reflects the signal instead. Microsoft lists it as a source of trouble.&lt;/p&gt;&#10;&lt;h2 id="the-neighbours-channels-on-24-ghz"&gt;The neighbours: channels on 2.4 GHz&lt;/h2&gt;&#10;&lt;p&gt;If the dBm number in the weak room is fine and the speed is still bad, look at&#10;the channel. A channel is a slice of the band that your router uses to talk.&#10;Everyone nearby uses the same slices.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/channel-overlap.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/channel-overlap.svg" alt="2.4 GHz channels 1 to 13 overlap as 20 to 22 MHz humps. Channels 1, 6 and 11 do not overlap, so a router on channel 3 overlaps neighbours on 1 and 6, while one on 11 overlaps neither." loading="lazy" decoding="async" width="640" height="490"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The 2.4 GHz band numbers its channels 1 to 13 in most of the world (1 to 11 in&#10;the US). Channel 1 is centred on 2412 MHz, and each next channel is 5 MHz&#10;higher. But a channel is wider than that: 22 MHz for the older 802.11b, and 20 MHz&#10;nominal for the newer g, n and ax. Only every fifth channel is far&#10;enough away to leave the others alone, so 1, 6 and 11 are the three that do&#10;not overlap.&lt;/p&gt;&#10;&lt;p&gt;This matters because there are two kinds of sharing:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Same channel.&lt;/strong&gt; Two routers on channel 6 hear each other and take turns.&#10;Nobody&amp;rsquo;s data is damaged. Each just waits for the other to finish.&#10;&lt;a href="https://www.extremenetworks.com/resources/blogs/2-4-ghz-channel-planning"&gt;Extreme Networks&lt;/a&gt;&#10;describes this as contention overhead.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Partly overlapping channels.&lt;/strong&gt; A router on channel 3 sits on top of&#10;neighbours on both 1 and 6. They do not hear each other as &amp;ldquo;taking turns&amp;rdquo;.&#10;They talk over each other, and the same source says that corrupts data and&#10;hurts throughput and latency.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;So if your router is on channel 3 or 8 and your neighbours are on 1, 6 and 11,&#10;you are on top of two of them at once. Moving to the nearest of 1, 6 or 11&#10;turns that into the polite kind of sharing. Check what your router picked. A&#10;Wi-Fi scanner app lists nearby networks with their channel and dBm. On Linux,&#10;&lt;code&gt;sudo iw dev &amp;lt;interface&amp;gt; scan&lt;/code&gt; does too (it usually needs root, and the channel&#10;shows under &amp;ldquo;DS Parameter set&amp;rdquo;).&lt;/p&gt;&#10;&lt;p&gt;5 GHz and 6 GHz have many more channels, so this is mostly a 2.4 GHz problem.&#10;That is one more reason a device in the far room may still prefer 2.4 GHz: it&#10;reaches, but it fights for space.&lt;/p&gt;&#10;&lt;h2 id="what-fixes-it"&gt;What fixes it&lt;/h2&gt;&#10;&lt;p&gt;Start with what costs nothing and work down.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;1. Move the router.&lt;/strong&gt; Microsoft&amp;rsquo;s advice is to put it toward the middle of the&#10;home and as high as you can, and not in a corner or under a desk. Every wall you&#10;remove from the path is dB back. Moving the router two metres can change which&#10;walls the signal crosses, which often matters more than the distance itself.&#10;Keep it away from metal.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;2. Pick the channel.&lt;/strong&gt; On 2.4 GHz use 1, 6 or 11. If your router uses one&#10;name for both bands, the far room&amp;rsquo;s device may have picked 5 GHz because it&#10;looked stronger at some moment. Splitting the names for a test shows you which&#10;band works better there.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;3. Add a second box.&lt;/strong&gt; This is where people spend money, and where the choice&#10;matters. A few words first:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A &lt;strong&gt;backhaul&lt;/strong&gt; is the link that connects the extra box to the router.&lt;/li&gt;&#10;&lt;li&gt;An &lt;strong&gt;extender&lt;/strong&gt; receives the Wi-Fi signal and repeats it, often under a second&#10;name.&lt;/li&gt;&#10;&lt;li&gt;A &lt;strong&gt;mesh&lt;/strong&gt; system is several boxes that act as one network under one name.&lt;/li&gt;&#10;&lt;li&gt;An &lt;strong&gt;access point&lt;/strong&gt; is a box that only does the radio part. It needs a cable.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/three-fixes.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/three-fixes.svg" alt="Three ways to reach a far room: a one-radio extender (throughput halved in a 2013 test), a mesh node, or a second box on Ethernet. Free fixes first: move the router, pick channel 1, 6 or 11." loading="lazy" decoding="async" width="640" height="530"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The difference is what carries the backhaul. An extender with one radio has to&#10;receive from the router and send to your phone on the same channel. Each&#10;message uses the air twice. SmallNetBuilder&amp;rsquo;s&#10;&lt;a href="https://www.smallnetbuilder.com/wireless/wireless-reviews/single-band-wireless-extender-roundup-take-two/"&gt;extender tests&lt;/a&gt;&#10;(2013) put it this way: twice the airtime means half the bandwidth. It is a&#10;rule of thumb, and it gets worse with each extra hop. A mesh node with a&#10;dedicated link radio does not share airtime with your devices, so the penalty&#10;is smaller, but a wireless hop still costs speed and still crosses your walls. A cable takes the backhaul out of the air&#10;entirely. Then the box&amp;rsquo;s radios spend all their time on your devices.&lt;/p&gt;&#10;&lt;p&gt;Where you put the second box matters as much as which kind you buy. If it sits&#10;in the dead room, it is hearing the router at -80 dBm and repeating that.&#10;My rule of thumb is to place it where it still hears the router at about&#10;-67 dBm: far enough to help, near enough to have something to repeat. With a&#10;cable you do not have this limit, so you can put the box in the weak room.&lt;/p&gt;&#10;&lt;p&gt;If you cannot run Ethernet, adapters that send data over the mains wiring or the&#10;coax cable exist. How well they work depends on the wiring in your home.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Fix&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What it costs&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Works when&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Watch out for&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Move the router&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Nothing&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;One wall is the problem&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The router must stay near the incoming line&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Change the channel&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Nothing&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;You share 2.4 GHz with neighbours&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Dead room stays dead if the issue is walls&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Extender&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Low&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;One room, with a strong signal where it sits&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Half the speed on one radio&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Mesh, wireless link&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Medium&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Several weak rooms, no cable possible&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Link crosses the same walls&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Access point or mesh on Ethernet&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Medium, plus the cable&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A cable can reach the far room&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cable run&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;My order is the one in the table: move, channel, cable, mesh, and extender&#10;last. That is an opinion, not a measurement.&lt;/p&gt;&#10;&lt;h2 id="when-the-signal-is-fine-and-it-is-still-slow"&gt;When the signal is fine and it is still slow&lt;/h2&gt;&#10;&lt;p&gt;Not every slow room is a weak room. Read the dBm first.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Reading in the room&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Likely cause&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;First thing to try&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;-75 dBm or weaker, fine near the router&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Walls and distance&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Move the router, or add a wired access point&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;-55 dBm and still slow&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A crowded or overlapping channel, or non-Wi-Fi noise&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Check the channels, switch 2.4 GHz to 1, 6 or 11&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Fine everywhere, slow everywhere&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Not Wi-Fi: the internet line or the router&amp;rsquo;s own connection&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Plug a laptop into the router with a cable and test&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;Why is my Wi-Fi weak in only one room?&lt;/strong&gt;&#10;Usually that room is behind a wall that costs a lot, most often concrete, thick&#10;brick or multi-layer energy-saving glass, or it is at the far end of the path. The signal&#10;loses a fixed amount at each wall and then fades with distance. Read the dBm&#10;value in that room. At -75 or weaker, the path is the problem.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Does 2.4 GHz or 5 GHz go through walls better?&lt;/strong&gt;&#10;2.4 GHz. In my calculation 100 mm of concrete takes 8 dB at 2.4 GHz and 14 dB&#10;at 5.5 GHz, and in open air 5.5 GHz starts about 7 dB behind. 5 GHz is still&#10;faster when the signal is strong, so it is the better choice in the same room as&#10;the router.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is a good Wi-Fi signal in dBm?&lt;/strong&gt;&#10;-67 dBm or stronger is a common target for video calls and streaming. -70 dBm is&#10;fine for web and email. At -80 dBm you are barely connected, and at -90 dBm you&#10;lose the network. These are rules of thumb from vendor training pages, not part&#10;of the standard.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why do only channels 1, 6 and 11 matter on 2.4 GHz?&lt;/strong&gt;&#10;Channels are 20 to 22 MHz wide but only 5 MHz apart, so most of them overlap their&#10;neighbours. Channels 1, 6 and 11 are 25 MHz apart, so they do not overlap each&#10;other. Two routers on the same channel take turns, which is mild. Two on&#10;overlapping channels interfere with each other, which is worse.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Should I buy a mesh system or an extender?&lt;/strong&gt;&#10;For one weak room with a strong signal at the spot where the extender will sit,&#10;an extender can work. If you have several weak rooms, or you can run a cable,&#10;use a second access point or mesh with Ethernet backhaul. A wireless link&#10;between boxes costs speed, and a cable does not.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/why-wifi-is-slow-in-one-room/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/why-wifi-is-slow-in-one-room/cheat-sheet.svg" alt="Wi-Fi in one room cheat sheet: 2.4 GHz goes furthest, 5 and 6 GHz lose more to walls (100 mm concrete is 8, 14 and 16 dB). Fix order: move the router, pick channel 1, 6 or 11, then cable, mesh, extender last." loading="lazy" decoding="async" width="640" height="522"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.itu.int/rec/R-REC-P.2040-4-202509-I/en"&gt;ITU-R P.2040-4: effects of building materials and structures on radiowave propagation&lt;/a&gt; (Table 3 holds the material values I used)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.itu.int/rec/R-REC-P.525-5-202411-I/en"&gt;ITU-R P.525-5: calculation of free-space attenuation&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nist.gov/publications/electromagnetic-signal-attenuation-construction-materials"&gt;NIST, NISTIR 6055: electromagnetic signal attenuation in construction materials&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://doi.org/10.1109/VTCFall.2014.6966147"&gt;Rodriguez et al., radio propagation into modern buildings, 800 MHz to 18 GHz (IEEE VTC Fall 2014)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://docs.fcc.gov/public/attachments/DOC-363945A1.pdf"&gt;FCC, April 2020: new rules for the 6 GHz band&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.microsoft.com/windows/wi-fi-and-your-home-layout-e1ed42e7-a3c5-d1be-2abb-e8fad00ad32a"&gt;Microsoft Support: Wi-Fi and your home layout&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/List_of_WLAN_channels"&gt;List of WLAN channels&lt;/a&gt;, which cites the IEEE 802.11 channel plan&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.mathworks.com/help/wlan/ug/802-11ac-receiver-minimum-input-sensitivity-test.html"&gt;MathWorks: 802.11ac receiver minimum input sensitivity&lt;/a&gt;, citing IEEE Std 802.11-2020 Table 21-25&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.oscium.com/training/understanding-rssi/"&gt;Oscium: understanding RSSI&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.extremenetworks.com/resources/blogs/2-4-ghz-channel-planning"&gt;Extreme Networks: 2.4 GHz channel planning&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.smallnetbuilder.com/wireless/wireless-reviews/single-band-wireless-extender-roundup-take-two/"&gt;SmallNetBuilder: single band wireless extender roundup (2013)&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How Contactless Payment Works: NFC, the Chip and the Cryptogram</title><link>https://loomloops.com/post/how-contactless-payment-nfc-works/</link><pubDate>Tue, 09 Sep 2025 18:05:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-contactless-payment-nfc-works/</guid><description>&lt;p&gt;You tap a card on a reader. It beeps. The coffee is paid for.&lt;/p&gt;&#10;&lt;p&gt;The card has no battery, no screen and no button. Nobody ever charged it. Yet&#10;something inside it woke up, did some maths and helped a bank say yes, all&#10;while you held it still for a moment.&lt;/p&gt;&#10;&lt;p&gt;Two things are odd about that. Where did the power come from? And if a card&#10;just answers a reader, what stops someone from recording the answer and using&#10;it again?&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The terminal&amp;rsquo;s coil makes a magnetic field that swings 13.56 million times a&#10;second. The card&amp;rsquo;s coil turns that into a small voltage. That is the card&amp;rsquo;s&#10;whole power supply, and it is why a tap only works within a few centimetres.&lt;/li&gt;&#10;&lt;li&gt;The card answers by loading its own coil, which the terminal can feel. It&#10;sends a code made from the amount, a random number from the terminal and a&#10;counter. The code is good for one payment.&lt;/li&gt;&#10;&lt;li&gt;A copy of a tap fails at the bank: the counter was already used, or the code&#10;does not match. Phone wallets also swap the card number for a stand-in&#10;number (a token). The open problem is a relay, not a replay.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="the-card-is-a-coil-and-a-chip"&gt;The card is a coil and a chip&lt;/h2&gt;&#10;&lt;p&gt;A contactless card holds a chip and a loop of wire, the antenna, inside the&#10;plastic. The standards call the terminal a proximity coupling device (PCD)&#10;and the card a proximity integrated circuit card (PICC). The standard for&#10;both is ISO/IEC 14443, and it is the radio layer under contactless payments.&#10;NFC phones talk to the same kind of card: the NFC Forum says its devices work&#10;with ISO/IEC 14443 Type A and Type B readers and cards.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/field-coupling.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/field-coupling.svg" alt="Side view of a terminal and a card. The terminal coil makes a magnetic field that passes through the card’s coil, makes a voltage there and powers the chip. The card has no battery." loading="lazy" decoding="async" width="640" height="492"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The trick is called induction. A magnetic field that changes through a loop&#10;of wire pushes a voltage into that loop. A steady field does nothing. It has&#10;to change, and at 13.56 MHz it changes 13.56 million times a second. The&#10;Rohde &amp;amp; Schwarz test note for ISO/IEC 14443 puts it in one line: the carrier&#10;supplies power to the card &amp;ldquo;via a transformer coupling and the resulting&#10;induced voltage&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;How much voltage? The size of the voltage in a coil is &lt;code&gt;V = 2 * pi * f * mu0 * H * N * A&lt;/code&gt;,&#10;where &lt;code&gt;f&lt;/code&gt; is the frequency, &lt;code&gt;mu0&lt;/code&gt; is a physical constant, &lt;code&gt;H&lt;/code&gt; is the field&#10;strength, &lt;code&gt;N&lt;/code&gt; is the number of turns and &lt;code&gt;A&lt;/code&gt; is the area of one turn. I ran&#10;the numbers in a container. I had to guess the coil, so take this as a size&#10;estimate and not a spec: 4 turns, 7 cm by 4 cm, and the lowest field the&#10;standard allows, 1.5 amps per metre (A/m).&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;H = 1.5 A/m -&amp;gt; 1.80 V rms, open circuit&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;H = 7.5 A/m -&amp;gt; 8.99 V rms, open circuit&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So a card sitting in the field gets volts, which is plenty to run a small&#10;chip. Real cards differ in turns, size and tuning.&lt;/p&gt;&#10;&lt;h2 id="why-it-only-works-within-a-few-centimetres"&gt;Why it only works within a few centimetres&lt;/h2&gt;&#10;&lt;p&gt;The standard says the terminal&amp;rsquo;s field in its working zone is between 1.5 and&#10;7.5 A/m. A card has to run at the low end. Now ask how far you can be before&#10;the field drops to 1.5.&lt;/p&gt;&#10;&lt;p&gt;For a round loop of radius &lt;code&gt;a&lt;/code&gt;, the field on its axis at distance &lt;code&gt;z&lt;/code&gt; is&#10;&lt;code&gt;H(z) = H0 / (1 + (z/a)^2)^1.5&lt;/code&gt;. Far from the loop, that falls with the cube of&#10;the distance. Researchers at the University of Surrey write the same thing in&#10;their 2013 paper: the field strength &amp;ldquo;is inversely proportional to the cube of&#10;the distance&amp;rdquo;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/field-vs-distance.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/field-vs-distance.svg" alt="Line chart of terminal field strength against distance. A 7.5 A/m reader falls below the 1.5 A/m a card needs at about 4.2 cm, and a 3 A/m reader at about 2.3 cm. Limits from ISO/IEC 14443." loading="lazy" decoding="async" width="640" height="450"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;I drew two readers on the same 3 cm loop. The strong one makes the standard&amp;rsquo;s&#10;maximum of 7.5 A/m at the coil. The weak one makes 3. The card runs out of&#10;power at about 4.2 cm for the strong one and 2.3 cm for the weak one. Between&#10;6 cm and 12 cm the field drops from 0.67 to 0.11 A/m, about six times.&lt;/p&gt;&#10;&lt;p&gt;The curve shows the shape, not a spec. Real terminal antennas are not round&#10;3 cm loops. The NFC Forum gives &amp;ldquo;a typical range of up to 2cm&amp;rdquo; for its own&#10;devices. The point is the same: a few centimetres, then nothing.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Powering a card and listening to a card are different jobs.&lt;/strong&gt; In a shielded&#10;lab, the Surrey team used a loop antenna and cheap electronics to listen to an&#10;emulated tap. They recovered the messages from 20 to 90 cm away near the 7.5 A/m&#10;maximum, and reliably up to 40 cm near the 1.5 A/m minimum. A listener does not&#10;need to power anything. It only needs to hear. What it hears is one payment&amp;rsquo;s&#10;worth of data, which the section on copying shows is not much use.&lt;/p&gt;&#10;&lt;h2 id="how-the-two-sides-talk"&gt;How the two sides talk&lt;/h2&gt;&#10;&lt;p&gt;A card has no transmitter. Both sides use the one field.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/load-modulation.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/load-modulation.svg" alt="Two waveform sketches. Terminal to card: the 13.56 MHz carrier is switched off for short gaps that carry data. Card to terminal: the card loads its coil at 847.5 kHz. The start-up rate is 106 kbit/s." loading="lazy" decoding="async" width="640" height="430"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Terminal to card.&lt;/strong&gt; The terminal switches its field off for a very short&#10;moment. The pattern of gaps is the data. The Rohde &amp;amp; Schwarz note lists this&#10;for Type A as 100% amplitude-shift keying with modified Miller coding. (There&#10;is also a Type B, with 10% modulation. The numbers here are Type A.)&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Card to terminal.&lt;/strong&gt; The card cannot make its own signal, so it changes how&#10;much it loads its own coil. It does this at 847.5 kHz, which is the carrier&#10;divided by 16. A coil that draws more current is felt by the coil that feeds&#10;it, the same way a transformer&amp;rsquo;s input feels its output. The terminal sees its&#10;own carrier swell and dip, 16 carrier cycles per swell, and decodes the&#10;pattern. The same note lists this as on-off keying with Manchester coding at&#10;106 kbit/s for Type A. That bit rate is also the carrier divided by 128, and&#10;communication always starts there.&lt;/p&gt;&#10;&lt;h2 id="what-they-say-to-each-other"&gt;What they say to each other&lt;/h2&gt;&#10;&lt;p&gt;Once the card has power, the terminal and card swap a handful of short&#10;messages. This is from a trace of a Visa card in a 2019 Black Hat Europe paper&#10;by Leigh-Anne Galloway and Tim Yunusov. Other card schemes use other&#10;&amp;ldquo;kernels&amp;rdquo; (the terminal software that runs the exchange) and differ in the&#10;details.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/tap-conversation.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/tap-conversation.svg" alt="A contactless tap in five steps: the terminal asks for payment apps, the card lists them, the terminal sends the amount and a random number, the card returns a one-time cryptogram, and the bank decides." loading="lazy" decoding="async" width="640" height="600"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Four terms from the picture:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;PPSE&lt;/strong&gt; is the proximity payment system environment. It is a directory on&#10;the card that lists which payment apps it carries.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;AID&lt;/strong&gt; is the application ID of one of those apps, such as a Visa one.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Cryptogram&lt;/strong&gt; is the one-time code. The spec calls it the application&#10;cryptogram (AC).&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;ATC&lt;/strong&gt; is the application transaction counter. The card adds 1 to it on&#10;every transaction.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Not every tap asks for a PIN. Terminals have limits. The UK limit for a card&#10;tap went up to £100 in 2021, according to UK Finance. Above a limit, the&#10;terminal asks for something extra, such as a PIN or a face or fingerprint check on the phone.&lt;/p&gt;&#10;&lt;p&gt;The tap itself only asks the bank to approve. The money moves later, when the&#10;shop&amp;rsquo;s card payments are settled. &lt;a href="https://loomloops.com/post/payment-reconciliation/"&gt;Payment reconciliation in&#10;SQL&lt;/a&gt; is about matching those later records to&#10;the bank&amp;rsquo;s.&lt;/p&gt;&#10;&lt;h2 id="why-a-copied-tap-does-not-pay"&gt;Why a copied tap does not pay&lt;/h2&gt;&#10;&lt;p&gt;Suppose a thief records everything in the conversation above. What can they&#10;do with it?&lt;/p&gt;&#10;&lt;p&gt;The code is a &lt;strong&gt;MAC&lt;/strong&gt;, a message authentication code. It is a short tag made&#10;from some data and a secret key. Anyone who has the key can compute it again.&#10;Nobody else can make a valid one. The card holds the key inside the chip, and&#10;the bank holds the same key. The key never goes over the air.&lt;/p&gt;&#10;&lt;p&gt;In the Cambridge paper &amp;ldquo;Chip and Skim&amp;rdquo; (arXiv 2012; IEEE S&amp;amp;P 2014), the code the card sends is a&#10;MAC over data that includes the amount, a random number from the terminal and&#10;the card&amp;rsquo;s counter (ATC). The bank recomputes it. The paper adds the rule that&#10;stops replays: &amp;ldquo;a competent issuer prevents replay by rejecting any&#10;transaction whose application transaction counter it has already seen&amp;rdquo;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/copy-check.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/copy-check.svg" alt="Table of four cases at the bank: a real tap is approved; a replayed recording is declined because the counter was used; a changed amount fails the code; a clone without the secret key fails the code." loading="lazy" decoding="async" width="640" height="600"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;I wrote a toy version to watch it happen. It uses HMAC-SHA256 from Python&amp;rsquo;s&#10;standard library, not the MAC a real EMV card uses, and it has far fewer&#10;fields. I ran it on Python 3.12 in a container.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; hmac&lt;span style="color:#ff79c6"&gt;,&lt;/span&gt; hashlib&lt;span style="color:#ff79c6"&gt;,&lt;/span&gt; os&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;def&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;mac&lt;/span&gt;(key, &lt;span style="color:#ff79c6"&gt;*&lt;/span&gt;fields):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;return&lt;/span&gt; hmac&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;new(key, &lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;|&amp;#34;&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;join(fields), hashlib&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;sha256)&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;digest()[:&lt;span style="color:#bd93f9"&gt;8&lt;/span&gt;]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;class&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;Card&lt;/span&gt;:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;def&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;__init__&lt;/span&gt;(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;, key):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;_key &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; key &lt;span style="color:#6272a4"&gt;# never leaves the chip&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;atc &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;0&lt;/span&gt; &lt;span style="color:#6272a4"&gt;# counter, +1 on every tap&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;def&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;tap&lt;/span&gt;(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;, amount, unpredictable):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;atc &lt;span style="color:#ff79c6"&gt;+=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;1&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; atc &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;str&lt;/span&gt;(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;atc)&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;encode()&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;return&lt;/span&gt; atc, mac(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;_key, amount, unpredictable, atc)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;class&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;Issuer&lt;/span&gt;:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;def&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;__init__&lt;/span&gt;(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;, key):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;key &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; key&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;last_atc &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;def&lt;/span&gt; &lt;span style="color:#50fa7b"&gt;approve&lt;/span&gt;(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;, amount, unpredictable, atc, code):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;if&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;int&lt;/span&gt;(atc) &lt;span style="color:#ff79c6"&gt;&amp;lt;=&lt;/span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;last_atc:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;return&lt;/span&gt; &lt;span style="color:#f1fa8c"&gt;&amp;#34;declined: counter already seen&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;if&lt;/span&gt; &lt;span style="color:#ff79c6"&gt;not&lt;/span&gt; hmac&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;compare_digest(mac(&lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;key, amount, unpredictable, atc), code):&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;return&lt;/span&gt; &lt;span style="color:#f1fa8c"&gt;&amp;#34;declined: code does not match&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="font-style:italic"&gt;self&lt;/span&gt;&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;last_atc &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;int&lt;/span&gt;(atc)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#ff79c6"&gt;return&lt;/span&gt; &lt;span style="color:#f1fa8c"&gt;&amp;#34;approved&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;key &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; os&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;urandom(&lt;span style="color:#bd93f9"&gt;16&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;card, bank &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; Card(key), Issuer(key)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;un &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; os&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;urandom(&lt;span style="color:#bd93f9"&gt;4&lt;/span&gt;)&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;hex()&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;encode() &lt;span style="color:#6272a4"&gt;# the terminal&amp;#39;s random number&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;atc, code &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; card&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;tap(&lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;4.50&amp;#34;&lt;/span&gt;, un)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;&amp;#34;real tap &amp;#34;&lt;/span&gt;, bank&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;approve(&lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;4.50&amp;#34;&lt;/span&gt;, un, atc, code))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;&amp;#34;recording, replayed &amp;#34;&lt;/span&gt;, bank&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;approve(&lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;4.50&amp;#34;&lt;/span&gt;, un, atc, code))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;&amp;#34;recording, new amount &amp;#34;&lt;/span&gt;, bank&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;approve(&lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;450.00&amp;#34;&lt;/span&gt;, un, &lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;2&amp;#34;&lt;/span&gt;, code))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;clone &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; Card(os&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;urandom(&lt;span style="color:#bd93f9"&gt;16&lt;/span&gt;)) &lt;span style="color:#6272a4"&gt;# has the card number, not the key&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;clone&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;atc &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;1&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;atc2, code2 &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; clone&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;tap(&lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;4.50&amp;#34;&lt;/span&gt;, un)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;&amp;#34;clone without the key &amp;#34;&lt;/span&gt;, bank&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;approve(&lt;span style="color:#f1fa8c"&gt;b&lt;/span&gt;&lt;span style="color:#f1fa8c"&gt;&amp;#34;4.50&amp;#34;&lt;/span&gt;, un, atc2, code2))&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This is what it printed:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;real tap approved&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;recording, replayed declined: counter already seen&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;recording, new amount declined: code does not match&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;clone without the key declined: code does not match&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In the &amp;ldquo;new amount&amp;rdquo; line I raised the counter by hand to 2, so the counter&#10;check passes and only the code check is left to fail. That is the point of&#10;the MAC: the thief can change the amount, but cannot change the code to match.&lt;/p&gt;&#10;&lt;p&gt;The bank&amp;rsquo;s counter check is the same idea as an &lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;idempotency&#10;key&lt;/a&gt;: a request that arrives twice must not&#10;pay twice. Here the counter is the key, and the card makes a new one each tap.&lt;/p&gt;&#10;&lt;h3 id="the-part-that-is-easy-to-get-wrong"&gt;The part that is easy to get wrong&lt;/h3&gt;&#10;&lt;p&gt;The counter alone does not prove the code is fresh. A thief could record a&#10;code today and play it tomorrow, if the counter has not moved on at the bank.&#10;The terminal&amp;rsquo;s random number is there to fix that. The Cambridge team found&#10;that some terminals made their &amp;ldquo;unpredictable number&amp;rdquo; from counters,&#10;timestamps or home-grown code. If a thief can guess the number the terminal&#10;will use tomorrow, they can ask your card for a code for each guess today,&#10;and spend them tomorrow. The paper calls this a pre-play attack.&lt;/p&gt;&#10;&lt;p&gt;The team probed 22 cash machines and 5 shop terminals, and told the banks and&#10;card schemes in early 2012 so the software could be patched. The paper notes&#10;that any terminal with a guessable number is exposed in the same way. The fix is a proper random&#10;number generator in the terminal.&lt;/p&gt;&#10;&lt;h2 id="phones-and-tokens"&gt;Phones and tokens&lt;/h2&gt;&#10;&lt;p&gt;A phone wallet adds two things to the card story.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/wallet-token.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/wallet-token.svg" alt="Phone wallet flows. Adding a card puts a token and key in the phone’s secure chip. At each tap you approve on the phone and send the token with a one-time code, so the shop never sees the card number." loading="lazy" decoding="async" width="640" height="596"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;A stand-in number.&lt;/strong&gt; EMVCo, the body that runs the EMV standards, defines&#10;payment tokenisation. A token replaces the card number with another value that&#10;is &amp;ldquo;constrained in how it can be used&amp;rdquo;, for example to one device. Apple&#10;describes its version: when you add a card, the bank or its service provider&#10;makes a device-specific number, the Device Account Number. It is stored in a&#10;chip called the Secure Element, and it is never stored on Apple&amp;rsquo;s servers. At a&#10;shop, the Secure Element gives the terminal that number and a transaction code,&#10;and Apple says &amp;ldquo;neither Apple nor your device sends your actual payment card&#10;number&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;A check on you.&lt;/strong&gt; Apple says a payment can be made only after the Secure&#10;Element gets the go-ahead from the Secure Enclave, which needs Face ID, Touch&#10;ID or the passcode. (Express Mode for transit cards is an exception that&#10;Apple lists.) The cryptogram is still made from a counter and a key that the&#10;payment network or the issuer knows.&lt;/p&gt;&#10;&lt;p&gt;These are different protections from a plastic card&amp;rsquo;s, not a ranking. A card&#10;has the chip key and the counter. A phone has the same, plus a token and a&#10;lock on the wallet.&lt;/p&gt;&#10;&lt;h2 id="what-can-still-go-wrong"&gt;What can still go wrong&lt;/h2&gt;&#10;&lt;p&gt;Replay, cloning and eavesdropping are covered by the key and the counter. The&#10;open problems are elsewhere.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Attack&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What the attacker does&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;What stops it&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Listen in&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Records a tap from a distance&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;One-time code, so the recording is a replay&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Replay&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Sends the recording again&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The bank rejects a counter it has seen&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Clone from the number&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Copies the card number&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;The code needs the key, which is not on the number&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Guess the random number&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Collects codes ahead of time&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A terminal that uses a proper random number generator&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Relay&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Forwards a live tap to another terminal&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Timing checks, spend limits, a lock on the phone&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;&lt;strong&gt;Relay is the one that is hard.&lt;/strong&gt; The attacker has two devices. One acts as a&#10;terminal next to your card. The other acts as a card at a real shop terminal.&#10;The two pass messages along a link. Your real card gets a real challenge and&#10;gives a real, fresh answer, so the counter and the code are both correct. A&#10;2025 survey of attacks on EMV contactless by researchers at ETH Zurich says&#10;this can be built with two NFC Android phones.&lt;/p&gt;&#10;&lt;p&gt;In 2022, researchers at Birmingham and Surrey published a paper on this at the&#10;IEEE Symposium on Security and Privacy. They showed that relaying could get&#10;around the Apple Pay lock screen, and that Visa&amp;rsquo;s relay countermeasure could&#10;be bypassed on rooted phones. They proposed a new relay-resistance protocol and checked it with a&#10;formal tool (Tamarin). I have not checked what&#10;changed in phones or cards since. The 2025 ETH survey says the relay&#10;protection in the kernel it calls Kernel 2 &amp;ldquo;seems&amp;rdquo; not yet available in cards&#10;or terminals.&lt;/p&gt;&#10;&lt;p&gt;The relay needs the attacker&amp;rsquo;s device within a few centimetres of the target&#10;card, which is the same range limit as before.&lt;/p&gt;&#10;&lt;h2 id="how-common-is-it"&gt;How common is it?&lt;/h2&gt;&#10;&lt;p&gt;UK Finance publishes the figures for the United Kingdom. Contactless went from&#10;3% of all UK payments in 2015 to 19% in 2018 and 32% in 2021. In 2023 it was&#10;38%, which was 18.3 billion payments.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/uk-contactless-share.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/uk-contactless-share.svg" alt="Bar chart of the contactless share of all UK payments: 3 per cent in 2015, 19 in 2018, 32 in 2021 and 38 in 2023, which was 18.3 billion payments. Source: UK Finance." loading="lazy" decoding="async" width="640" height="470"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;The 2015, 2018 and 2021 bars come from the UK Finance summary of 2022. The 2023&#10;bar comes from its press release of July 2024. UK Finance revises its series,&#10;so treat the step between 2021 and 2023 as rough.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Update, November 2026:&lt;/strong&gt; later UK Finance reports put contactless at 18.9&#10;billion payments in 2024 (press release of 1 October 2025) and 19.2 billion in&#10;2025, which UK Finance says was 39% of all payments (press release of 19&#10;August 2026).&lt;/p&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;How does a contactless card work without a battery?&lt;/strong&gt;&#10;The terminal makes a magnetic field at 13.56 MHz. The card&amp;rsquo;s coil sits in it,&#10;and a changing field makes a voltage in a coil. The chip runs on that voltage.&#10;The card answers by loading its own coil, which the terminal can feel.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How close does a contactless card have to be?&lt;/strong&gt;&#10;A few centimetres. The standard says the terminal&amp;rsquo;s field is 1.5 to 7.5 A/m, a&#10;card has to run on the low end, and the field of a loop falls with the cube of&#10;the distance once you are away from it. The NFC Forum quotes a typical range of&#10;up to 2 cm for its devices. In a lab, a listener with a loop antenna can hear a&#10;tap from much farther, but hearing is not powering.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is NFC the same as contactless payment?&lt;/strong&gt;&#10;Not quite. NFC is the short-range radio technology at 13.56 MHz, and NFC Forum&#10;devices can talk to ISO/IEC 14443 cards and readers. Contactless payment is the&#10;EMV payment application that runs on top of that link, with the cryptogram and&#10;the counter.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can someone copy my card by tapping it?&lt;/strong&gt;&#10;A reader that powers the card can get an answer from it. In the trace above the&#10;card sends its card number and other fixed data. What the reader cannot copy&#10;is the key in the chip, so it cannot make a code the bank will accept for a new&#10;payment. The attack that does work is a relay, which forwards a live tap and&#10;needs a device next to the card.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Is a phone tap different from a card tap?&lt;/strong&gt;&#10;The radio and the cryptogram are the same kind. The phone sends a token and&#10;not the card number, and it checks you first. Apple lists Express Mode as a&#10;case where that check is skipped.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-contactless-payment-nfc-works/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-contactless-payment-nfc-works/cheat-sheet.svg" alt="Contactless cheat sheet: the terminal’s 13.56 MHz field powers the card, which answers with a one-time code and a counter. The bank refuses replays and clones. A relay attack is the weak spot." loading="lazy" decoding="async" width="640" height="652"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://scdn.rohde-schwarz.com/ur/pws/dl_downloads/dl_application/application_notes/1ma113/1MA113_3e_meas_on_RFID_components.pdf"&gt;Rohde &amp;amp; Schwarz application note 1MA113: measurements on RFID components according to ISO/IEC 14443&lt;/a&gt; (carrier, field strength, modulation, bit rates)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://nfc-forum.org/learn/nfc-technology/"&gt;NFC Forum: NFC technology&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.emvco.com/emv-technologies/contactless/"&gt;EMVCo: EMV Contactless&lt;/a&gt; and &lt;a href="https://www.emvco.com/emv-technologies/payment-tokenisation/"&gt;EMV Payment Tokenisation&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://support.apple.com/en-us/101554"&gt;Apple Support: Apple Pay security and privacy overview&lt;/a&gt; and &lt;a href="https://support.apple.com/en-gb/guide/security/secc1f57e189/web"&gt;Payment authorisation with Apple Pay&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/pdf/1209.2531"&gt;Bond, Choudary, Murdoch, Skorobogatov and Anderson: Chip and Skim, cloning EMV cards with the pre-play attack&lt;/a&gt; (Cambridge; arXiv 2012, IEEE S&amp;amp;P 2014)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://i.blackhat.com/eu-19/Wednesday/eu-19-Galloway-First-Contact-Vulnerabilities-In-Contactless-Payments-wp.pdf"&gt;Galloway and Yunusov: First Contact, new vulnerabilities in contactless payments&lt;/a&gt; (Black Hat Europe, 2019)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.um.edu.mt/library/oar/bitstream/123456789/100460/1/Eavesdropping_near_field_contactless_payments_a_quantitative_analysis_2013.pdf"&gt;Diakos, Briffa, Brown and Wesemeyer: Eavesdropping near-field contactless payments, a quantitative analysis&lt;/a&gt; (University of Surrey, 2013)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://research.birmingham.ac.uk/en/publications/practical-emv-relay-protection"&gt;Radu, Chothia, Newton, Boureanu and Chen: Practical EMV relay protection&lt;/a&gt; (IEEE S&amp;amp;P 2022)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://arxiv.org/pdf/2504.03363"&gt;Hofmeier, Basin, Sasse and Toro-Pozo: SoK, attacks on modern card payments&lt;/a&gt; (ETH Zurich, 2025)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.ukfinance.org.uk/news-and-insight/press-release/one-third-uk-adults-now-use-mobile-contactless-payments"&gt;UK Finance press release on the Payment Markets Report, July 2024&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/idempotency-keys-explained/"&gt;Idempotency keys explained&lt;/a&gt; on this site&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://loomloops.com/post/payment-reconciliation/"&gt;Payment reconciliation in SQL&lt;/a&gt; on this site&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How QR Codes Work: Reading a Small One by Hand</title><link>https://loomloops.com/post/how-qr-codes-work/</link><pubDate>Mon, 14 Jul 2025 09:40:00 +0000</pubDate><dc:creator>Rafi Loom</dc:creator><guid>https://loomloops.com/post/how-qr-codes-work/</guid><description>&lt;p&gt;A QR code on a café table has a coffee ring across one corner. It still opens&#10;the menu. Put a thumb over the middle and it often still opens. Put the thumb&#10;over one of the three big squares in the corners and it stops.&lt;/p&gt;&#10;&lt;p&gt;That odd pattern of what survives and what does not is the whole design. This&#10;post takes a real, tiny QR code apart square by square, reads it by hand, and&#10;then breaks it on purpose to see what the repair data can and cannot save.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Short version:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A QR code is a grid of small dark and light squares. Three big squares in&#10;the corners let a scanner find it at any angle. A strip next to them says how&#10;to read the rest. The data runs in a zigzag, eight squares per byte.&lt;/li&gt;&#10;&lt;li&gt;Each code carries extra &amp;ldquo;repair bytes&amp;rdquo; (Reed-Solomon codes, the same family&#10;of maths used on music CDs). They fix whole bad bytes, not bad squares. A&#10;solid blotch is much kinder than the same number of scattered specks.&lt;/li&gt;&#10;&lt;li&gt;The four levels L, M, Q and H trade space for repair. In my test, a solid&#10;patch could cover about half of what the headline percentages suggest.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="a-code-you-can-read-by-hand"&gt;A code you can read by hand&lt;/h2&gt;&#10;&lt;p&gt;I made a version 1 code, the smallest size, that holds the text&#10;&lt;code&gt;LOOMLOOPS.COM&lt;/code&gt;. I used error level M, which is the middle setting and the one&#10;Denso Wave, the company that invented the code, says is &lt;a href="https://www.qrcode.com/en/about/error_correction.html"&gt;chosen most&#10;often&lt;/a&gt;. It is 21 squares&#10;wide and 21 high. Each square is called a &lt;strong&gt;module&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;Then I wrote a short decoder of my own that reads the code the way a scanner&#10;does, and checked every step against the library that made it. All the numbers&#10;below come from that run.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/anatomy.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/anatomy.svg" alt="A real version 1 QR code holding LOOMLOOPS.COM, taken apart: finder patterns, timing lines, format information (error level M, mask 6) and a 26 byte data and repair area. A 4 module white margin is needed." loading="lazy" decoding="async" width="640" height="482"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;&lt;strong&gt;Finder patterns.&lt;/strong&gt; The three big squares are each 7 modules wide: a dark&#10;ring, a light ring, then a dark 3 x 3 block. Walk a line through the middle of&#10;one in any direction and you cross dark, light, dark, light, dark in the&#10;proportion 1:1:3:1:1. That ratio is easy to spot at any angle, which is why a&#10;scanner can find the code lying sideways or upside down. Denso Wave says it&#10;picked 1:1:3:1:1 because it was the ratio least likely to turn up in ordinary&#10;printed matter, and that this is how &lt;a href="https://www.qrcode.com/en/history/"&gt;the square marks came&#10;about&lt;/a&gt;. There are three of them, not four.&#10;The empty fourth corner tells the scanner which way is up.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Timing lines.&lt;/strong&gt; Row 6 and column 6 alternate dark, light, dark, light between&#10;the finders. They give the scanner a ruler, so it knows where each module sits&#10;even if the print is a little stretched.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Format information.&lt;/strong&gt; Every code carries a 15-bit label, written twice (once&#10;around the top left finder and once split between the other two). It holds the&#10;error level, the mask number (next section), and 10 bits of repair data for the&#10;label itself. Here is the label from my code, read from the picture:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;bits as printed 100111110010111&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;XOR with a fixed pattern 101010000010010&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;result 001101110000101&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;split into 00 110 1110000101&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; | | &amp;#39;-- 10 repair bits for the label&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; | &amp;#39;-- mask number 6&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &amp;#39;-- error level M (the standard writes M as 00)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The fixed pattern is part of the standard. The two copies were identical in my&#10;code, as they should be.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;The quiet zone.&lt;/strong&gt; The code also needs an empty white margin, at least 4&#10;modules wide, on every side. Denso Wave says &lt;a href="https://www.qrcode.com/en/codes/"&gt;standard QR needs &amp;ldquo;a margin of 4&#10;module-worth at least&amp;rdquo;&lt;/a&gt;. A tight crop can&#10;break a code that is otherwise perfect.&lt;/p&gt;&#10;&lt;h2 id="the-mask"&gt;The mask&lt;/h2&gt;&#10;&lt;p&gt;If you wrote the data straight into the grid, some messages would look awful.&#10;A message of all zeros makes one huge white area, and a scanner has nothing to&#10;lock on to. Some data would also happen to draw a fake finder pattern.&lt;/p&gt;&#10;&lt;p&gt;The fix is a &lt;strong&gt;mask&lt;/strong&gt;: one of eight fixed patterns that flips selected data&#10;modules, dark to light and light to dark. The encoder tries all eight and keeps&#10;the one that scores best on four rules: long runs of one colour, 2 x 2 blocks&#10;of one colour, finder-like patterns, and a dark share far from 50%&#10;(&lt;a href="https://www.nayuki.io/page/creating-a-qr-code-step-by-step"&gt;Nayuki&amp;rsquo;s walkthrough&lt;/a&gt;&#10;has the scoring). The mask number goes into the format label, so the scanner&#10;knows which one to undo.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/masks.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/masks.svg" alt="A code of 34 zeros drawn without and with a mask, and the text LOOMLOOPS.COM drawn with each of the 8 masks. Mask 6 is highlighted yellow because this encoder picked it." loading="lazy" decoding="async" width="640" height="704"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Each mask is a short rule on the row and column of a module. Mask 6, the one in&#10;my code, flips a module when &lt;code&gt;((row * column) mod 2 + (row * column) mod 3) mod 2&lt;/code&gt; is 0. The full list, from &lt;a href="https://www.thonky.com/qr-code-tutorial/mask-patterns"&gt;the Thonky tutorial&lt;/a&gt;:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Mask&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Flip the module when&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;(row + column) mod 2 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;row mod 2 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;column mod 3 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;(row + column) mod 3 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;(floor(row / 2) + floor(column / 3)) mod 2 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;5&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;(row * column) mod 2 + (row * column) mod 3 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;((row * column) mod 2 + (row * column) mod 3) mod 2 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;(((row + column) mod 2) + ((row * column) mod 3)) mod 2 = 0&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;I scored all eight masks myself with the four rules and got mask 1 as the&#10;winner, not mask 6. The library picked 6. My scorer counted the format label&#10;modules, and the standard scores the symbol without the format and version&#10;information, which the library follows. It does not matter for scanning,&#10;because the label always says which mask was used. Only the data and repair modules are masked. The finders, timing lines and&#10;format label are left alone.&lt;/p&gt;&#10;&lt;h2 id="the-zigzag"&gt;The zigzag&lt;/h2&gt;&#10;&lt;p&gt;The data modules are read in strips two modules wide. The path starts in the&#10;bottom right corner, goes up one strip, turns, goes down the next, and so on.&#10;It jumps over the timing column and the corner patterns.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/zigzag.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/zigzag.svg" alt="The reading path on the version 1 code: from the bottom right, up and down strips 2 modules wide. The first 8 modules read 00100000 after undoing mask 6, and 0010 means letters and digits mode." loading="lazy" decoding="async" width="640" height="536"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Take the first eight modules in that order. Some are printed dark, some light.&#10;Mask 6 flips some of them. After undoing the mask, the bits are &lt;code&gt;00100000&lt;/code&gt;,&#10;which is the number 32. A scanner now has its first byte.&lt;/p&gt;&#10;&lt;p&gt;The first four bits, &lt;code&gt;0010&lt;/code&gt;, name the &lt;strong&gt;mode&lt;/strong&gt;. Mode &lt;code&gt;0010&lt;/code&gt; means&#10;alphanumeric: digits, capital letters and a few symbols (space and &lt;code&gt;$ % * + - . / :&lt;/code&gt;).&#10;The next 9 bits, &lt;code&gt;000001101&lt;/code&gt;, are the length: 13 characters, and&#10;&lt;code&gt;LOOMLOOPS.COM&lt;/code&gt; is 13 characters. Then the text, two characters at a time in 11&#10;bits. Give each character a number (0 to 9 are themselves, A is 10, L is 21, O&#10;is 24) and combine a pair as &lt;code&gt;first * 45 + second&lt;/code&gt;:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&amp;#34;LO&amp;#34; -&amp;gt; 21 * 45 + 24 = 969 -&amp;gt; 01111001001&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Those 11 bits are exactly the next 11 modules after the length. Two characters&#10;in 11 bits is 5.5 bits per character, against 8 for plain text. After the last&#10;character come &lt;code&gt;0000&lt;/code&gt; (an end marker), a few zeros to fill the byte, and then&#10;padding bytes that alternate &lt;code&gt;11101100&lt;/code&gt; and &lt;code&gt;00010001&lt;/code&gt; (236 and 17) until the&#10;data area is full.&lt;/p&gt;&#10;&lt;p&gt;My code holds 26 bytes in total. The first 16 are data. The mode (4 bits), the&#10;length (9 bits), the text (72 bits) and the end marker make 89 bits. Zeros fill&#10;that out to 12 bytes, and 4 padding bytes complete the 16. The last 10 bytes are&#10;the repair bytes.&lt;/p&gt;&#10;&lt;h2 id="repair-bytes-reed-solomon-in-plain-words"&gt;Repair bytes: Reed-Solomon in plain words&lt;/h2&gt;&#10;&lt;p&gt;Here is the idea with a school-maths picture. Two points fix a straight line.&#10;Three points fix a parabola. Now say the message is three numbers, and you&#10;send them as three points on a parabola. If you also send two more points on&#10;the same parabola, the receiver gets five points. Lose any two of them and the&#10;three left still fix the one parabola that passes through them all. The two&#10;missing points can be worked out again.&lt;/p&gt;&#10;&lt;p&gt;Reed-Solomon codes do this with bytes instead of points on a drawing. The data&#10;bytes are treated as the numbers of a polynomial (the curve), and the repair&#10;bytes are extra points, worked out by polynomial division in a small number&#10;system with exactly 256 values (one value for each possible byte). The&#10;division remainder is the repair bytes. Irving Reed and Gustave Solomon&#10;described these codes in &lt;a href="https://www.jstor.org/stable/2098968"&gt;a short paper in&#10;1960&lt;/a&gt;. Denso Wave&amp;rsquo;s own page says the repair data&#10;&lt;a href="https://www.qrcode.com/en/about/error_correction.html"&gt;needs twice as many codewords as the number it can correct&lt;/a&gt;,&#10;and that the same maths is used for music CDs.&lt;/p&gt;&#10;&lt;p&gt;A JPEG goes the other way: it throws detail away on purpose to save bytes,&#10;and &lt;a href="https://loomloops.com/post/jpeg-quality-loss-resaving/"&gt;re-saving one shows what that costs&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;So the maths lets 10 repair bytes fix up to 5 wrong bytes when nobody says&#10;which bytes are wrong. The standard promises a little less for the smallest&#10;codes (4 for this one, more on that below). I tried it on the 16 data bytes of my code, with the &lt;code&gt;reedsolo&lt;/code&gt; library set up the way the&#10;QR standard sets it up (the number system&amp;rsquo;s constants 0x11D and 2, which&#10;&lt;a href="https://www.thonky.com/qr-code-tutorial/error-correction-coding"&gt;Thonky&amp;rsquo;s tutorial&lt;/a&gt;&#10;lists):&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;import&lt;/span&gt; reedsolo&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;data &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;bytes&lt;/span&gt;([&lt;span style="color:#bd93f9"&gt;32&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;107&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;201&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;137&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;207&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;38&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;40&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;209&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;100&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;104&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;176&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;236&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;17&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;236&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;17&lt;/span&gt;])&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;rs &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; reedsolo&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;RSCodec(&lt;span style="color:#bd93f9"&gt;10&lt;/span&gt;, fcr&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;, prim&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;0x11D&lt;/span&gt;, generator&lt;span style="color:#ff79c6"&gt;=&lt;/span&gt;&lt;span style="color:#bd93f9"&gt;2&lt;/span&gt;)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;packet &lt;span style="color:#ff79c6"&gt;=&lt;/span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;bytearray&lt;/span&gt;(rs&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;encode(data))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#8be9fd;font-style:italic"&gt;list&lt;/span&gt;(packet[&lt;span style="color:#bd93f9"&gt;16&lt;/span&gt;:])) &lt;span style="color:#6272a4"&gt;# the repair bytes&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; i &lt;span style="color:#ff79c6"&gt;in&lt;/span&gt; (&lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;3&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;6&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;9&lt;/span&gt;, &lt;span style="color:#bd93f9"&gt;12&lt;/span&gt;): &lt;span style="color:#6272a4"&gt;# wreck 5 bytes&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; packet[i] &lt;span style="color:#ff79c6"&gt;^=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;0xFF&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#8be9fd;font-style:italic"&gt;bytes&lt;/span&gt;(rs&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;decode(&lt;span style="color:#8be9fd;font-style:italic"&gt;bytes&lt;/span&gt;(packet))[&lt;span style="color:#bd93f9"&gt;0&lt;/span&gt;]) &lt;span style="color:#ff79c6"&gt;==&lt;/span&gt; data)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;packet[&lt;span style="color:#bd93f9"&gt;15&lt;/span&gt;] &lt;span style="color:#ff79c6"&gt;^=&lt;/span&gt; &lt;span style="color:#bd93f9"&gt;0xFF&lt;/span&gt; &lt;span style="color:#6272a4"&gt;# wreck a 6th&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;try&lt;/span&gt;:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; rs&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;decode(&lt;span style="color:#8be9fd;font-style:italic"&gt;bytes&lt;/span&gt;(packet))&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;except&lt;/span&gt; reedsolo&lt;span style="color:#ff79c6"&gt;.&lt;/span&gt;ReedSolomonError &lt;span style="color:#ff79c6"&gt;as&lt;/span&gt; e:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#8be9fd;font-style:italic"&gt;print&lt;/span&gt;(&lt;span style="color:#f1fa8c"&gt;&amp;#34;failed:&amp;#34;&lt;/span&gt;, e)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It printed:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[155, 45, 21, 124, 34, 233, 128, 65, 215, 165]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;True&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;failed: Too many errors to correct&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The ten repair bytes match the last ten bytes my decoder read out of the&#10;printed code. My decoder fixed five wrecked bytes and the text came back. A&#10;sixth stopped it.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/reed-solomon.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/reed-solomon.svg" alt="Reed-Solomon repair on the version 1 code’s 26 bytes: 16 data, 10 repair. With 5 bytes overwritten the decoder rebuilds the text; with 6 it reports an error. The standard promises 4 for level M." loading="lazy" decoding="async" width="640" height="424"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="four-levels-l-m-q-and-h"&gt;Four levels: L, M, Q and H&lt;/h2&gt;&#10;&lt;p&gt;The error level sets how many repair bytes a code gets. The names stand for&#10;Low, Medium, Quartile and High, and the headline figures are about 7%, 15%,&#10;25% and 30% of the bytes. Denso Wave says higher levels correct more but make&#10;the code bigger, &lt;a href="https://www.qrcode.com/en/about/error_correction.html"&gt;level L suits clean places with a lot of data, and Q or H&#10;suit dirty places&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;In my version 1 code, the same 26-byte frame is split like this:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Data bytes&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Repair bytes&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Maths allows&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Standard promises&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;L&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;19&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;3&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;M&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;16&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;5&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Q&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;13&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;13&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;H&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;9&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;17&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;8&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;8&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Data and repair counts are from &lt;a href="https://www.thonky.com/qr-code-tutorial/error-correction-table"&gt;the Thonky error correction&#10;table&lt;/a&gt;. &amp;ldquo;Maths&#10;allows&amp;rdquo; is half the repair bytes, rounded down: the number of wrong bytes&#10;that can be fixed when nobody says which bytes are wrong. The smallest versions&#10;keep a byte or two of the repair data back to catch a wrong repair, so the&#10;standard promises a little less for L and M. The right-hand column is second-hand:&#10;the standard is paywalled and I did not read it. My decoder was not bound by it and fixed 5 bytes at level M.&lt;/p&gt;&#10;&lt;p&gt;Bigger codes do not use one long Reed-Solomon word. They split the data into&#10;several blocks, each with its own repair bytes, and then interleave the bytes&#10;of the blocks. A version 7 code at level H, for example, has five blocks that&#10;can each fix 13 bytes. Interleaving is what makes a solid blotch survivable:&#10;the damaged bytes sit next to each other in the printed code, but they come&#10;from different blocks, so each block only sees a few of them.&lt;/p&gt;&#10;&lt;h2 id="versions-and-capacity"&gt;Versions and capacity&lt;/h2&gt;&#10;&lt;p&gt;There are 40 versions. Version 1 is 21 x 21 modules, and each version adds 4&#10;modules per side, so the side is &lt;code&gt;4 x version + 17&lt;/code&gt;. Version 40 is &lt;a href="https://www.qrcode.com/en/about/version.html"&gt;177 x&#10;177&lt;/a&gt;.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/versions.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/versions.svg" alt="Four QR codes at one scale, level M: version 1 (21 by 21 modules) holds 14 bytes, version 2 holds 26, version 7 holds 122, version 40 (177 by 177) holds 2,331. Side is 4 times version plus 17." loading="lazy" decoding="async" width="640" height="520"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;p&gt;Two things appear as a code grows. From version 2, small &lt;strong&gt;alignment patterns&lt;/strong&gt;&#10;(a 5 x 5 square) help the scanner follow a bent or tilted print. From version 7,&#10;the version number itself is written twice near the finders, with repair bits.&#10;Version 1 does not need either.&lt;/p&gt;&#10;&lt;p&gt;How much fits depends on the version, the level and the mode. Here is the&#10;capacity in byte mode (plain 8-bit text, the mode most URLs use), from every&#10;version and level:&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/capacity-chart.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/capacity-chart.svg" alt="Line chart of QR capacity in bytes against version 1 to 40, one line per error level. At version 40: L 2,953, M 2,331, Q 1,663, H 1,273. Each level up costs capacity." loading="lazy" decoding="async" width="640" height="496"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Version&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Side&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;L&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;M&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Q&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;H&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;21 x 21&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;17&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;14&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;11&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;57 x 57&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;271&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;213&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;151&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;119&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;25&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;117 x 117&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1,273&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;997&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;715&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;535&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;40&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;177 x 177&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2,953&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;2,331&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1,663&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;1,273&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;I took these from the tables published at&#10;&lt;a href="https://www.thonky.com/qr-code-tutorial/character-capacities"&gt;thonky.com&lt;/a&gt;, then&#10;re-derived all 160 numbers from the standard&amp;rsquo;s codeword counts with the&#10;&lt;code&gt;segno&lt;/code&gt; library. They matched. The standard is &lt;a href="https://www.iso.org/standard/62021.html"&gt;ISO/IEC&#10;18004&lt;/a&gt;. The 2024 edition is the current&#10;one. It replaced the 2015 edition, which ISO lists as withdrawn since August&#10;2024. Both are paywalled and I read neither. The capacity numbers I used are the&#10;2015 ones as published, and they are the same in the 2024 edition.&lt;/p&gt;&#10;&lt;p&gt;Digits-only text uses numeric mode, which packs three digits into 10 bits. The&#10;same version 40 level L code that holds 2,953 bytes holds 7,089 digits.&lt;/p&gt;&#10;&lt;p&gt;A practical effect: fewer bytes means a smaller version, which means bigger&#10;modules at the same print size, which scan more easily. My page&amp;rsquo;s address,&#10;&lt;code&gt;https://loomloops.com/post/how-qr-codes-work/&lt;/code&gt;, is 45 characters. At level M it&#10;needs version 4 (33 x 33). Written in capitals it can use alphanumeric mode, and&#10;the same address fits in version 3 (29 x 29). The catch: the host name does not&#10;care about case, but the path on many servers does, so only do this when you&#10;know the path survives it.&lt;/p&gt;&#10;&lt;h2 id="when-it-breaks"&gt;When it breaks&lt;/h2&gt;&#10;&lt;h3 id="a-solid-patch-against-scattered-specks"&gt;A solid patch against scattered specks&lt;/h3&gt;&#10;&lt;p&gt;The repair bytes count bytes, and a byte is 8 modules. Flip one module and its&#10;whole byte is wrong. So 34 flipped modules scattered over a version 7 code&#10;(196 bytes in total) hit about 31 different bytes. The same 34 modules in one&#10;blotch would hit only a handful.&lt;/p&gt;&#10;&lt;p&gt;I tested it. I took a version 7 code that holds &lt;code&gt;loomloops.com/qr&lt;/code&gt;, flipped&#10;random data modules, and tried to read each result with OpenCV&amp;rsquo;s QR reader, 20&#10;tries per setting:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Modules flipped&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;L&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;M&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Q&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;H&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;34 (2% of the 1,719 I allowed)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;3 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;17 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;20 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;68 (4%)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;5 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6% or more&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;0 of 20&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;I let it flip any module outside the corner patterns, the timing lines and the&#10;centre pattern. A speckle of 34 squares in a 2,025-square code is nothing you&#10;would notice by eye. At level L&#10;it was enough to stop every read.&lt;/p&gt;&#10;&lt;h3 id="a-solid-patch-in-the-middle"&gt;A solid patch in the middle&lt;/h3&gt;&#10;&lt;p&gt;Now the case that matters for logos. I covered a square in the middle with&#10;white, made it one module larger each time, and noted the largest square that&#10;still read. Five random texts per level, the median, on versions 4, 7 and 10.&lt;/p&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/damage-chart.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/damage-chart.svg" alt="Bar chart for a version 7 QR code: the maths can repair 10 percent (L) to 33 percent (H) of bytes, but the biggest centred patch a scanner still read was only 6 to 16 percent of the area." loading="lazy" decoding="async" width="640" height="506"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Version&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Bytes the maths can fix&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Biggest patch that still read&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;L&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4.5% of the area&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;M&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;18%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;9.2%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Q&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;26%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;11.1%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;4&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;H&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;32%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;15.5%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;L&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6.0%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;M&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;18%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;9.7%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Q&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;28%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;12.6%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;7&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;H&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;33%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;16.0%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;L&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;6.0%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;M&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;19%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;13.6%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Q&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;28%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;20.8%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;10&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;H&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;32%&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;22.4%&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;The second column is the total repair capacity divided by the total bytes,&#10;using the block sizes from the standard&amp;rsquo;s table. The third is what I measured.&#10;In every row the patch is smaller than the maths limit, between about half&#10;and three quarters of it. Three reasons I can think of, none of which I isolated:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A patch also spoils the bytes along its edge, so it hits more bytes than its&#10;area suggests.&lt;/li&gt;&#10;&lt;li&gt;A reader may not use every repair byte it could.&lt;/li&gt;&#10;&lt;li&gt;Versions 7 and 10 have an alignment pattern in the centre, and a patch that&#10;covers it may confuse a reader that leans on it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Two cautions about my numbers. They come from one reader, and phone scanners&#10;differ. Also, that reader failed on 2 of the 60 undamaged codes I generated (both&#10;version 10), which is why I used medians. Treat the table as a picture of the&#10;shape, not as a promise.&lt;/p&gt;&#10;&lt;p&gt;A separate run with &lt;code&gt;loomloops.com/qr&lt;/code&gt; at version 7, level H gave the same&#10;picture: a 19 x 19 patch (17.8% of the area) read, a 20 x 20 patch (19.8%) did&#10;not, and a 25 x 25 patch (30.9%, the &amp;ldquo;30%&amp;rdquo; people quote) did not either.&lt;/p&gt;&#10;&lt;p&gt;So &amp;ldquo;a logo can cover 30%&amp;rdquo; is the wrong way to read the level H figure. In my&#10;test about a sixth of the area was a safe size, and a designer who wants a&#10;logo in the middle should pick level H, keep the logo small, and try the result&#10;on real phones. Denso Wave&amp;rsquo;s own answer for pictures is a separate variant,&#10;&lt;a href="https://www.qrcode.com/en/codes/"&gt;Frame QR&lt;/a&gt;, which leaves a canvas area for&#10;text or images.&lt;/p&gt;&#10;&lt;h3 id="hiding-a-finder-pattern"&gt;Hiding a finder pattern&lt;/h3&gt;&#10;&lt;p&gt;I covered the top left finder (with its white edge) on a version 7, level H&#10;code. The reader failed. The repair bytes protect the data, not the three&#10;squares used to find the code, so no level saves a code that has lost one.&lt;/p&gt;&#10;&lt;h2 id="which-level-should-you-use"&gt;Which level should you use?&lt;/h2&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level L&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level M&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level Q&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Level H&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Good for&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Clean screens, lots of data&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A default for most prints&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Prints that get scuffed&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Logos in the middle, rough surfaces&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Cost&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Smallest code&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Small&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Bigger&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Biggest. At version 10, 119 bytes against 271 for L&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Watch out for&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A few specks can stop it (0 of 20 reads at 2% in my test)&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Same, a little more room&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A patch of 11 to 21% of the area, depending on version, in my test&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;A bigger code means smaller modules at the same print size&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="questions-people-ask"&gt;Questions people ask&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;How do QR codes work?&lt;/strong&gt;&#10;A scanner finds the three corner squares, which give position, rotation and&#10;size. It reads the format label to learn the error level and mask. It undoes&#10;the mask, reads the modules in a zigzag to get bytes, fixes bad bytes with the&#10;repair bytes, and then decodes the result as numbers, letters or bytes.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Why does a QR code still scan when it is torn or has a logo on it?&lt;/strong&gt;&#10;Each code carries repair bytes worked out from the data with Reed-Solomon&#10;maths. If some bytes are wrong, the scanner can rebuild them. It only works up&#10;to a limit, and the limit counts bytes, not area. In my test, a solid patch of&#10;16% of the area was about the most a version 7 level H code took.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What do error correction levels L, M, Q and H mean?&lt;/strong&gt;&#10;They are four settings for how many repair bytes a code carries. L has the&#10;fewest and M is the common default. Q and H add more repair bytes, and the code&#10;gets bigger. The usual figures are about 7%, 15%, 25% and 30% of the bytes.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;How much data can a QR code hold?&lt;/strong&gt;&#10;At most 2,953 bytes of plain text, or 7,089 digits, in a version 40 code at&#10;level L. A higher level holds less: 1,273 bytes at level H. Short messages need&#10;a much smaller code, and a smaller code is easier to scan.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Can a QR code be scanned upside down or at an angle?&lt;/strong&gt;&#10;Yes. The three finder squares have the ratio 1:1:3:1:1 along any line through&#10;their middle, so a scanner can find them at any angle, and the missing fourth&#10;corner tells it which way is up. Denso Wave says one aim was reading from &lt;a href="https://www.qrcode.com/en/history/"&gt;any&#10;of 360 degrees&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="cheat-sheet"&gt;Cheat sheet&lt;/h2&gt;&#10;&lt;figure&gt;&#10; &lt;a href="https://loomloops.com/images/how-qr-codes-work/cheat-sheet.svg"&gt;&lt;img src="https://loomloops.com/images/how-qr-codes-work/cheat-sheet.svg" alt="QR code cheat sheet: finder patterns, timing lines, format info, a mask, zigzag reading and Reed-Solomon repair bytes. Version 40 at level L holds 2,953 bytes. My level H test tolerated a 16 percent patch." loading="lazy" decoding="async" width="640" height="546"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;&lt;h2 id="further-reading"&gt;Further reading&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://www.qrcode.com/en/history/"&gt;QR Code history, Denso Wave&lt;/a&gt;: why it was invented, the 1:1:3:1:1 ratio, and the patent stance. Denso Wave kept the patent rights and said it would not exercise them.&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.qrcode.com/en/about/error_correction.html"&gt;Error correction, Denso Wave&lt;/a&gt; and &lt;a href="https://www.qrcode.com/en/about/version.html"&gt;versions&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.iso.org/standard/62021.html"&gt;ISO/IEC 18004 on iso.org&lt;/a&gt;: the standard (the 2015 edition&amp;rsquo;s page; ISO replaced it with a 2024 edition)&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.thonky.com/qr-code-tutorial/"&gt;QR Code Tutorial, Thonky&lt;/a&gt;: every table and the Reed-Solomon steps&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.nayuki.io/page/creating-a-qr-code-step-by-step"&gt;Creating a QR code step by step, Nayuki&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://www.jstor.org/stable/2098968"&gt;Polynomial Codes over Certain Finite Fields, Reed and Solomon, 1960&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item></channel></rss>