ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

Was ein von KI-Agenten gebautes Feature wirklich kostet

Ein Entwickler ließ eine Bildungsplattform über zwei Wochen von KI-Agents bauen. Das Tempo war beeindruckend, die Kostenrechnung enttäuschend, wie er in einem Selbstversuch feststellte.

dev.toFreitag 00:38 · 04.12.DE4 Min. Lesezeit
Bild: dev.to

Eine Bildungsplattform, die ich für Studierende ausliefere, wurde nicht von mir Zeile für Zeile gebaut. Sie wurde von KI-Agenten gebaut.

Mitte November führte ich einen zweiwöchigen Hackathon durch (18. November bis 1. Dezember 2026), um zu sehen, wie weit dieser Zyklus tragen würde. Das Tempo war real. Die Kostengeschichte war es nicht.

Diese Arbeit lief auf einer Bildungs-Portierung von Ukaf. Ukaf ist das kommerzielle Produkt: ein agentic Harness mit DORA, measure, improve und context. Agenten schreiben den Code, öffnen Pull Requests, bestehen die CI und liefern in die Produktion aus.

ukaf-cli ist die kostenlose, schlanke Open-Source-Variante davon. Es deckt ausschließlich FinOps ab, also Kosten pro Feature, nicht das vollständige Harness.

Ich konnte auf ein Board zeigen und sagen, was ausgeliefert wurde. Ich konnte aber nicht sauber beantworten, was ein von KI gebautes Feature tatsächlich kostete oder wohin der Rest der Rechnung floss.

Ich exportierte einen Monat Cursor-Nutzung (4. November bis 3. Dezember 2026) und ordnete zu, was sich zuordnen ließ, den ausgelieferten Pull Requests zu.

Die Lücke zwischen Listenpreis und abgerechnetem Betrag bedeutet nicht, dass die Features günstig waren. Es handelt sich um nicht zurechenbare Nutzung und Overhead, den kein Pull Request für sich beanspruchen kann. Daraus folgen zwei Dinge:

Allein so weit zu kommen kostete Stunden mit Tabellenkalkulation, und die Kategorien überschnitten sich. Derselbe Dollar konnte in mehr als einem Bereich auftauchen. Ich wollte eine Geschichte, die rechnerisch aufging, und Empfehlungen, die eine konkrete Maßnahme nannten, kein vages Gefühl.

Ukaf, das kommerzielle Produkt, ist das umfassendere System: das agentic Harness plus DORA, measure, improve und context. Die Bildungs-Portierung von Ukaf trieb den Hackathon auf dieser Bildungsplattform an.

ukaf-cli nimmt genau ein Segment davon heraus und macht es kostenlos und klein. Es liest eine Cursor-Nutzungs-CSV und die zugehörigen Pull Requests und erzählt den Monat als eine zusammenhängende Geschichte: was die Agenten ausgegeben haben und was tatsächlich ausgeliefert wurde.

Die FinOps-Regel ist einfach. Jedes Feature durchläuft fünf Stufen in einer festen Reihenfolge. Die Stufen ergeben zusammen das Feature. Die Features plus einem expliziten Overhead-Bucket ergeben zusammen den Export. Wenn ein Teil nicht mit dem Ganzen übereinstimmt, schlägt ein Abgleich fehl und der Lauf schlägt fehl.

Ein Meilenstein, der außerhalb der Reihenfolge eintrifft, wird zu einer Stufe der Länge null. Er startet kein zweites, sich überlappendes Intervall. Nacharbeit vor dem ersten grünen Check bleibt innerhalb der Stufe testing. Die Stufe fixes umfasst nur das, was nach der Abnahme passiert.

Es gibt keine zweite Uhr. Die DORA Lead Time ist testing plus deploy. Die Time to Restore ist die Stufe fixes. Man wird also nicht "launch → merge" neben "PR open → merge" sehen, als wären das unabhängige Größen.

Listenpreis (die Rate Card, vor dem inkludierten Kontingent) und abgerechnete Kosten (das, was die CSV berechnet hat) stehen beide in der Geschichte. Zeilen mit Included und Free werden mit null abgerechnet, haben aber weiterhin einen Listenpreis, sodass man sieht, was das Kontingent aufgenommen hat.

