paint-brush
Gptrim: Reduce Your GPT Prompt Size by 50% For Free!by@vladpublish
15,733 reads
15,733 reads

Gptrim: Reduce Your GPT Prompt Size by 50% For Free!

by Vlad Gheorghe4mApril 18th, 2023
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

gptrim reduces your prompts by 40-60%. GPT is trained at predicting human language. If you give it a text that is highly condensed and compressed, it will still be able to read it. The biggest limit on what you can achieve comes from the context window, i.e. the total number of tokens that GPT can see at one time. Reducing the tokens in your prompts means you can have a bigger context window. You will spend less money doing the same job.
featured image - Gptrim: Reduce Your GPT Prompt Size by 50% For Free!
Vlad Gheorghe HackerNoon profile picture
Vlad Gheorghe

Vlad Gheorghe

@vladpublish

Data Engineer. I like to learn complex things and explain them simply.

Learn More
LEARN MORE ABOUT @VLADPUBLISH'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item
1-item
2-item

STORY’S CREDIBILITY

Original Reporting

Original Reporting

This story contains new, firsthand information uncovered by the writer.

DYOR

DYOR

The writer is smart, but don't just like, take their word for it. #DoYourOwnResearch

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

Vlad Gheorghe HackerNoon profile picture
Vlad Gheorghe@vladpublish
Data Engineer. I like to learn complex things and explain them simply.

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite