TokenSave logo TokenSave

TokenSave Data · Dataset

Does the prompt language change what AI coding costs? Claude Code and Codex in 5 languages

Asking Claude Code or Codex to build the same game in Korean, Japanese, Spanish or Ukrainian cost about the same as asking in English: 77,083 to 80,598 input tokens in Claude Code and 47,677 to 49,257 in Codex. What changed was the game itself: its on-screen text, and Claude Code’s code comments, followed the language of the prompt.

Measured 2026-10-18 · 5 languages · 2 tools · 2 runs · License CC BY 4.0 · Related: Claude Code vs Codex: the same coding task

DOI 10.5281/zenodo.23454308 · Also on Hugging Face · Kaggle · GitHub

Input tokens for the same coding task prompted in English, Korean, Japanese, Spanish and Ukrainian

Key findings

Tokens, time and cost by prompt language

Both runs are shown for tokens and cost. Codex does not report cost. “Game text language” is the language of the on-screen text in the generated game.

Prompt languageToolInput tokens (run 1 / 2)Output tokens (run 1 / 2)Time (avg)API cost (run 1 / 2)Game worksGame text language
EnglishClaude Code123,666 / 79,2138,537 / 7,87068 s$0.42 / $0.392 / 2English
EnglishCodex47,954 / 48,8152,872 / 3,80337 s– / –2 / 2English
KoreanClaude Code78,282 / 78,3816,976 / 7,11659 s$0.36 / $0.372 / 2Korean
KoreanCodex47,677 / 48,7932,536 / 3,64937 s– / –2 / 2Korean
JapaneseClaude Code80,471 / 78,9749,045 / 7,50168 s$0.42 / $0.382 / 2Japanese
JapaneseCodex49,078 / 48,0633,858 / 2,83738 s– / –2 / 2Japanese
SpanishClaude Code80,598 / 77,0839,212 / 5,79767 s$0.42 / $0.332 / 2Spanish
SpanishCodex48,163 / 48,1923,038 / 3,05838 s– / –2 / 2Spanish
UkrainianClaude Code79,506 / 79,9268,137 / 8,64870 s$0.39 / $0.412 / 2Ukrainian
UkrainianCodex49,257 / 47,8983,986 / 2,65136 s– / –2 / 2Ukrainian

Prompts

Method

Limitations

How to cite

Free to use, quote and republish with attribution under CC BY 4.0. Please link to this page.

TokenSave (2026). Coding in your own language: does the prompt language change what Claude Code and Codex cost? [Data set]. Zenodo. https://doi.org/10.5281/zenodo.23454308

Embed the chart

Related

Questions or corrections: contact@jonhisking.com