Skip to main content
Version: v1.6.1 🚧

List available LLMs

Overview​

Users can access a list of available large language models (LLMs) within the environment.

Example​

from h2ogpte import H2OGPTE

client = H2OGPTE(
address="https://h2ogpte.genai.h2o.ai",
api_key='sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
)

for item in client.get_llm_names():
print(item)
h2oai/h2o-danube3-4b-chat
meta-llama/Meta-Llama-3.1-70B-Instruct
meta-llama/Meta-Llama-3.1-405B-Instruct-FP8
Qwen/Qwen2.5-72B-Instruct
Qwen/Qwen2-VL-72B-Instruct
mistralai/Pixtral-12B-2409
mistralai/Mixtral-8x7B-Instruct-v0.1
meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo
meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
upstage/SOLAR-10.7B-Instruct-v1.0
mistralai/Mistral-7B-Instruct-v0.3
google/gemma-2-27b-it
meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo
meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo
meta-llama/Llama-3.2-3B-Instruct-Turbo
mistral-tiny
mistral-small-latest
mistral-medium
mistral-large-latest
gemini-1.5-pro-latest
gemini-1.5-flash-latest
claude-3-haiku-20240307
claude-3-sonnet-20240229
claude-3-5-sonnet-20240620
gpt-4o
gpt-4o-mini

Feedback