Use case
How much does my car really cost? Analyzing 11 months of expenses with ChatGPT and KashLog
An actual expense tracking example: using transaction history, historical exchange rates, and ChatGPT to understand the cost of keeping an older car.
The $500 repair that started the analysis
I recently took my high-mileage BMW to the mechanic for another repair. The bill came to approximately $500. It wasn't a particularly unexpected expense. When you buy a used car with considerable mileage, maintenance and occasional repairs are part of ownership.
But it raised a question I'd been avoiding for some time: does it still make financial sense to keep this car?
I like driving it. I'm familiar with its history, I've already invested in maintaining it, and replacing it with something newer would require additional money. But none of those feelings answers the financial question. I needed to know what the car had actually been costing me.
The problem with remembering expenses
Most of us remember particularly expensive repairs. We remember replacing tires, visiting the mechanic, or paying for insurance. What we don't necessarily remember is the cumulative cost.
A $300 payment in January, a $700 expense in March, another $500 in October - individually, each seems manageable. Over a year, however, the picture can be very different.
Some people don't track spending at all. Others stop paying attention to smaller purchases once their income comfortably covers everyday expenses. That's understandable. But even when you don't need to optimize your grocery budget, having a record of your expenses can still support significant financial decisions.
Using KashLog and ChatGPT to calculate the cost
I already had my spending history recorded in KashLog, an expense tracking app I developed. Instead of manually exporting transactions and building a spreadsheet, I used the KashLog ChatGPT integration. I wanted to:
- Retrieve transportation expenses for the last 12 months, including today.
- Exclude the original car purchase and motorcycle expenses.
- Focus on transactions above 3,000 Turkish lira.
- Separate probable fuel purchases from other major expenses.
- Convert expenses to USD using historical exchange rates.
- Visualize the results on a monthly chart.
Here is the actual prompt I used:
Get my KashLog expenses in the Transport category for the past 12 months, including today. Include only transactions above 3,000 TRY. Exclude the car purchase and explicitly identified motorcycle expenses. Treat expenses between 3,000 and 5,000 TRY as probable fuel purchases, and larger amounts as other major expenses. Don't label them as repairs unless the notes confirm it. Convert each expense to USD using the historical exchange rate at the start of its month, or the previous business day if it falls on a weekend or holiday. Create a monthly stacked column chart showing probable fuel purchases and other major expenses separately.
The important part was the classification. I didn't want ChatGPT to invent transaction descriptions. A payment of 20,000 TRY might represent a repair, an insurance payment, or something else entirely. Without supporting notes, those distinctions would be assumptions.
The results: over $8,000 in 11 months
The analysis produced the following figures:
| Expense group | TRY | Approx. USD |
|---|---|---|
| Major expenses excluding probable fuel purchases | 280,315 | $6,373 |
| Total including probable fuel purchases, excluding car purchase | 369,573 | $8,305 |
| Total including original car purchase | 1,507,573 | $35,115 |
All USD figures use historical exchange rates rather than today's rate. These numbers cover transactions above 3,000 TRY, so they are not a complete total cost of ownership. Smaller fuel purchases, parking, tolls, and other expenses may not be included.
Nevertheless, the results were revealing. Approximately $8,305 in 11 months works out to around $755 per month - before depreciation and any expenses excluded by the filters.
What the monthly chart revealed
The largest spending spikes appeared in December, February, March, and June. What initially felt like an occasional series of repairs and maintenance visits turned out to be a substantial ongoing expense.
Importantly, the chart didn't tell me whether to sell the car. It showed me the historical cost of keeping it. That distinction matters.
Should I replace the car?
Spending $8,305 over 11 months doesn't automatically mean replacing the car is the right financial decision. The money I've already spent is gone. It cannot be recovered by keeping the vehicle longer.
The actual decision depends on future costs. For example:
- How much maintenance and repair expense should I expect next year?
- How much would I receive from selling my current car?
- How much additional money would I need for a replacement?
- Would a newer car really be more reliable?
- How would depreciation, insurance, and maintenance compare?
My expense history doesn't answer every question. But it gives me a much better starting point than memory or intuition alone. I may still decide to keep my BMW. If I do, at least I'll understand the financial trade-off.
Why expense tracking matters even when you're not budgeting
Expense trackers are often presented as tools for cutting small everyday costs. But that's only one use case.
The real value of a financial history is that you can ask questions about it later - including questions you didn't know you'd want to ask when you recorded the transactions.
Today, that question might be whether to replace an aging car. Tomorrow, it might be whether to move to a different apartment, reconsider an insurance policy, or understand the cost of a hobby.
Recording expenses is only the first step. Being able to retrieve, filter, compare, and interpret them is where the information becomes useful.