Latest Notes

Roman Grossi • Founder

Indie hacking, startups, resilient systems - and staying sane while building a small company

Back to articles

Why OpenAI Models Struggle With Their Own Usage API

· 1 min read · 10 views

A funny fact: no OpenAI model, in any format, is able to write a full-featured usage statistics handler for the endpoints at https://api.openai.com/v1/organization/usage/

Even if you feed it the entire documentation with detailed descriptions of every endpoint and resulting object, the output is still broken, non-working code. Meanwhile, Claude from Anthropic handles the task beautifully.

More to explore