How to select the right LLM for a task

New models hit the scene every other day, each one with their unique strengths and weaknesses

Toni Engelhardt
Mar 31, 2024 · 1 min read

Unfortunately, there is no universal answer to this question. It depends on your use case, your budget, and your personal preferences.

A good strategy to go about it is to do the following:

If you are new to the game, start with the industry standard, GPT-3.5 for simple tasks and GPT-4 Turbo for more complex ones. Use Promptmetheus to experiment until you get satisfying and reproducible results. If you do not get anywhere with OpenAI models, try different providers like Anthropic, Gemini, or Mistral. Once you have a working prompt, try to optimize it for performance, speed, reliability, and cost by comparing different LLMs and model parameters. As a rule of thumb, the cheapest model which is fast enough and does the job is the best one.

If you are more experienced with Prompt Engineering and AI Development, start with the model that historically worked best for use cases similar to the one you have at hand. But before you go into fine-tuning of your prompt, take an early version and execute it with a few different LLMs to see which one is most promising. Use that one to fine-tune your prompt. Once you achieve great results, revisit your model choice and optimize for performance, speed, and reliability.

Please also check the "Building a Prompt Engineering IDE (VS Code for AI)" and "Prompt Engineering Tips & Tricks" posts for more information.

Share this post with your friends

Keep reading...

Apr 01, 2024 · 13 min
A real-world case study on using Prompt Engineering to make HR and People Operations tasks easy as pie
Jul 21, 2023 · 5 min
Integrating with multiple AI platforms can be tedious and time-consuming, but cross-platform solutions are out there
Jun 7, 2023 · 9 min
The hacks and techniques that take your prompting skills to the next level and help you craft reliable one-shot prompts
Jun 6, 2023 · 8 min
Software Engineers have dedicated tools to develop code and Prompt Engineers should have dedicated tools to craft prompts
Promptmetheus © 2023-2024.
All rights reserved.