HI AI MEETING · Dev notes
The Output Price Turned Out to Be a Different Column
A collector read GPT-6 Luna's output rate four times too low because it trusted column positions. Here's what we changed.
On October 28, 2026, a collector read GPT-6 Luna's output rate as $0.000125 per 1,000 tokens. That looked plausible—until we checked the official table.
The number was actually the 30-minute cache write price. The output rate at the time was $0.000500, four times as much. The collector trusted a column position that no longer meant what it expected.
A number is not necessarily the right price
A price sheet may contain input, output, cached input, cache writes, and different context-length conditions. All are dollar figures, so converting the wrong cell to a number can still succeed.
At the time, the short-context header looked like this:
Model → Short context input → Short context output → Short context cached input → Short context 30m write → Short context 12h write
The old collector assumed fixed column positions. When the table changed, the 30-minute cache write value landed in the output slot. The revised collector finds the header and looks up the columns by name:
const headerIndex = lines.findIndex((line) => {
const cells = markdownCells(line);
return cells !== null && cells[0] === 'Model' && cells[1] === 'Short context input';
});
if (headerIndex < 0) return null;
const header = markdownCells(lines[headerIndex] ?? '') ?? [];
const inputColumn = header.indexOf('Short context input');
const outputColumn = header.indexOf('Short context output');
const cachedInputColumn = header.indexOf('Short context cached input');
const cacheWriteColumn = header.indexOf('Short context 30m write');
if (inputColumn < 0 || outputColumn < 0) return null;
It now reads output from Short context output. If an input or output header is missing, it returns null for the table. If a cache column is missing, only that value stays null. The result carries official_standard_short_context to show which section was used; the input and output rates shown are for the short-context tier.
Why couldn't the other collector see its table?
We also checked OpenCode Go. The page looked like a table, but the collector received Markdown rather than an HTML <table>. The code comment records that the document negotiates its body using Vary: Accept.
We kept the HTML-table path and added a Markdown fallback. It looks for the first header beginning Model | Input | Output | Cached Read, skips the alignment row, and reads until the table ends:
const lines = source.split(/\r?\n/);
for (let index = 0; index < lines.length; index += 1) {
const header = markdownCells(lines[index] ?? '');
if (header === null || !isGoHeader(header)) continue;
// Skip the alignment row, then collect table rows until a blank or non-table line.
const rows: string[][] = [];
for (let rowIndex = index + 2; rowIndex < lines.length; rowIndex += 1) {
const cells = markdownCells(lines[rowIndex] ?? '');
if (cells === null) break;
rows.push(cells);
}
return rows;
}
Rows with parenthetical conditions such as a context-length tier are skipped rather than treated as one universal price. Peak and Off-Peak rows retain both values as conditional prices.
In a one-off check on the material available then, the parser read Luna's output as $0.000500 instead of the incorrect $0.000125, and the Go parser went from no table to 24 rows. Those observations do not promise today's model count or complete price sheet.
Did fixing the code refresh the saved prices?
No. PR #1663 fixed the collector functions. Refreshing an already stored price sheet is a separate step.
On the afternoon of October 28, the running image contained the fix, but the administrator screen still showed a collection time of 04:46 KST. We did not trigger a fresh collection or run a meeting for this article.
The change did not alter model costs, tiers, user charges, or settlement policy. The fourfold parsing discrepancy should not be described as an actual fourfold change to a meeting bill.
The lesson was to check which column a number came from and when it was collected, not just whether a number was present.