fix(pricing): carry long-context tier rates through bundling, applied where billing evidence exists (#1478)

* fix(pricing): carry long-context tier rates through bundling and price them where billing evidence exists

LiteLLM publishes *_above_<n>k_tokens rates for 418 models - OpenAI's
gpt-5.4/5.5/5.6 family above 272k, Anthropic above 200k, and 128k/256k/
512k tiers elsewhere - but the bundler flattened every entry to the
fixed five-slot tuple and calculateCost had no threshold dimension, so
a request past its threshold priced at the base rate forever (#1076).

The tuple gains an optional sixth slot {threshold, input, output,
cacheWrite, cacheRead}, the threshold parsed from the key suffix
because LiteLLM ships no numeric field (272k means 272,000; #1075
verified assuming 128k fabricates +64% spend). Old bundles parse
unchanged; CACHE_SCHEMA_VERSION moves to 5 (4 is taken on main by the
implicit cache-write billing) so a stale on-disk live-pricing cache
cannot reintroduce the old behavior; the live-fetch parser picks the
same tier up; service-tier _priority/_flex variants and the 1-hour
cache-write combination are not context thresholds and stay out.

A tier applies when the request's prompt tokens (input + cached input,
the existing grok-4.6 definition) reach the threshold, each published
rate replacing its base and omitted slots keeping the base.
Application is gated on billing evidence via TIERED_PRICING_PROVIDERS:
codex today, where the maintainer's corpus measurement shows the
surcharge passing through; a real Copilot session on gpt-5.6-terra
with ~6M-token prompts billed at the BASE rate, so Copilot keeps base
pricing until such evidence exists - applying it there would fabricate
spend, the exact class #1075 warned about. The audit report recomputes
through the same tier swap so recomputedTotalUSD keeps tracking
attributedCostUSD.

* fix(pricing): read tier rates only from the chosen threshold; e2e codex tier test

Repair pass from review: both tierOf implementations now collect rates
per threshold and read only from the largest one, so a hypothetical
two-tier entry can never mix the smaller tier's rates under the bigger
threshold; the bundler validates tier values exactly like the live
parser (finite, non-negative). A codex end-to-end test drives a real
rollout past gpt-5.5's 272k prompt threshold and asserts the tiered
arithmetic explicitly (a typo'd provider string in codex.ts would
leave the call at base rates and fail it), alongside the no-provider
base-rate control that keeps the real Copilot billing pin intact.
Comment fixes: the priceOverride wording, the grok pin's actual
resolution branch, and the threading note on TIERED_PRICING_PROVIDERS
for whoever adds the next provider.

* fix(pricing): recompute the audit tier per call and re-derive warm daily caches

Both review blockers:

- audit-report no longer feeds a bucket's SUMMED tokens into the
  per-call 272k threshold (a \,979 phantom gap on the reviewer's
  corpus, any tiered codex model clearing the threshold on the sum
  alone). The recompute accumulates per call, through the same tier
  swap calculateCost applies, with each call's own prompt total; a new
  fixture mixes one 300k call with 200 small ones whose sum blows past
  the threshold and pins that only the big call tiers. Web search
  stays on the base rates - it never participates in a tier.
- DAILY_CACHE_VERSION 33 -> 34 with MIN_SUPPORTED_VERSION raised to
  match, the cfdaa685 convention: a 33 file written under tierless
  pricing is below the floor, is not adopted as the finalized base,
  and its days re-derive off the warm session cache (\ of codex
  spend on the reviewer's corpus lives only in the daily cache). The
  migration tests pin the new floor contract: no version-diff repairs
  merge into a below-floor file, and the v30 adoption test tracks
  CURRENT.

Nits from review: the kimi precision tightening is reverted to (8, 5),
and the tieredCostsFor comment is rewrapped.

Measured on this machine's corpus, tier-only (branch vs the refresh
branch, same data): +\.43 lifetime codex - this corpus runs far
more sessions past 272k than the reviewer's 8-of-51,801 (+\.012964);
both numbers are real, the corpora differ.

* fix(pricing): preserve base alias selection when bundling context tiers

* fix(pricing): address the 28 Sep review - floor stays at 28, tier bills the implicit cache-write rate

Restore main's two carry-forward tests: with MIN_SUPPORTED_VERSION kept
at 28 (per the review's correction, warm caches re-derive identically
under 41/28, so raising the floor is unnecessary) a v33 file sits in
the adopt-with-repairs window again and main's expectations hold; the
tier's warm-cache coverage stays in daily-cache-version-rederivation.

The tier-omits-slot test bills an implicit cache-write at the input
rate of the costs object in effect (#1544), so the tiered expectation
is 1_000 * cacheWriteCostPerToken('gpt-5.5', tieredCosts).

Note on the Codex estimate path: an estimated prompt can cross a
long-context threshold and tier itself; measured corpora hold no
estimated calls that cross.

* fix(pricing): pin claude-opus-4 primary and keep carried fallback rows hygienic in the refreshed snapshot

The requested regeneration surfaced two upstream moves beside the tier
work. LiteLLM dropped `claude-opus-4`; a refresh carries dropped ids
into the fallback tier, but the Cursor-style alias `claude-4-opus`
resolves against primary rows, so the bare id fell to the snowflake
gateway row and under-priced by 3x. Pinned at Anthropic's list price
in MANUAL_ENTRIES so it stays primary. LiteLLM also repriced
grok-4.6's base input 2e-6 -> 1.25e-6 (tier rates unchanged); the
below-threshold literal follows. Both changes reproduce identically
with main's unchanged bundler on the same live responses.

Today's drops also exposed a gap in the #1483 carry-forward: primary
files legitimately hold @pin, date-suffixed and free-on-both rows, and
carrying those verbatim imports exactly what
tests/pricing-fallback-data.test.ts keeps out of the fallback file
(main's own next refresh fails those tests today). The carry now skips
@pin/date-suffixed keys (no query can arrive in those forms) and
free-on-both rows (an unpriced model falls to expected-free handling);
vendor-prefixed keys stay carriable since queries match them verbatim.

---------

Co-authored-by: Resham Joshi <65915470+iamtoruk@users.noreply.github.com>
This commit is contained in:
ozymandiashh 2026-09-28 20:10:39 +03:00 • committed by GitHub
parent 59ed66b977
commit 700e4d1a27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 510 additions and 39 deletions

View file

@ -1,5 +1,5 @@
import { behavioralCallWeight } from './behavioral-weight.js'
import { billableOutputTokens, cacheWriteCostPerToken, fallbackRawModelDisplayName, getModelCosts, getShortModelName, sanitizeModelForDisplay, type ModelCosts } from './models.js'
import { billableOutputTokens, cacheWriteCostPerToken, fallbackRawModelDisplayName, getModelCosts, getShortModelName, sanitizeModelForDisplay, tieredCostsFor, type ModelCosts } from './models.js'
import { getProvider } from './providers/index.js'
import { formatCost, formatTokens } from './format.js'
import { renderTable, type TableColumn } from './text-table.js'
@ -57,6 +57,12 @@ export async function aggregateAudit(projects: ProjectSummary[]): Promise<AuditR
attributedCostUSD: number
cacheReadDisplayed: number
raw: AuditRow['raw']
/** Per-call recomputed components, each priced with THAT call's tier swap —
* a (provider, model) bucket's summed tokens must never cross the
* per-call 272k threshold on their own (review: a $4,979 phantom gap). */
recomputed: { input: number, output: number, cacheWrite: number, cacheRead: number, webSearch: number }
/** Resolved rates for the bucket's model, fetched once per bucket. */
rates: ModelCosts | null
}
const buckets = new Map<string, Bucket>()
@ -75,6 +81,8 @@ export async function aggregateAudit(projects: ProjectSummary[]): Promise<AuditR
calls: 0,
attributedCostUSD: 0,
cacheReadDisplayed: 0,
recomputed: { input: 0, output: 0, cacheWrite: 0, cacheRead: 0, webSearch: 0 },
rates: null,
raw: {
inputTokens: 0,
outputTokens: 0,
@ -85,6 +93,7 @@ export async function aggregateAudit(projects: ProjectSummary[]): Promise<AuditR
webSearchRequests: 0,
},
}
bucket.rates = getModelCosts(bucket.model)
buckets.set(key, bucket)
}
const u = call.usage
@ -97,8 +106,25 @@ export async function aggregateAudit(projects: ProjectSummary[]): Promise<AuditR
bucket.raw.webSearchRequests += u.webSearchRequests
// Per-call max (then summed) mirrors how the reports collapse the two
// cache-read vocabularies, so the audit's displayed total matches.
bucket.cacheReadDisplayed += Math.max(u.cacheReadInputTokens, u.cachedInputTokens)
const cacheReadForCall = Math.max(u.cacheReadInputTokens, u.cachedInputTokens)
bucket.cacheReadDisplayed += cacheReadForCall
bucket.attributedCostUSD += call.costUSD
// Recompute per call through the same tier swap calculateCost applies
// (prompt tokens = input + cached input of THIS call), so a
// long-context request shows the rates that priced it while a bucket
// of small calls never crosses the threshold on the sum. Fast-mode
// and the 1-hour cache-write rate remain visible gaps on purpose.
if (bucket.rates) {
const promptTokens = u.inputTokens + cacheReadForCall
const tiered = tieredCostsFor(bucket.model, bucket.rates, promptTokens, bucket.provider)
const outputForCall = billableOutputTokens(bucket.provider, u.outputTokens, u.reasoningTokens)
bucket.recomputed.input += u.inputTokens * tiered.inputCostPerToken
bucket.recomputed.output += outputForCall * tiered.outputCostPerToken
bucket.recomputed.cacheWrite += u.cacheCreationInputTokens * cacheWriteCostPerToken(bucket.model, tiered)
bucket.recomputed.cacheRead += cacheReadForCall * tiered.cacheReadCostPerToken
// Web search never participates in a tier; keep it on the base row.
bucket.recomputed.webSearch += u.webSearchRequests * bucket.rates.webSearchCostPerRequest
}
// Supplementary accounting calls keep their tokens and cost above but are not
// distinct requests, so they add no call weight (see behavioral-weight.ts).
bucket.calls += behavioralCallWeight(call)
@ -134,16 +160,15 @@ export async function aggregateAudit(projects: ProjectSummary[]): Promise<AuditR
cacheWriteTokens: bucket.raw.cacheCreationInputTokens,
cacheReadTokens: bucket.cacheReadDisplayed,
}
const rates = getModelCosts(bucket.model)
const cost = {
input: rates ? displayed.inputTokens * rates.inputCostPerToken : 0,
output: rates ? displayed.outputTokens * rates.outputCostPerToken : 0,
cacheWrite: rates ? displayed.cacheWriteTokens * cacheWriteCostPerToken(bucket.model, rates) : 0,
cacheRead: rates ? displayed.cacheReadTokens * rates.cacheReadCostPerToken : 0,
webSearch: rates ? bucket.raw.webSearchRequests * rates.webSearchCostPerRequest : 0,
recomputedTotalUSD: 0,
input: bucket.recomputed.input,
output: bucket.recomputed.output,
cacheWrite: bucket.recomputed.cacheWrite,
cacheRead: bucket.recomputed.cacheRead,
webSearch: bucket.recomputed.webSearch,
recomputedTotalUSD: bucket.recomputed.input + bucket.recomputed.output + bucket.recomputed.cacheWrite + bucket.recomputed.cacheRead + bucket.recomputed.webSearch,
}
cost.recomputedTotalUSD = cost.input + cost.output + cost.cacheWrite + cost.cacheRead + cost.webSearch
const rates = bucket.rates
rows.push({
provider: bucket.provider,
providerDisplayName: meta.displayName,

View file

@ -226,7 +226,9 @@ import type { DateRange, ProjectSummary } from './types.js'
// v41: OMP side calls (`model_usage` entries: find, judge, cache warming) now
// count. Days finalized at v40 miss them; the bump re-derives surviving days.
// Call counts and cost only rise.
export const DAILY_CACHE_VERSION = 41
// v42: #1076 long-context tiers. A Codex call past a model's published
// long-context threshold prices at the tier rate, so settled days re-derive.
export const DAILY_CACHE_VERSION = 42
const MIN_SUPPORTED_VERSION = 28
/// Providers whose per-day CALL COUNT means something different at

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -22,6 +22,23 @@ export type ModelCosts = {
/// them by) must consult this before routing tokens to the cache-write
/// bucket. Optional so an incomplete literal defaults to the safe answer.
cacheWriteCostIsExplicit?: boolean
/// The vendor's long-context tier (LiteLLM `*_above_<n>k_tokens`), applied
/// when a request's prompt tokens (input + cached input) reach the
/// threshold. Each rate the source published for the tier replaces its base
/// rate; a slot the source omitted keeps the base. Optional: absent on
/// models without a published tier and on tuples predating the extension.
longContextTier?: LongContextTier
}
/** Long-context pricing tier, e.g. OpenAI's above-272k or Anthropic's
* above-200k rates. `thresholdTokens` is parsed from the source key suffix
* (272k → 272_000) because LiteLLM carries no numeric threshold field. */
export type LongContextTier = {
thresholdTokens: number
inputCostPerToken: number
outputCostPerToken: number
cacheWriteCostPerToken?: number
cacheReadCostPerToken?: number
}
/// Providers whose reported `reasoningTokens` are a SUBSET of `outputTokens`
@ -59,22 +76,26 @@ type LiteLLMEntry = {
provider_specific_entry?: { fast?: number }
}
// [input, output, cacheWrite, cacheRead, fastMultiplier]. The trailing fast
// multiplier is carried straight from LiteLLM's provider_specific_entry.fast so
// new models pick it up automatically — no hand-maintained per-model table.
type SnapshotEntry = [number, number, number | null, number | null, (number | null)?]
// [input, output, cacheWrite, cacheRead, fastMultiplier, longContextTier?].
// The trailing fast multiplier is carried straight from LiteLLM's
// provider_specific_entry.fast so new models pick it up automatically — no
// hand-maintained per-model table. The optional sixth slot carries the
// vendor's long-context tier; older bundles without it parse unchanged.
type SnapshotTier = { threshold: number, input: number, output: number, cacheWrite: number | null, cacheRead: number | null }
type SnapshotEntry = [number, number, number | null, number | null, (number | null)?, (SnapshotTier | null)?]
const LITELLM_URL = 'https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json'
const CACHE_TTL_MS = 24 * 60 * 60 * 1000
// Bump whenever a ModelCosts field changes pricing behavior (cacheWriteCostIsExplicit,
// added in #1075/#1078). A cache written under an older/missing version is treated as a
// miss instead of read verbatim, so a stale on-disk file can't reintroduce a killed bug
// for up to CACHE_TTL_MS after an upgrade.
// Bump whenever a ModelCosts field changes pricing behavior (cacheWriteCostIsExplicit
// from #1075/#1078; longContextTier from #1076). A cache written under an older/missing
// version is treated as a miss instead of read verbatim, so a stale on-disk file can't
// reintroduce a killed bug for up to CACHE_TTL_MS after an upgrade.
// Also folded into getPricingGenerationKey() below: a resident/snapshot-caching
// consumer needs the same "pricing behavior changed" signal this already gives
// the on-disk LiteLLM cache, not just the on-disk cache itself.
// 4: calculateCost bills an implicit cache-write rate as input for non-Anthropic models.
export const CACHE_SCHEMA_VERSION = 4
// 5: longContextTier rides ModelCosts, so a cached costs object is tier-aware (#1076).
export const CACHE_SCHEMA_VERSION = 5
const WEB_SEARCH_COST = 0.01
const ONE_HOUR_CACHE_WRITE_MULTIPLIER_FROM_FIVE_MINUTE_RATE = 1.6
@ -101,6 +122,7 @@ function buildCosts(
cacheWrite: number | null | undefined,
cacheRead: number | null | undefined,
fast: number | null | undefined,
tier?: SnapshotTier | null,
): ModelCosts {
return {
inputCostPerToken: input,
@ -110,6 +132,13 @@ function buildCosts(
webSearchCostPerRequest: WEB_SEARCH_COST,
fastMultiplier: fast ?? 1,
cacheWriteCostIsExplicit: cacheWrite !== null && cacheWrite !== undefined,
...(tier ? { longContextTier: {
thresholdTokens: tier.threshold,
inputCostPerToken: tier.input,
outputCostPerToken: tier.output,
...(tier.cacheWrite !== null ? { cacheWriteCostPerToken: tier.cacheWrite } : {}),
...(tier.cacheRead !== null ? { cacheReadCostPerToken: tier.cacheRead } : {}),
} } : {}),
}
}
// For grok-4.6, prompt tokens mean input tokens plus cached input tokens for a
@ -119,22 +148,51 @@ function buildCosts(
const GROK_4_6_PROMPT_TOKEN_THRESHOLD = 200_000
const GROK_4_6_HIGH_PROMPT_COSTS = buildCosts(4e-6, 12e-6, null, 1e-6, null)
// Providers verified to pass the vendor's long-context surcharge through to
// the bill. The mechanism is data-driven (any model's tier rides its bundled
// or live rates), but APPLYING it is evidence-based: codex bills the OpenAI
// above-272k rate directly (#1076, measured on a real corpus), while a real
// Copilot session on gpt-5.6-terra with ~6M-token prompts billed at the base
// rate (tests/parser.test.ts "(c4) attributed cost tracks recomputed cost") —
// applying the tier there fabricates spend, the exact class #1075 warned
// about. Adding a provider here requires that kind of billing evidence AND
// threading its provider through every calculateCost site that prices it (the
// codex sites and the parser.ts central recompute pass it; the Claude journal
// paths and the copilot residual path do not, so a newly added provider whose
// calls flow through those sites would silently stay tierless).
export const TIERED_PRICING_PROVIDERS: ReadonlySet<string> = new Set(['codex'])
// Swap in the vendor's high tier when a request's prompt crosses the published
// threshold. A user-set exact priceOverride still wins over the built-in tier.
// Kept as a helper so the next tiered model extends this one branch instead of
// copy-pasting the inline condition.
function tieredCostsFor(model: string, baseCosts: ModelCosts, promptTokens: number): ModelCosts {
// threshold. A user-set priceOverride wins over any tier: the override row
// is rebuilt without one, exact or aliased. The generic branch serves the
// models of TIERED_PRICING_PROVIDERS whose rates
// carry a longContextTier (OpenAI's above-272k family, Anthropic's above-200k);
// grok-4.6 predates the data plumbing and stays hardcoded. Each tier rate the
// source published replaces its base rate; omitted slots keep the base.
export function tieredCostsFor(model: string, baseCosts: ModelCosts, promptTokens: number, provider?: string): ModelCosts {
if (exactPriceOverrideFor(model)) return baseCosts
if (resolveCanonicalModelId(model) === 'grok-4.6' && promptTokens >= GROK_4_6_PROMPT_TOKEN_THRESHOLD) {
return GROK_4_6_HIGH_PROMPT_COSTS
}
const tier = provider !== undefined && TIERED_PRICING_PROVIDERS.has(provider)
? baseCosts.longContextTier
: undefined
if (tier && promptTokens >= tier.thresholdTokens) {
return {
...baseCosts,
inputCostPerToken: tier.inputCostPerToken,
outputCostPerToken: tier.outputCostPerToken,
...(tier.cacheWriteCostPerToken !== undefined ? { cacheWriteCostPerToken: tier.cacheWriteCostPerToken } : {}),
...(tier.cacheReadCostPerToken !== undefined ? { cacheReadCostPerToken: tier.cacheReadCostPerToken } : {}),
}
}
return baseCosts
}
function tupleToCosts(raw: SnapshotEntry): ModelCosts {
const [input, output, cacheWrite, cacheRead, fast] = raw
return buildCosts(input, output, cacheWrite, cacheRead, fast)
const [input, output, cacheWrite, cacheRead, fast, tier] = raw
return buildCosts(input, output, cacheWrite, cacheRead, fast, tier)
}
function applyBuiltinPriceOverrides(pricing: Map<string, ModelCosts>): Map<string, ModelCosts> {
@ -218,6 +276,38 @@ function safePerTokenRate(n: number | undefined): number | null {
return n
}
// Plain context-length tiers only; mirrors scripts/bundle-litellm.mjs
// TIER_KEY_RE (service-tier `_priority`/`_flex` variants and the 1-hour
// combination are not context thresholds). The live path needs its own copy
// because the bundler is a standalone .mjs script.
const TIER_KEY_RE = /^(input_cost_per_token|output_cost_per_token|cache_read_input_token_cost|cache_creation_input_token_cost)_above_(\d+)k_tokens$/
function tierOfLiteLLMEntry(entry: LiteLLMEntry): SnapshotTier | null {
// Rates are read ONLY from the largest threshold a model carries, mirroring
// scripts/bundle-litellm.mjs tierOf, so a two-tier entry can never mix a
// smaller tier's rates under the bigger threshold.
const byThreshold = new Map<number, Partial<Record<string, number>>>()
for (const [key, value] of Object.entries(entry)) {
const match = TIER_KEY_RE.exec(key)
if (!match || typeof value !== 'number' || !Number.isFinite(value) || value < 0) continue
const tokens = Number(match[2]) * 1000
const rates = byThreshold.get(tokens) ?? {}
rates[match[1]] = value
byThreshold.set(tokens, rates)
}
if (byThreshold.size === 0) return null
const threshold = Math.max(...byThreshold.keys())
const rates = byThreshold.get(threshold)!
if (rates.input_cost_per_token === undefined || rates.output_cost_per_token === undefined) return null
return {
threshold,
input: rates.input_cost_per_token,
output: rates.output_cost_per_token,
cacheWrite: rates.cache_creation_input_token_cost ?? null,
cacheRead: rates.cache_read_input_token_cost ?? null,
}
}
export function parseLiteLLMEntry(entry: LiteLLMEntry): ModelCosts | null {
// The live LiteLLM map is remote JSON; a null (or non-object) value for a
// model would make the field reads below throw and abort the whole pricing
@ -232,6 +322,7 @@ export function parseLiteLLMEntry(entry: LiteLLMEntry): ModelCosts | null {
safePerTokenRate(entry.cache_creation_input_token_cost),
safePerTokenRate(entry.cache_read_input_token_cost),
entry.provider_specific_entry?.fast,
tierOfLiteLLMEntry(entry),
)
}
@ -1244,6 +1335,7 @@ export function calculateCost(
webSearchRequests: number,
speed: 'standard' | 'fast' = 'standard',
oneHourCacheCreationTokens = 0,
provider?: string,
): number {
const costs = getModelCosts(model)
if (!costs) {
@ -1266,7 +1358,7 @@ export function calculateCost(
const safeCacheCreation = Math.max(safe(cacheCreationTokens), safeOneHourCacheCreation)
const safeFiveMinuteCacheCreation = Math.max(0, safeCacheCreation - safeOneHourCacheCreation)
const promptTokens = safe(inputTokens) + safe(cacheReadTokens)
const tieredCosts = tieredCostsFor(model, costs, promptTokens)
const tieredCosts = tieredCostsFor(model, costs, promptTokens, provider)
const multiplier = speed === 'fast' ? tieredCosts.fastMultiplier : 1
// Clamp negative inputs to 0. A corrupt JSONL that emits a negative token

View file

@ -2805,7 +2805,7 @@ function cachedCallToApiCall(call: CachedCall): ParsedApiCall {
const costUSD = calculateCost(
call.model, u.inputTokens, outputForCost,
u.cacheCreationInputTokens, u.cacheReadInputTokens,
u.webSearchRequests, call.speed, u.cacheCreationOneHourTokens,
u.webSearchRequests, call.speed, u.cacheCreationOneHourTokens, call.provider,
)
return applyLocalModelSavings({
provider: call.provider,

View file

@ -1145,7 +1145,9 @@ function createParser(source: SessionSource, seenKeys: Set<string>, capture?: {
if (seenKeys.has(dedupKey)) { pendingTools = []; pendingToolSequence = []; pendingSkills = []; pendingUserMessage = ''; pendingOutputChars = 0; pendingLocAdded = 0; pendingLocRemoved = 0; pendingEditFailed = 0; continue }
seenKeys.add(dedupKey)
const costUSD = calculateCost(model, estInput, estOutput, 0, 0, 0)
// An estimated prompt can cross a long-context threshold and tier
// itself; measured corpora hold no estimated calls that cross.
const costUSD = calculateCost(model, estInput, estOutput, 0, 0, 0, 'standard', 0, 'codex')
pendingTaskCalls.push({
provider: 'codex',
@ -1312,6 +1314,9 @@ function createParser(source: SessionSource, seenKeys: Set<string>, capture?: {
billedCacheWriteTokens,
cachedInputTokens,
0,
'standard',
0,
'codex',
)
pendingTaskCalls.push({