Jeder gemergte PR erhält zusätzlich eine Komplexitätsstufe, S, M, L oder XL, basierend auf handgeschriebenen SLOC und der Dateianzahl. Lockfiles und generierte Pfade zählen nicht. Kosten nach Stufe ist eine Aufteilung der Feature-Ausgaben; Overhead ist eine eigene Zeile.

Empfehlungen bestehen ausschließlich aus Regeln. Jede nennt die Maßnahme, die Belege aus dem betreffenden Zeitfenster und eine monatliche Schätzung in Dollar oder Minuten. Sie werden nach abgerechneter Ersparnis, dann nach Listenpreis-Ersparnis, dann nach Minuten sortiert. Nirgendwo im Bericht steht "erwägen Sie, Ihren Workflow zu optimieren".

Bei meinen eigenen Daten war die schärfste Lektion ein Schalter, kein Modell. Ein teurer Tag im Hackathon kostete 64,98 Dollar. Ich war sicher, dass das teure Modell die Ursache war. Die Spitze kam von High plus Fast. Fast auszuschalten ist die deutlichste Ersparnis im Zeitfenster.

Das Repository ist öffentlich, in main gemergt, mit grüner CI. Klonen Sie es und installieren Sie es aus dem Checkout:

git clone https://github.com/UriBer/ukaf-cli.git cd ukaf-cli pip install -e ".[dev]" Enter fullscreen mode Exit fullscreen mode Führen Sie zuerst das mitgelieferte synthetische Beispiel aus. Es hat dieselben Spalten wie ein Cursor-Nutzungsexport und keine echten Datenzeilen von irgendjemandem. Committen Sie keinen echten Export.

ukaf report \ --usage examples/usage.csv \ --github-fixture examples/github.json \ --out examples \ --lang en Enter fullscreen mode Exit fullscreen mode Das schreibt report.html, report.json und report.md. Hebräische Beschriftungen und Layout von rechts nach links:

ukaf report \ --usage examples/usage.csv \ --github-fixture examples/github.json \ --out /tmp/ukaf-he \ --lang he Enter fullscreen mode Exit fullscreen mode Gegenüber echten GitHub-Daten übergeben Sie einen Token und ein oder mehrere Repos:

export GITHUB_TOKEN =... # oder GH_TOKEN ukaf report \ --usage ~/Downloads/usage.csv \ --repo owner/name \ --repo owner/other \ --out./out Enter fullscreen mode Exit fullscreen mode Tragen Sie die Kennung des Cloud-Agenten in den Body des Pull Requests ( Agent: bc-... ) ein, damit der Lauf diesem Feature zugeordnet wird. Eine Agenten-Kennung ohne Pull Request sowie jede Zeile ohne Agenten-Kennung verbleibt im Overhead. ukaf rät nicht, Editor-Traffic irgendeinem zufällig offenen PR zuzuordnen.

Der Screenshot unten zeigt ukaf-cli 0.1.0, ausgeführt auf den synthetischen Beispielen aus dem Repository, nicht auf dem Hackathon-Export. Die Form ist die, die man erwarten darf: eine Gesamtsumme, die sich in Features plus Overhead aufteilt, ein Abgleich, der bestehen muss, und eine Empfehlung, die mit einem Dollarbetrag daherkommt.

ukaf-cli steht unter der MIT-Lizenz. Finanzierung dient der Pflege, nicht einem Bezahlmodell. Der Sponsor-Button ist über.github/FUNDING.yml mit github: UriBer verknüpft.

ukaf 0.1.0 · unterstützen Sie die Arbeit: https://github.com/sponsors/UriBer

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

An education platform I ship for students was not built by me, line by line. It was built by AI agents.

In mid-November I ran a two-week hackathon (18 November – 1 December 2026) to see how far that loop would go. The speed was real. The cost story was not.

That work ran on an education port of Ukaf. Ukaf is the commercial product: an agentic harness with DORA, measure, improve, and context. Agents write the code, open pull requests, pass CI, and ship to production.

ukaf-cli is the free, lightweight, open-source slice of that. It does FinOps only — cost per feature — not the full harness.

