How to write prompts in Polish more cheaply? I checked 7 versions (GPT and Mistral)
Polski należy do najdroższych języków w promptach: ten sam tekst zajmuje w GPT prawie dwa razy więcej tokenów niż po angielsku. W dyskusji na forum 4programmers padła dobra uwaga: może to wina samego tekstu, a native speaker napisze go krócej? Sprawdziłem to, razem z kilkoma innymi sposobami na tańszy prompt po polsku. Test Prośba o streszczenie e-maila klienta, w siedmiu wersjach. Tokeny…
A study found that writing in Polish costs more tokens in AI prompts than English. Researchers tested prompts in various languages and found that concise Polish writing can reduce token costs by 34%. The study also found that removing Polish characters doesn't significantly reduce token costs, and English remains cheaper but the difference is decreasing. Optimizing system prompts can lead to significant cost savings, especially for large volumes of requests.
Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.