AIToday
AI Business & IndustryLarge Language ModelsZenn AI/MLPublished: Nov 28, 2026, 22:01 JST

Kong cost ledger shows $0 when no price is set

Send on LINE
Kong cost ledger shows $0 when no price is set

3 Key Points

  1. What happened

    Kong AI Cost Management records per-request costs reported by the AI Gateway; without a model price at runtime, the display is $0 and missing costs are stored the same as reported zeros.

  2. Why it matters

    A zero with a basis (free) and a zero from missing pricing are not the same evidence, so cost totals can look low while spend goes unmeasured.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

A familiar trap starts with an AI agent's cost screen full of zeros. A request can succeed with no unit price configured, or a call can travel a path that never reaches the ledger at all—and in both cases the dollar figure alone hides the gap. Kong AI Cost Management only records what the AI Gateway reports, and the management screen only shows events it managed to collect, so calls that bypass the gateway are not captured and no aggregation trick brings the missing amounts back.

The piece proposes linking tasks to the calls that generated cost, using Kong's standard tags such as agent-session, workflow-run and scm-commit alongside a team's own task_id—while noting tag capture depends on configuration and integration and may not be complete across every CLI. A discarded trial still carries cost: changing an artifact's status to discarded should not erase what was spent.

It also separates API discounts from task completion. On the OpenAI Responses API, a 2h or 8h completion window lowers model token unit prices 30% and 40% below Standard for eligible requests, but the window targets time to first response, not the time to generate, validate and adopt a form—and a function call leaves tool execution and follow-up requests on the app side. Duplicate completion notifications should not be double-counted, yet a new API call from a retry remains a separate attempt whose cost does not disappear. The recommended first column to add to a cost ledger is not another amount but a record of what is still unmeasured.

FAQ
Does a $0 line in Kong's cost view mean the request was free?
Not necessarily. If no model price was set at runtime the display is $0, and an omitted cost is saved the same as a reported zero. Kong offers "Unpriced calls" as a signal of calls that have tokens but no cost.
What are the 30% and 40% figures in the OpenAI Responses API example?
For supported models on the OpenAI Responses API, requests meeting discount conditions with a 2h or 8h completion window get model token unit prices 30% and 40% lower than Standard. The window targets time to first response, not the whole task.
Does Kong's budget feature block requests when spending exceeds the limit?
No. Kong's budget tracks spending and sends threshold notifications; it is not a feature that blocks requests on overage. Stopping extra attempts before running is a separate design decision.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleUravation releases free 50-prompt Gemini guide for Google Workspace