JOHNISKING/token-cost-by-programming-language
Token cost by programming language: the same programs in 10 languages on Claude, Gemini and GPT Two small programs (an inventory class and Dijkstra's shortest path) written in Python, Ruby, JavaScript, TypeScript, PHP, Rust, Java, C++, Go and C, with input tokens counted on Claude Opus/Sonnet 5.5, Claude Haiku 4.5, Gemini 3.x and GPT (o200k_base). Headline: both programs together cost 809 GPT tokens in Python and 1,536 in C (+90%). Python and Ruby were the cheapest on every… See the full description on the dataset page: https://huggingface.co/datasets/JOHNISKING/token-cost-by-programming-langu
| Author / organization | JOHNISKING |
|---|---|
| License (as declared) | cc-by-4.0 |
| Downloads | 0 (as reported by Hugging Face) |
| Likes | 0 |
| Created | 18 October 2026 |
| Last updated at source | 18 October 2026 |
More from JOHNISKING
Silytics shows public metadata from Hugging Face and links to the original. Information may be incomplete or out of date. Last refreshed 18 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.