Skip to content

    ← All posts

    JSON, YAML or CSV: what a prompt costs

    The same 100 rows cost up to 3.2 times more tokens depending on their format. Token-by-token splitting, six formats counted with four tokenizers, French versus English, the price of numbers and UUIDs, then 10 questions asked to a local model with each format.

    Spotted an error, something to add?

    Tell me: I read every message and correct the article when needed.

    Your name only appears below the article with this consent, and only if the remark is used. Your address is never published.