I could point at a board and say what shipped. I could not answer, cleanly, what an AI-built feature actually cost, or where the rest of the bill went.

I exported a month of Cursor usage (4 November – 3 December 2026) and tied what I could to the pull requests that shipped.

The gap between list and billed is not "features were cheap." It is unattributed usage and overhead that no pull request can claim. Two things follow from that:

Getting even this far took hours of spreadsheets, and the categories overlapped. The same dollar could show up in more than one bucket. I wanted a story that added up, and recommendations that named an action, not a vibe.

Ukaf, the commercial product, is the broader system: the agentic harness, plus DORA, measure, improve, and context. The education port of Ukaf is what powered the hackathon on that education platform.

ukaf-cli takes one slice and makes it free and small. It reads a Cursor usage CSV and the pull requests that went with it, and tells the month as one story: what the agents spent, and what actually shipped.

The FinOps rule is simple. Every feature is five stages in a row. The stages add up to the feature. The features, plus an explicit overhead bucket, add up to the export. If a part does not meet the whole, a reconciliation check fails the run.

A milestone that arrives out of order becomes a zero-length stage. It does not start a second, overlapping interval. Rework before the first green check stays inside testing. The fixes stage is only what happens after acceptance.

There is no second clock. DORA lead time is testing plus deploy. Time to restore is the fixes stage. You will not see "launch → merge" sitting next to "PR open → merge" as if they were independent.

List price (the rate card, before the included pool) and billed cost (what the CSV charged) are both in the story. Included and Free rows bill as zero and still have a list price, so you can see what the pool absorbed.

Each merged PR also gets a complexity tier — S, M, L, or XL — from hand-written SLOC and file count. Lockfiles and generated paths do not count. Cost by tier is a partition of feature spend; overhead is a separate row.

Recommendations are rules only. Each one names the action, the evidence from that window, and a monthly estimate in dollars or minutes. They are ranked by billed saving, then list-price saving, then minutes. Nothing in the report says "consider optimizing your workflow."

On my own data, the sharpest lesson was a toggle, not a model. One costly day in the hackathon was $64.98. I was sure the expensive model was the cause. The spike came from High + Fast. Turning Fast off is the clearest saving in the window.

The repo is public, merged to main, with CI green. Clone it and install from a checkout:

git clone https://github.com/UriBer/ukaf-cli.git cd ukaf-cli pip install -e ".[dev]" Enter fullscreen mode Exit fullscreen mode Run the bundled synthetic example first. It has the same columns as a Cursor usage export and none of anyone's real rows. Do not commit a real export.

ukaf report \ --usage examples/usage.csv \ --github-fixture examples/github.json \ --out examples \ --lang en Enter fullscreen mode Exit fullscreen mode That writes report.html, report.json, and report.md. Hebrew labels and right-to-left layout:

ukaf report \ --usage examples/usage.csv \ --github-fixture examples/github.json \ --out /tmp/ukaf-he \ --lang he Enter fullscreen mode Exit fullscreen mode Against live GitHub data, pass a token and one or more repos:

export GITHUB_TOKEN =... # or GH_TOKEN ukaf report \ --usage ~/Downloads/usage.csv \ --repo owner/name \ --repo owner/other \ --out./out Enter fullscreen mode Exit fullscreen mode Put the cloud agent id in the pull request body ( Agent: bc-... ) so the run attaches to that feature. An agent id with no pull request, and every row with no agent id, stays in overhead. ukaf will not guess editor traffic onto whichever PR happens to be open.

The screenshot below is ukaf-cli 0.1.0 run on the synthetic examples/ fixture that ships in the repo — not the hackathon export. The shape is what you should expect: a total that splits into features plus overhead, a reconciliation that has to pass, and a recommendation that comes with a dollar figure.

ukaf-cli is MIT-licensed. Funding is for maintenance, not a paid tier. The Sponsor button is wired through.github/FUNDING.yml as github: UriBer.

ukaf 0.1.0 · sponsor the work: https://github.com/sponsors/UriBer

Originaltitel: What an AI-built feature actually costs — and the open-source tool I built to find outQuelle: dev.to (dev.to). Original öffnen