My ai usecases
Purchasing AI - Using It as API vs Monthly Subscription for ChatGPT/Claude
Do you need to buy monthly subscriptions? Take Copilot and other examples. To test this out, I bought $5 worth of usage from OpenAI, used an extension for VSCode for ai operations, and used ai tools that require api token..like AI Commits. Did it work? Yes. Have I used all of those $5? No, it’s still there. Usually, the models I use for these kinds of tasks are very affordable and don’t accumulate significant costs.
At the time of updating this post, the pricing is as follows (I’ve updated the following as of November 2, 2024):
Model Pricing Overview
Model | Pricing | Pricing with Batch API* |
---|---|---|
gpt-4o-mini | $0.150 / 1M input tokens | $0.075 / 1M input tokens |
$0.075 / 1M cached** input tokens | ||
$0.600 / 1M output tokens | $0.300 / 1M output tokens | |
gpt-4o-mini-2024-07-18 | $0.150 / 1M input tokens | $0.075 / 1M input tokens |
$0.075 / 1M cached** input tokens | ||
$0.600 / 1M output tokens | $0.300 / 1M output tokens |
1M - 1Million, yea, there should be no pricing..but that pricing is low right??
Following is the usage for a month, the usage does not exceep any high numbers
If you want to use AI, you don’t have to pay monthly. You can just buy API usage for $5 and start from there. That’s my current verdict, though it could change in the future
Goal
To test whether AI increases productivity or not. I started using it and I have couple of workflows, let see one by one.
An Assistant for API Syntax and docs
An assistant that just gives the command out for common usecases, these are stuff that I nornally would google and take some tiem doing the same, here I jsut ahve a static window open with custom instruction, if you have used chatgpt or claude or any other ai chatbots. it yaps a lot, or give unnecessary explanations.
I’ll open this floating sticky window to my desktop and I’ll start coding/ imeplenting what I needed to do, when doubts, I just type in this window ,I get answers. I wont ask anything I wont’ know, I just ask stuff which i already know but dont remember. I wouldn’t recommend using output from this directly without research.
Zed
I’ve been using zed, I have configured it with open AI key and I can use these features with the help of this.
inline-ai
chat window
model selection
Git helper
I’ve been using ai commits, configuring in terminal.
I’ve stopped using ai commits, cuz a chatgpt window with custom instructions in much btter than this.
Again if you notice, chatgpt doesnot spew any additional information, its fed with instructions as should only give git commit messages. I just copy pasted the rules from this page conventional commits.
Again all these are open source projects of mine, so im pasting my git diff into it.
# im using mac, for copying to clipboard pbcopy
git diff --staged | pbcopy
Advanced find in page helper
This is powerful…maybe its bad longterm? idk.. before I have to learn entire docs to find a specific information if I can’t find it with keywords with find in page. NOW WE CAN SEARCH THE CONTENT WITH LOGIC, WITHOUT EXACT WORDS
what to do achive this? First select all content of the page and give it instructions to specifically find a info using logic, tell it to use information only provided in the content.
See the example below, it greatly reduces my time for implementing and learning items.
Phrases - English - Helper
Self explanatory, I hear a lot of phrases from tv shows, utube, needed a explainer with custom instructions of using that in 2 sentences.
There should be a continuation..to the post. obviously when I use more and more..I’ll find more stuff.
Conclusion
You can create ai assistant based on your needs to reduce your time working on things and increase your productivity.. these are the usecases I find for now.. should find more ones in future.
Personal update
Found another frost, getting a lot of life experiences.. I know it will not work between surroundings and struggles for future, deciding on august 29th, hopefully they understand.. still want entire life. Suggestion from frost 2 is just live in the moment and enjoy?. Future me.. tell me how it is going?.. remember feb 2024?. Good luck, stay positive and have a little bit of hope!.