Concept Architecture
Token (AI) in Evidence Review and AI Costing
When a large language model reads a trial report or writes a screening decision, it works on a sequence of tokens, the pieces of text held in its fixed vocabulary, rather than on words or letters as such. A common word may be one token, while a rare drug name or a word in a less widely used language may be broken into several. Token counts decide how much of a document fits into one request and what a commercial model charges for it, so they enter both the design and the budget of an AI-assisted systematic review. NICE ECD20 (2026), the NICE AI methods for evidence framework, defines the token in its glossary and returns to token use when it discusses efficient screening.
How tokenizers split text
A tokenizer turns raw text into token identifiers before the model runs and turns generated identifiers back into text. Early neural translation systems used a fixed list of whole words and fell back on a dictionary for any word outside it. Sennrich and colleagues addressed this by adapting byte pair encoding, a data compression method, to word segmentation. Their algorithm starts with single characters and repeatedly merges the most frequent adjacent pair of symbols in the training text, so frequent words end up as single symbols and rare words are spelt out of smaller pieces. The number of merges, the method's only hyperparameter, sets the vocabulary size.
Radford and colleagues built GPT-2 on a byte-level version, which needs a base vocabulary of only 256 symbols and so can encode any string, and gave the model a vocabulary of 50,257 tokens. Kudo and Richardson released SentencePiece, which learns subword units directly from raw sentences and treats the space between words as an ordinary symbol, so it needs no language-specific rules for splitting words. The ECD20 glossary notes that providers use different tokenizers, so the same text can be split differently by different models.
Clinical vocabulary and the words-per-token rule
The ECD20 glossary gives an average of about 0.75 words per token for English text. That figure describes general English, and specialist vocabulary tends to break into more pieces because a tokenizer trained mainly on general text has seen few drug names or anatomical terms.
Gu and colleagues showed this for biomedical text. The general-domain BERT vocabulary split naloxone into four pieces and acetyltransferase into seven, while their PubMedBERT model, with a vocabulary built from PubMed text, held both as whole words. They found that pretraining on in-domain text with an in-domain vocabulary gave clear advantages over mixed-domain pretraining. A token estimate built on the English average may therefore understate the load of pharmacology-heavy full texts.
Token counts across languages
Petrov and colleagues compared token counts for the same sentences translated into 200 languages, calling the ratio of counts between a translation and its original the premium for that language. The tokenizer then used by ChatGPT and GPT-4 needed about 1.6 times as many tokens for Italian as for English, 2.6 times for Bulgarian and 3 times for Arabic, and for some languages the gap reached 15 times. Since commercial services charge per token or per character and a model holds only a fixed number of tokens at once, users of high-premium languages pay more for the same task and fit less into each request.
This bears on language bias in evidence synthesis. A review that screens non-English records to avoid excluding relevant studies will meet higher token counts for those records, and a budget or chunking plan built on English text will fall short.
Token use in NICE ECD20 screening and extraction
The ECD20 glossary describes tokens as the units of both model inputs and outputs. In its chapter on evidence synthesis, ECD20 treats output length as a lever on efficiency. For title and abstract screening it suggests prompting the model to reply with a single character per record, one letter for include, another for exclude and a symbol for uncertain, to reduce cost and computation. It also names prompt caching, which lets later API calls draw on a stored copy of the unchanging instructions instead of processing them afresh, as a further saving.
ECD20 prefers passing each title and abstract separately through an application programming interface with the same validated prompt template, so each request carries a similar token load. It also asks submissions to describe the model version, settings and configuration, and since counts depend on the tokenizer behind a model, the version also identifies the tokenizer that split the text.
Reason and colleagues, automating network meta-analyses with GPT-4, met a limit of 8,192 tokens shared between each prompt and its reply and passed each publication in overlapping chunks for data extraction, so some text was sent and paid for twice.
Token counts as a cost input
The ISPOR working group on generative AI in health economics and outcomes research notes that the number of tokens affects a model's performance, its cost and its ability to handle long texts. When a model is billed per token, the cost of a run can be built up record by record, in the same bottom-up way as micro-costing multiplies each unit of resource use by a unit cost.
where is the total token cost of the run, is the number of records sent, and are the input and output tokens per record, and and are the prices per million input and output tokens. Where a provider charges one rate for all tokens, the two prices are equal.
Repeated passes multiply , and ECD20 notes that for a low-reasoning task such as screening, running several models together brings extra cost and complexity that any small gain in performance has to justify. Staff time for prompt design and checking does not appear in the formula.
Worked example with 5,000 abstracts
The numbers below are illustrative, and the prices are not taken from any provider. A team screens 5,000 titles and abstracts in a systematic review that will inform a cost-effectiveness analysis, sending each record separately with the same prompt. The instructions run to 900 words and each record to 300 words, converted at the ECD20 average of 0.75 words per token. Prices are GBP 2.00 per million input tokens and GBP 8.00 per million output tokens.
Step 1. Tokens per record. The instructions come to 900/0.75 = 1,200 tokens and each record to 300/0.75 = 400 tokens, so each request carries 1,200 + 400 = 1,600 input tokens.
Step 2. Free-text decisions. A 150-word reason per record gives 150/0.75 = 200 output tokens.
where the terms are as defined above, so the run costs GBP 24.00.
Step 3. Single-character decisions. The model replies with one character, taken here as one token.
where the only change is . The run now costs GBP 16.04, a saving of GBP 7.96 or 33.2% of the free-text cost.
Step 4. Caching the instructions. Suppose all 5,000 requests read the 1,200 instruction tokens from a cache at GBP 0.20 per million. Per record, the instructions cost 1,200 × 0.20 = 240 millionths of a pound and the abstract 400 × 2.00 = 800, and the reply adds 8, a total of 1,048.
where 1,048 is the per-record cost in millionths of a pound, so the run costs GBP 5.24.
Step 5. Arabic abstracts. With the premium of 3 that Petrov and colleagues report for Arabic, each record needs 400 × 3 = 1,200 tokens and the English instructions stay at 1,200, giving 2,400 input tokens with single-character replies and no caching.
where , so the run costs GBP 24.04, which is 24.04/16.04 = 1.50 times the English run.
The instructions made up 1,200/1,600 = 0.75 of every English request, which is why caching them cut the bill most and why tripling the abstract's token count raised it by half, not threefold. At these prices the token bill stays small, so the case for an AI screening tool turns more on staff time and on how many relevant records the tool misses, the false negative rate that ECD20 treats as the main screening metric.
Choices that change the token count
The choice of model fixes the tokenizer, so one document can give different counts on two systems. Pre-processing changes the input, and ECD20 notes that much of a full text, including repeated material such as conclusions and reference lists, may not bear on a screening decision. ECD20 says chain-of-thought prompting can help with complex criteria but adds little for routine title and abstract screening, and any such reasoning adds output tokens.
Token beside nearby terms
The Context Window page describes a model's capacity measured in tokens, whereas the token is the unit being counted. A Prompt (AI) is the input as written, which the model splits into tokens. In real-world evidence work the same word names the hashed identifiers used in record linkage, an unrelated idea discussed on the de-identification page.
Limits and common misreadings
The 0.75 words per token figure is an English average and is often applied to clinical text or other languages where it does not hold. Counts made on one model need not carry over to another, because tokenizers often differ. Prices, tokenizers and limits also change between model versions, so a review protocol that estimates token costs should state the model version and the date of the prices used.
Sources
- Fleurence RL, Wang X, Bian J, Higashi MK, Ayer T, Xu H, Dawoud D, Chhatwal J. A taxonomy of generative artificial intelligence in health economics and outcomes research: an ISPOR working group report. Value in Health. 2025;28(11):1601-1610. https://doi.org/10.1016/j.jval.2025.04.2167 (preprint read, arXiv:2410.20204v2)
- Gu Y, Tinn R, Cheng H, Lucas M, Usuyama N, Liu X, Naumann T, Gao J, Poon H. Domain-specific language model pretraining for biomedical natural language processing. ACM Transactions on Computing for Healthcare. 2021;3(1):1-23. https://doi.org/10.1145/3458754
- Kudo T, Richardson J. SentencePiece: a simple and language independent subword tokenizer and detokenizer for neural text processing. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. 2018:66-71. https://doi.org/10.18653/v1/D18-2012
- National Institute for Health and Care Excellence. AI methods for evidence framework (ECD20). Corporate document, published 9 November 2026. https://www.nice.org.uk/corporate/ecd20
- Petrov A, La Malfa E, Torr PHS, Bibi A. Language model tokenizers introduce unfairness between languages. Advances in Neural Information Processing Systems 36 (NeurIPS 2023). https://arxiv.org/abs/2305.15425
- Radford A, Wu J, Child R, Luan D, Amodei D, Sutskever I. Language models are unsupervised multitask learners. OpenAI technical report. 2019. https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf
- Reason T, Benbow E, Langham J, Gimblett A, Klijn SL, Malcolm B. Artificial intelligence to automate network meta-analyses: four case studies to evaluate the potential application of large language models. PharmacoEconomics Open. 2024;8(2):205-220. https://doi.org/10.1007/s41669-024-00476-9
- Sennrich R, Haddow B, Birch A. Neural machine translation of rare words with subword units. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2016:1715-1725. https://doi.org/10.18653/v1/P16-1162
Related Concepts (2)
Frequently Asked Questions (6)
What is token in AI?
A token is the unit of text, often a word or part of a word, that a large language model reads and writes, and token counts set its limits and costs.
Source: Fleurence et al. 2025
How can the cost of AI tokens be estimated for title and abstract screening in a systematic review?
When a model is billed per token, the cost of a screening run can be built up record by record, in the same bottom-up way as micro-costing multiplies each unit of resource use by a unit cost. Input tokens per record cover the instructions plus the title and abstract, and output tokens cover the reply, each multiplied by its price per million tokens and then by the number of records sent. The ISPOR working group on generative AI notes that the number of tokens affects a model's cost as well as its performance and its handling of long texts. Staff time for prompt design and checking does not appear in this calculation.
Source: Fleurence et al. 2025
How does NICE ECD20 suggest reducing AI token use in title and abstract screening?
NICE ECD20 (2026) treats the length of a model's output as a lever on efficiency in its chapter on evidence synthesis. For title and abstract screening it suggests asking the model to reply with a single character per record, one letter for include, another for exclude and a symbol for uncertain, which cuts cost and computation. It also names prompt caching, which lets later API calls draw on a stored copy of the unchanging instructions instead of processing them afresh, as a further saving. ECD20 adds that chain-of-thought prompting can help with complex criteria but adds little for routine screening, and such reasoning lengthens the output.
Source: NICE ECD20 (2026)
Why can the words-per-token rule of thumb understate AI token counts for clinical text?
The figure of about 0.75 words per token in the NICE ECD20 glossary describes general English text. A tokenizer trained mainly on general text has seen few drug names or anatomical terms, so it breaks them into more pieces. Gu and colleagues found that the general-domain BERT vocabulary split naloxone into four pieces and acetyltransferase into seven, while their PubMedBERT vocabulary, built from PubMed text, held both as whole words. A token estimate based on the English average may therefore fall short for pharmacology-heavy full texts, in both the budget and the amount of each document that fits into one request.
Source: Gu et al. 2021
How do AI token counts differ between languages, and why does this matter for evidence synthesis?
Petrov and colleagues compared token counts for the same sentences translated into 200 languages. The tokenizer then used by ChatGPT and GPT-4 needed about 1.6 times as many tokens for Italian as for English and 3 times for Arabic, and for some languages the gap reached 15 times. Commercial services charge per token or per character and a model holds only a fixed number of tokens at once, so users of high-premium languages pay more for the same task and fit less into each request. A review that screens non-English records to limit language bias will meet higher token counts than a budget built on English text assumes.
Source: Petrov et al. 2023
How does byte pair encoding decide which pieces of text become AI tokens?
Sennrich and colleagues adapted byte pair encoding, originally a data compression method, to split words for neural machine translation. The algorithm begins with single characters and repeatedly merges the most frequent adjacent pair of symbols in the training text into a new symbol. Frequent words therefore end up as single tokens, while rare words are spelt out of smaller pieces, so the model needs no fallback dictionary for unseen words. The number of merges is the method's only hyperparameter and sets the vocabulary size, which is one reason why different tokenizers split the same document differently.
Source: Sennrich et al. 2016
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 10 Nov 2026
Content version: 1.0.0
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/token-ai
- Term code
- HS-HP-DH-107
Stable URI · Machine-readable · Resolvable · CC BY 4.0
