AI buying basics / AI111

What AI actually costs

Tokens, memory, hardware, and the work around them

Explain a token charge and a model-memory estimate, then compare the cost of accepted work rather than a first draft.

Canadian planning inputs are CAD. API prices remain source-billed USD. Mixed-cost calculations convert USD once at 1.4298 CAD per USD (Bank of Canada, 16 November 2026); USD equivalents are secondary. Display rounding does not affect calculations. Exchange-rate source.

6 short sections. 3 practice checks. No audio. Answers stay on this page and reset on reload. Educational practice, not a professional certification.

Read all six sections

Section 1 of 6

The price on the label

A token is a piece of text a model processes. It can be a word, part of a word, or punctuation. API providers commonly quote separate prices for input and output tokens. A million tokens is a billing unit, not a task.

A short draft and a long investigation can use very different amounts of computing. Reasoning, tool calls, repeated context, and retries can change the bill. Compare actual usage records when you have them; do not turn a word count into a universal token estimate.

Section 2 of 6

A simple API calculation

Suppose a hypothetical service charges USD $2 per million input tokens and USD $10 per million output tokens. One call with 3,000 input tokens and 600 output tokens costs USD $0.012: USD $0.006 in and USD $0.006 out. That is CAD $0.0172 / USD $0.0120 at the disclosed teaching rate.

Providers publish these API prices in USD. The Canadian cost lab converts them once into CAD before adding CAD labour or equipment costs. The token charge excludes review, app costs, tools and pricing adjustments. Different models can use different token counts.

What does the USD $0.012 figure tell you?

Answer and explanation

The token charge for that one call under the stated assumptions.

Exactly. It is a useful part of the bill, with a clear scope and units.

Section 3 of 6

Parameters and memory in plain language

Parameters are stored numbers learned during training. A model with 8 billion parameters stores many more numbers than one with 1 billion. Parameter count helps estimate the storage for its weights, but does not tell you whether it will do your task well.

VRAM is memory on a graphics card. It is different from the card’s processing speed and from ordinary computer RAM. Some systems, including Apple silicon Macs, use shared unified memory rather than a separate VRAM pool. The operating system and other work still need memory too.

Quantization stores some model values with fewer bits. It can reduce memory use, with effects that depend on the model and method. A mixture-of-experts model can activate only part of its parameters per token while still needing storage for its full set of weights.

Section 4 of 6

A weight estimate is only the starting point

As a simplified lower bound, 8 billion parameters at 4 bits each need 4 billion bytes for the weights, or 4 decimal GB. That is about 3.73 binary GiB. The units are close enough to confuse people, but they are not identical.

The running system also needs space for model metadata, working buffers, and information from the current conversation. Longer contexts and more simultaneous requests can need more memory. Splitting work across GPUs requires runtime support; advertised memory does not automatically become one shared pool.

A 32-billion-parameter model has a simplified 4-bit weight estimate of 16 GB. Can you promise it will run well on a 16 GB card?

Answer and explanation

No. Plan for overhead and test the actual model, runtime, context, and workload.

That is the useful next step. Memory fit also does not establish acceptable speed or output quality.

Section 5 of 6

The local bill has several parts

A GPU price may cover only the card. A working deployment can also need a computer, power, storage, networking, software setup, and someone to operate it. Enterprise equipment may need a supplier quote rather than a public retail price.

An existing computer still has a capacity limit and an opportunity cost. Include time spent setting up, correcting results, updating software, and supporting colleagues. Local software has no provider token charge, but operating it still uses resources.

Section 6 of 6

The useful result is the unit that matters

Suppose a fictional trial spends CAD $100.00 / USD $69.94 and produces 90 accepted results: about CAD $1.11 / USD $0.78 each. Another spends CAD $80.00 / USD $55.95 for 40 accepted results: CAD $2.00 / USD $1.40 each. These budgets are CAD first; USD equivalents use the disclosed rate. The smaller total bill bought less useful work.

Add human review and operating costs before making a decision. Published evaluations can suggest what to test, but their tasks, tools, and scoring rules may differ from yours. A cheaper token rate is a starting fact, not a complete business case.

Which comparison best supports a purchasing decision?

Answer and explanation

The same representative tasks, the same acceptance rule, and the full cost of accepted results.

That makes the comparison about usable work. Keep the review effort and failure record with the results.

Sources and limits

The examples and exercises are original, fictional teaching materials. They do not claim client results. The price/memory evidence and caveats are available in the lab evidence notes and the hardware source register. No model or hardware benchmarks were run for this course.

Download research and calculation notes