# Choosing an LLM



:::{admonition} [OpenAI](https://en.wikipedia.org/wiki/OpenAI):
:class: note

> OpenAI is an American artificial intelligence (AI) organization consisting of the non-profit OpenAI, Inc.[4] registered in Delaware and its for-profit subsidiary corporation OpenAI Global, LLC.[5] OpenAI researches artificial intelligence with the declared intention of developing "safe and beneficial" artificial general intelligence, which it defines as "highly autonomous systems that outperform humans at most economically valuable work".[6]

> OpenAI was founded in 2015 by Ilya Sutskever, Greg Brockman, Trevor Blackwell, Vicki Cheung, Andrej Karpathy, Durk Kingma, Jessica Livingston, John Schulman, Pamela Vagata, and Wojciech Zaremba, with Sam Altman and Elon Musk serving as the initial board members.Microsoft provided OpenAI Global LLC with a \$1 billion investment in 2019 and a \$10 billion investment in 2023.
:::

:::{admonition} [GPT Generations](https://learning.oreilly.com/library/view/developing-apps-with/9781098152475/ch01.html#understanding_the_transformer_architecture_and_its):
:class: note

```{figure} ./images/openai-llm-history.png
---
width: 800px
name: openai-hist
---
```
:::

:::{admonition} [Model Zoo](https://arxiv.org/abs/2303.18223):
:class: note
```{figure} ./images/model-zoo.png
---
width: 800px
name: model-zoo
---
```
:::

:::{admonition} Why choose an open LLM? (Control)

- __Reproducibility__
- __Data privacy__
- __Flexibility to adapt a model__
- __Ability to share a model__
- __Cost**__

**If you have access to GPUs
:::

:::{admonition} Why choose a commercial LLM? (Performance)

- __[Performance](https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboard)__
- __[Ease of Use](https://platform.openai.com/docs/concepts)__
- __[Cost](https://openai.com/api/pricing/)__

```{figure} ./images/llm-leaderboard.png
---
width: 800px
name: llm-leaderboard
---
[lmsys chatbot arena leaderboard](https://huggingface.co/spaces/lmsys/chatbot-arena-leaderboard)
```
:::
