Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Raphael Fakhri <raphaelfakhri@users.noreply.github.com> <153192858+raphaelfakhri
Raphael Fakhri <raphaelfakhri@users.noreply.github.com> <rjf11@mail.aub.edu>
Sebastian Szewczyk <sebryu@users.noreply.github.com> <sebastian.szewczyk@swmansion.com>
Sebastian Szewczyk <sebryu@users.noreply.github.com> <sebryu@gmail.com>
senik <stussysenik@users.noreply.github.com> <35629779+stussysenik@users.noreply.github.com>
3 changes: 3 additions & 0 deletions src/content/docs/expanding-horizons/model-pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ Polish, for example, requires roughly 40% more tokens than English for equivalen
</tbody>
</table>

These counts come from OpenAI's tokenizer.
The overhead also depends on the model: on Claude, the same two sentences come to about 65 and 42 tokens.

This is worth keeping in mind if you work in a non-English language.
More tokens means higher cost and slower inference at scale.

Expand Down