← Back to article

Equation 5 · What Multimodal AI Actually Costs, Modality by Modality

What does this equation mean?

costimage=Ntok(H,W)⋅ptok\mathrm{cost}_{\mathrm{image}} = N_{\mathrm{tok}}(H,W) \cdot p_{\mathrm{tok}}

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.

Inputs and operationsN_tok(H,W) × p_tok
Result or conditioncost_image
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

NtokN_{\mathrm{tok}}

Symbol N_tok

NtN_tok is one factor in the product that computes the quantity on the left.

Understand this part →

HH

Symbol H

H is one factor in the product that computes the quantity on the left.

Understand this part →

WW

Symbol W

W is one factor in the product that computes the quantity on the left.

Understand this part →

ptokp_{\mathrm{tok}}

Symbol p_tok

ptp_tok is one factor in the product that computes the quantity on the left.

Understand this part →

=

=

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

Understand this part →

See an illustrated explanation →
multiplication

multiplication

Multiply the quantities on either side.

Understand this part →

subscript

subscript

The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.

Understand this part →

How to interpret it

Read it with the definitions, units, and assumptions supplied by the article.

What the article says around this equation

with a request’s image cost simply costimage\mathrm{cost}_{\mathrm{image}} = Ntok(H,W)N_{\mathrm{tok}}(H,W) ⋅\cdot ptokp_{\mathrm{tok}} at the model’s own per-token price ptokp_{\mathrm{tok}} . The constant differs — 28 pixels for Claude, 32 for GPT-5.4, roughly 768 divided into geometry-dependent tiles for Gemini — but the shape does not: token count, and therefore cost, scales with the area of the image, not its linear size. Doubling both width and height quadruples the token bill under every one of these three schemes. That is the single fact behind essentially every dollar figure in the rest of this section, and it is also why “send a smaller image” is the one universally effective cost lever a caller has, across…
Read the full surrounding passage
with a request’s image cost simply costimage\mathrm{cost}_{\mathrm{image}} = Ntok(H,W)N_{\mathrm{tok}}(H,W) ⋅\cdot ptokp_{\mathrm{tok}} at the model’s own per-token price ptokp_{\mathrm{tok}} . The constant differs — 28 pixels for Claude, 32 for GPT-5.4, roughly 768 divided into geometry-dependent tiles for Gemini — but the shape does not: token count, and therefore cost, scales with the area of the image, not its linear size. Doubling both width and height quadruples the token bill under every one of these three schemes. That is the single fact behind essentially every dollar figure in the rest of this section, and it is also why “send a smaller image” is the one universally effective cost lever a caller has, across all three vendors, without changing anything about the model itself.

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 What Multimodal AI Actually Costs, Modality by Modality

See this formula across 1 published context →

Browse the mathematical compendium →