TokenSave logo TokenSave

TokenSave Data · Dataset

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

Measured and written by · Updated . Disclosure: TokenSave gets no funding, credits or sponsorship from AI companies. All measurements use our own paid subscriptions.

Asking Claude Code or Codex to build the same game in Korean, Japanese, Spanish or Ukrainian cost about the same as asking in English: over 5 runs per language, the median input tokens per task stayed within 1.2% of the English median in both tools. 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 and 2026-10-19 · 5 languages · 2 tools · 5 runs each · 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

Count the tokens in your own text → Paste your prompt and see tokens, characters and API cost on GPT, Claude and Gemini. Free and private: it runs in your browser. Median input tokens for the same coding task prompted in English, Korean, Japanese, Spanish and Ukrainian, 5 runs each

Key findings

Tokens, time and cost by prompt language

5 runs per language and tool. Codex does not report cost. “Game text language” is the language of the on-screen text in the generated game. Every run is in the CSV.

Prompt languageToolInput tokens (median)Input tokens (range)Output tokens (median)Time (median)API cost (range)Game worksGame text language
EnglishClaude Code79,21378,058 to 123,6667,87064 s$0.35 to $0.425 / 5English
EnglishCodex48,60047,954 to 64,5813,47639 s–5 / 5English
KoreanClaude Code78,38177,399 to 80,4527,11659 s$0.34 to $0.425 / 5Korean
KoreanCodex48,79347,677 to 48,8683,63237 s–5 / 5Korean
JapaneseClaude Code79,05378,263 to 80,4717,58370 s$0.36 to $0.425 / 5Japanese
JapaneseCodex48,75648,063 to 49,1843,54439 s–5 / 5Japanese
SpanishClaude Code80,13476,570 to 80,7648,84182 s$0.31 to $0.435 / 5Spanish
SpanishCodex48,16347,740 to 49,1073,03838 s–5 / 5Spanish
UkrainianClaude Code79,92678,718 to 80,7778,62871 s$0.37 to $0.435 / 5Ukrainian
UkrainianCodex48,95047,898 to 49,7363,73935 s–4 / 5Ukrainian

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

BibTeX

@misc{tokensave_ai_coding_prompt_language_2026,
  author    = {{TokenSave}},
  title     = {Coding in your own language: does the prompt language change what Claude Code and Codex cost?},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.23454308},
  url       = {https://doi.org/10.5281/zenodo.23454308},
  note      = {Dataset, CC BY 4.0}
}

Embed the chart

Related

Questions or corrections: contact@jonhisking.com