|
Hi Reader, āLast week, I encouraged you to experiment with different LLMs, since thereās no one model that is superior across all use cases. Specifically, I suggested you try using Chatbot Arena, which allows you to chat with multiple models at once. Itās completely free, but has two significant disadvantages:
Today, I want to offer you a better method for experimenting with LLMs, and itās the method I personally use. But first, we need to talk about LLM pricing⦠š· Whatās the cheapest way to access LLMs?If youāre familiar with ChatGPT, you probably know that it offers a limited Free plan and a $20/month Plus plan. But did you know that thereās a more flexible, affordable way to access the paid features of ChatGPT? If you access LLMs via API, you actually pay per ātokenā, which is roughly equivalent to a word. The LLM I use the most, GPT-4o mini, costs only $0.15 per million āinput tokensā (what you send to it) and $0.60 per million āoutput tokensā (what it sends back). That means most of my conversations cost fractions of a cent! And when I want to use a more powerful model (like Claude 3.5 Sonnet), I pay perhaps $0.10 for a conversation. In summary, accessing LLMs via API means that you can use whichever models you need, and only pay for the tokens you use. Win-win! š How to access LLMs via APIIf you like the idea of accessing LLMs in a flexible, affordable way, thereās only two things you need to get started:
An āAPI keyā is just a unique identifier that allows you to access a web service. For example, my API key from OpenAI allows me to use their models, and they bill me for the usage. Once you have an API key, you need an interface for chatting with the LLM. My preferred interface is TypingMind: All you have to do is give TypingMind your API key, and it will communicate with the LLM on your behalf! I love TypingMind because itās so easy to switch between different LLMs while still tracking your conversation history in one place. Itās also got a ton of power user features: AI agents, plugins, voice mode, document upload, cloud sync, etc. ā© Action itemsThis week, I want you to try using an LLM via API. Here are the steps:
Next time, I'll give you tips for how to get the best results from LLMs!
Tuesday Tips is on pause during the holiday break, so I'll see you in 2025! - Kevin P.S. Your workouts are a work of art (27-second video, turn on audio!) Also: behind the scenes. Did someone AWESOME forward you this email? Sign up here to receive weekly Artificial Intelligence tips! |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, I'm thrilled to announce that my new book, Master Machine Learning with scikit-learn, is now on sale! Buy from Amazon I poured my heart and soul into making this the highest quality and most practical Machine Learning book available. Publishing this book is a dream come true, and I'd be grateful if you'd consider picking up a copy! š Option 1: Get the paperback from Amazon ($19) Although most technical books of this size (300+ pages) tend to sell for at least $39, I've priced the...
Hi Reader, A few months ago, I announced that my new book, Master Machine Learning with scikit-learn, would be published in December. Since then, my personal life has undergone some dramatic changes š„“ During the transition, it has been challenging to focus on anything other than bare life essentials š½ļø š šæ Thankfully, my life has begun to steady (yay!), and so in the past few weeks I've been able to wrap up some key pieces of the project! ā I'm thrilled to hold in my hands the FINAL proof...
Hi Reader, happy new year! š I wanted to share with you the three most important articles I found that look back at AI progress in 2025 and look forward at what is coming in 2026 and beyond. Iāve extracted the key points from each article, but if you have the time and interest, Iād encourage you to read the full articles! š The Shape of AI: Jaggedness, Bottlenecks and Salients By Ethan Mollick āJaggednessā describes the uneven abilities of AI: Itās superhuman in some areas and far below human...