← Back to article

Equation 10 · Building a Multimodal AI Application That Actually Uses Its Inputs

What does this equation mean?

T(w,h)=⌈wP⌉×⌈hP⌉,T(w, h) = \left\lceil \frac{w}{P} \right\rceil \times \left\lceil \frac{h}{P} \right\rceil,

Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.

Start withw
Divide byP
This relates toT(w, h)
How to read the two sides of this formula. Follow the article passage for the meaning of each quantity.

This equation states an equality: the expressions on both sides have the same value under the article’s assumptions. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.

Read it piece by piece

TT

Symbol T

T is part of the quantity the equation computes from the expression on the right.

Understand this part →

ww

Symbol w

the image’s pixel dimensions after any provider-side resize.

Understand this part →

hh

Symbol h

the image’s pixel dimensions after any provider-side resize.

Understand this part →

PP

Symbol P

P occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.

Understand this part →

=

=

The expressions on both sides represent the same quantity under the stated assumptions.

Understand this part →

See an illustrated explanation →
fraction

fraction

Divide the expression above the line by the one below it.

Understand this part →

See an illustrated explanation →
multiplication

multiplication

Multiply the quantities on either side.

Understand this part →

How to interpret it

With a fixed numerator, increasing a nonzero denominator reduces the fraction. Read it with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

Image and video inputs are priced by tokenization rules that are public, mechanical, and different enough across vendors that a workload’s cost cannot be estimated from a single provider’s numbers and assumed to generalise. The general form, common to every tiling or patch-based image tokenizer, is T(w,h)=⌈wP⌉×⌈hP⌉T(w, h) = \left\lceil \frac{w}{P} \right\rceil \times \left\lceil \frac{h}{P} \right\rceil. where w and h are the image’s pixel dimensions after any provider-side resize and P is that provider’s patch edge length in pixels. The formula is the same shape everywhere; the constant P , the resize rule applied before it, and the price per resulting token are what an integrator actually has to look up and budget against.

Read the equation in its article →

Sources cited in the article section

These citations give research context. Read each source to check which claims it supports.

Return to Building a Multimodal AI Application That Actually Uses Its Inputs

See this formula across 1 published context →

Browse the mathematical compendium →