Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23618579Version 1.2 (2026-10-24): tokenizer check. 76 of the game files were counted with each company's own tokenizer, regardless of which model wrote them: Claude 5.5 (via Claude Code, minus the call with "a"), Gemini 4 Argon (Google AI Studio token counter, minus 31) and GPT (o200k). Tokens per 1,000 characters, median: Claude 518, Gemini 400, GPT 335. For the same code Claude's tokenizer needs 55% more tokens than GPT's (+47% to +65% per file) and 29% more than Gemini's (+24% to +35%). Against GPT the output gap is the tokenizer; against Gemini it explains about half, and Gemini's own code needed 13% to 15% fewer tokens per character under all three tokenizers. Per-file counts: output-tokens-per-character-tokenizer-check.csv. Version 1.1 (2026-10-23): five runs per tool and language (Antigravity runs 4-5 added), 100 runs. Output tokens per 1,000 characters: Claude Code + Opus 5.5 591, Antigravity + Opus 5.5 602, Antigravity + Gemini 4 Argon 372, Codex + gpt-6-luna 376. 99 of 100 games worked. The text below describes version 1.0. Measured 2026-10-18 to 2026-10-23 on Windows 11. The same brick-breaker task, prompted in English, Korean, Japanese, Spanish and Ukrainian, in Claude Code 2.1.295 (Opus 5.5), Codex CLI 0.162 (gpt-6-luna) and Antigravity CLI 1.4.5 (Gemini 4 Argon and Claude Opus 5.5). 80 runs. License: CC BY 4.0. Page with tables, chart and method: https://tokensave.app/data/output-tokens-per-character-by-model Key numbers Output tokens per 1,000 characters of the index.html each run wrote (average over the five languages): Claude Code + Opus 5.5: 591 (554 to 624 by language) Antigravity + Opus 5.5: 596 (574 to 612) Antigravity + Gemini 4 Argon: 372 (364 to 380) Codex + gpt-6-luna: 376 (366 to 386) Opus needed about 60% more output tokens per character than Gemini and about 57% more than GPT, and came out the same in both tools that ran it. Prompt language moved input tokens by only a few percent inside each tool. 79 of 80 games worked (score, level 2, lives 3-2-1-0) and all showed their text in the prompt language. Files output-tokens-per-character-by-model.csv / .json: one row per run (tool, language, run, date, input tokens, cache reads reported separately, output tokens, seconds, file characters and lines, output tokens per 1,000 characters, game check, source). output-tokens-per-character-by-model-chart.png Raw JSON and generated games of the 24 new Antigravity runs, the localized game checker and its output: https://github.com/johnisking/token-cost-by-language/tree/main/output-tokens-per-character (Windows user name masked as USER). Claude Code and Codex runs: dataset DOI 10.5281/zenodo.23454308. Antigravity English runs: DOI 10.5281/zenodo.23569397. Output tokens include the short final reply and the tool-call wrapping around the file, not only the code.
Keyword(s):
Antigravity CLI; Claude; Claude Code; Codex; Gemini.
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)