Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

While creating a customized agent, you will need to select an LLM (Large Language Model), which will take care of a given task, such as retrieving information from the web or a data source to generate an answer relevant to the user’s query, analyzing data, summarizing content, creating content and much more.

Therefore it is crucial to choose the right LLM for your use case. This page will give you some insights to help you select a model from the ones we offer.

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Selection criteria

Note

need more info from comparison tests (Alban will do them when he has time)

Criteria:

  • task

  • length of processed documents (context window - nb of tokens)

  • price

  • response time

Best performing models

GPT 4o → the best performing

GPT 4o mini → very cheap and very fast with good performance

Mistral Large → Selecting an LLM for an agent depends on the following criteria.

  • the type of task done by the agent. Some LLMs excel in specific tasks like …. for example.

  • the context window of the LLM. This corresponds to the total number of tokens in input and output that can be processed by the LLM.

Info

Some LLMs have larger context windows than others, which might be interesting if you intend to process substantial documents. On the opposite, if you want to process smaller documents, you might want to choose an LLM with a smaller context window.

The size of the context window also matters if you want your agent to retain more information from earlier in the conversation.

  • the price for the processed tokens. Some LLMs are more expensive than others.

  • the response time of the LLM. Some LLMs answer faster than others.

Best performing models

Below are our insights on the best-performing models. (might be outdated)

Overall,

  • GPT 4o is the best-performing model.

  • GPT 4o mini has good performance and is very fast and cheap.

  • Mistral Large is slightly worse than GPT 4o but slightly cheaper.

  • The Groq models

...

  • are ideal when the text to generate is long.