gps-digest › Blog

Training and AI

ChatGPT can analyze your running workouts. It just has to be able to read them first.

Published · 7 min read

Ask an AI why Tuesday's intervals felt so hard, and it will give you a better answer than most training apps. On one condition: it has to actually see your data. That is where things fall apart, and not for the reason you think.

Why is AI such a good training partner?

Because it starts from your question, not from a dashboard. An app shows you the same charts it shows everyone. An AI can explain why your pace dropped at kilometer 8, taking into account the heat, your heavy week and the goal you gave it.

With good data, an AI can:

That personalization is what makes the difference. But it rests on an assumption almost nobody checks: that the model really has access to your data, not to a three-line summary or an unreadable file.

What is a token, and why does your watch produce so many?

A token is the unit of text a language model reads and bills for: a piece of a word, a number or punctuation. Every model has a limit, its context window, beyond which it cannot read anything more. Depending on the model and the plan, that limit ranges today from a few tens of thousands to a few million tokens.

The problem is that watch files are built for software, not for reading. A TCX file repeats the same XML tags for every second of your run. Here is what our benchmark measures:

DataSizeEstimated tokens
One one-hour run, raw TCX file1.7 MB≈ 533,000
The same run, as a structured file≈ 18 KB≈ 5,800
15 MB of real files, raw15 MB≈ 4.7 million
The same files, as a structured file≈ 100 KB≈ 32,000

Estimated at 3.2 characters per token, the ratio observed on numeric CSV. Measurements can be reproduced with the benchmark published in the source code.

In other words, a single raw workout can max out a consumer plan, and a full season fits nowhere.

What happens when you paste a TCX file into ChatGPT?

Three possible outcomes. None of them is good.

1. The file is rejected

This is the most honest case: the interface tells you the file is too large. You lose time, but at least you know.

2. The file is only partly read, and you are not told

With a large attachment, assistants often read only excerpts of it, or hand it to a script that summarizes it. The AI then answers confidently based on only part of the workout. The answer looks right. It may not be.

3. The file gets through, but the analysis is poor

Even with a large context window, a model makes poor use of information buried in the middle of a long document. Stanford researchers documented this effect as "lost in the middle" (Liu et al., 2024). Asking for a training analysis from 3,600 lines of latitudes and longitudes means asking it to do mental math it is bad at, on data that tells it almost nothing.

Should you compress the file? No, restructure it

Making the file smaller is not enough: it has to become readable. A coach does not read your GPS coordinates second by second. They look at your kilometer splits, your reps and your heart rate by zone. That is exactly what a language model knows how to interpret.

In the raw fileIn a structured file
3,600 lines of latitude, longitude and altitudeKilometer splits, laps, time spent in each zone
One heart rate value per secondCardiac drift already computed, with the portion of the run it covers
No indication of the heart rate sensorChest strap or wrist, with a confidence level
XML tags repeated at every pointCSV tables with explicit units

On 15 MB of real files, the structured file comes to about 32,000 tokens. And the analysis it produces is better than with the full files. Not just cheaper: better, because the model works with objects it understands.

What can an AI not figure out on its own?

Some errors do not show up in the numbers. If nothing flags them, the AI treats them as facts and builds its analysis on top of them.

A good file does more than summarize. It says what is reliable and what is not, so the AI does not reason on sand.

How do you get an AI to analyze your workouts in three minutes?

  1. Export your files from your watch or Strava, ideally in FIT format, the most complete one.
  2. Drop them into gps-digest. Everything is computed in your browser: no file is uploaded to a server.
  3. Copy the file into ChatGPT, Gemini or Claude, then ask your question.

Prepare my workouts for AI

What should you ask your AI?

The best questions start from a real doubt. Here are five examples that work well with a structured file:

Frequently asked questions

Can ChatGPT read a FIT or TCX file directly?

It can open it, but not make proper use of it. FIT is a binary format the AI has to decode with a script, and a one-hour TCX file is about 533,000 tokens. Either way, the analysis relies on excerpts or on raw data that is poorly suited to it. A structured file solves both problems.

Why not just export a CSV from Garmin Connect?

Because that export is mostly limited to laps. It contains no cardiac drift, no sensor detection, no rep-by-rep detail, and none of the context that prevents misreadings, such as how pace was calculated.

Is my data sent anywhere?

No. Your files are read and analyzed in your browser. Only the file you copy into an AI yourself leaves your device, and GPS coordinates are removed from it by default.

Can an AI replace a coach?

No, and that is not the point. It explains, compares and suggests, but it does not see you run and does not feel your pain. If you are injured or seriously unsure, a professional's advice comes first.

Which AI should you use: ChatGPT, Gemini or Claude?

All three can analyze a structured file. The real difference is the size of the context window on your plan. With a file of a few thousand tokens per workout, the question no longer matters.

Sources

  1. Liu NF, et al. Lost in the Middle: How Language Models Use Long Contexts. Transactions of the Association for Computational Linguistics, 2024. arXiv:2307.03172.
  2. Size and token measurements: gps-digest benchmark, reproducible, in the open source code.