> For the complete documentation index, see [llms.txt](https://docs.jamaibase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jamaibase.com/using-the-platform/model-providers/which-llm-should-you-choose.md).

# Which LLM Should You Choose?

A guide for choosing the best LLM API for your use case

**eneral Recommendation**

<table data-full-width="false"><thead><tr><th width="157">Use Case</th><th width="454">Use Case Description</th><th>Preferred Model(s)</th></tr></thead><tbody><tr><td>General Tasks (Open-Ended)</td><td>Handle diverse requests without specific instructions. Relies on the model's broad knowledge and understanding.</td><td>GPT-4-Turbo</td></tr><tr><td>General Tasks (Guided)</td><td>Handling a wide range of tasks with the help of few-shot or chain-of-thought prompting, enabling smaller, faster models to produce reasonably good quality outputs with reduced latency and cost.</td><td>Claude 3 Haiku</td></tr><tr><td>Low Latency &#x26; Cost-Sensitive</td><td>Prioritize quick responses and affordability over the absolute best output quality. Ideal for real-time or high-volume applications.</td><td>Claude 3 Haiku/Mixtral</td></tr><tr><td>Auto Prompt Rewriter and Refinement</td><td>Automatically refine prompts for better results. Understands intent and suggests changes for improved effectiveness with smaller LLMs.</td><td>GPT-4-Turbo/ Claude 3 Opus</td></tr></tbody></table>

**Core Applications:**

<table><thead><tr><th width="457">Use Case</th><th>Model</th></tr></thead><tbody><tr><td><p><strong>Language Understanding and Generation:</strong> </p><ul><li>Content Creation and Summarization</li><li>Language Translation and Localization</li><li>Conversational AI and Virtual Assistants (Chatbot)</li><li>Sentiment Analysis</li><li>Intelligent Writing Assistance</li></ul></td><td><p>Claude 3 Haiku</p><p>Claude 3 Opus for Multilingual</p></td></tr><tr><td><p><strong>Computer Vision and Multimodal Integration:</strong></p><ul><li>Image Captioning</li><li>Visual Question Answering</li><li>Multimodal Data Processing for Enhanced Insights</li></ul></td><td>Claude 3 Haiku</td></tr><tr><td><p><strong>Information Management:</strong> </p><ul><li>Data Retrieval and Analysis</li><li>Knowledge Management and Research Support</li><li>Personalization and Recommendation Systems</li><li>Visual/Text Search</li></ul></td><td>Option: <br>Retrieval-augmented generation (RAG)<br>Model:<br>Claude 3 Haiku/ Command R+</td></tr></tbody></table>

**Specialized Applications:**

<table><thead><tr><th width="618">Use Case</th><th>Model</th></tr></thead><tbody><tr><td><p><strong>Code and Automation:</strong></p><ul><li><strong>Development and Coding Support:</strong> Automating code generation and offering software development assistance.</li><li><strong>Operational Efficiency:</strong> Enhancing process automation and intelligent document processing for improved workflow.</li><li><strong>Content and Security Management:</strong> Implementing content moderation, filtering, and mechanisms for fraud detection and prevention.</li></ul></td><td>Claude 3 Opus</td></tr><tr><td><p><strong>Business and Commerce:</strong></p><ul><li><strong>E-commerce and Retail Enhancements:</strong> Optimizing online shopping experiences and supporting retail operations.</li><li><strong>Customer Engagement:</strong> Utilizing chatbots for service and support, and deploying personalized email marketing campaigns.</li><li><strong>Marketing and Sales:</strong> Developing targeted marketing strategies, generating product descriptions, and leveraging intelligent upselling and cross-selling.</li><li><strong>Market Insights:</strong> Conducting market research, analyzing customer reviews, and forecasting demand.</li><li><strong>Product Management:</strong> Automating product categorization, tagging, and inventory management.</li></ul></td><td>Claude 3 Haiku</td></tr><tr><td><p><strong>Education and Learning:</strong></p><ul><li><strong>Personalized Education:</strong> Creating adaptive learning materials and tools tailored to individual learning styles and needs.</li></ul></td><td>Claude 3 Opus</td></tr><tr><td><p><strong>Geospatial and Environmental Analysis:</strong></p><ul><li><strong>Spatial Data Insights:</strong> Offering mapping and spatial data analysis for various applications.</li></ul></td><td>Claude-3 Sonnet</td></tr></tbody></table>

## Performance vs Price Analysis

<figure><img src="https://949944545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRNnvWSkFcg9eUeFklENf%2Fuploads%2FOldmjMmYrwMZKFnYzFUI%2Fvllmchart.png?alt=media&amp;token=5753558c-067a-4016-8f88-84d16b1945ac" alt=""><figcaption><p>Input token price: This graph illustrates a comparison of popular large language models (LLMs), plotting 'LMSYS Better Arena Elo' against 'Price per 1M Token (Input)', both on a logarithmic scale.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.jamaibase.com/using-the-platform/model-providers/which-llm-should-you-choose.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
