Skip to contents

Returns a list of available models in groq, excluding whisper and vision models (for audio and images) and sorting by creation date. See https://console.groq.com/docs/models for more information.

Usage

llm_model_list(API_KEY = Sys.getenv("GROQ_API_KEY"))

Arguments

API_KEY

groq API key from https://console.groq.com/keys

Value

a data frame of models and info

Examples

# \donttest{
  llm_model_list()
#>                                               id      owned_by    created
#> 1            meta-llama/llama-prompt-guard-2-22m          Meta 2025-05-30
#> 2                             groq/compound-mini          Groq 2025-09-04
#> 3                                 qwen/qwen3-32b Alibaba Cloud 2025-05-28
#> 4                           llama-3.1-8b-instant          Meta 2023-09-03
#> 5                        llama-3.3-70b-versatile          Meta 2024-12-06
#> 6                            openai/gpt-oss-120b        OpenAI 2025-08-05
#> 7            meta-llama/llama-prompt-guard-2-86m          Meta 2025-05-30
#> 8                                     allam-2-7b         SDAIA 2025-01-23
#> 10              moonshotai/kimi-k2-instruct-0905   Moonshot AI 2025-09-05
#> 11                             playai-tts-arabic        PlayAI 2025-02-27
#> 13                            openai/gpt-oss-20b        OpenAI 2025-08-05
#> 14                                    playai-tts        PlayAI 2025-02-27
#> 15 meta-llama/llama-4-maverick-17b-128e-instruct          Meta 2025-04-05
#> 16     meta-llama/llama-4-scout-17b-16e-instruct          Meta 2025-04-05
#> 17                                 groq/compound          Groq 2025-09-04
#> 18                   moonshotai/kimi-k2-instruct   Moonshot AI 2025-07-13
#> 19                  meta-llama/llama-guard-4-12b          Meta 2025-05-08
#>    context_window
#> 1             512
#> 2          131072
#> 3          131072
#> 4          131072
#> 5          131072
#> 6          131072
#> 7             512
#> 8            4096
#> 10         262144
#> 11           8192
#> 13         131072
#> 14           8192
#> 15         131072
#> 16         131072
#> 17         131072
#> 18         131072
#> 19         131072
# }