Skip to main content

available_models()

The available_models() function lists all the providers and their models available in LangDB.

Syntax

SELECT * FROM available_models()
idpricedetailsmodel_typeprovider_name
o1-preview{"per_input_token":15.0,"per_output_token":60.0,"valid_from":null}nullcompletionsopenai
o1-mini{"per_input_token":3.0,"per_output_token":12.0,"valid_from":null}nullcompletionsopenai
gpt-4o{"per_input_token":5.0,"per_output_token":15.0,"valid_from":null}nullcompletionsopenai
gpt-4o-mini{"per_input_token":0.15,"per_output_token":0.6,"valid_from":null}nullcompletionsopenai
gpt-3.5-turbo-0125{"per_input_token":0.015,"per_output_token":1.5,"valid_from":null}nullcompletionsopenai
text-embedding-ada-002{"per_input_token":0.1,"valid_from":null}nullembeddingopenai
text-embedding-3-small{"per_input_token":0.02,"valid_from":null}nullembeddingopenai
text-embedding-3-large{"per_input_token":0.13,"valid_from":null}nullembeddingopenai
gemini-1.5-flash-latest{"per_input_token":0.15,"per_output_token":0.6,"valid_from":null}nullcompletionsgemini
gemini-1.5-pro-latest{"per_input_token":0.5,"per_output_token":1.5,"valid_from":null}nullcompletionsgemini
claude-3-opus-20240229{"per_input_token":15.0,"per_output_token":75.0,"valid_from":null}nullcompletionsanthropic
claude-3-sonnet-20240229{"per_input_token":3.0,"per_output_token":15.0,"valid_from":null}nullcompletionsanthropic
claude-3-haiku-20240307{"per_input_token":0.25,"per_output_token":1.25,"valid_from":null}nullcompletionsanthropic
claude-3-5-sonnet-20240620{"per_input_token":3.0,"per_output_token":15.0,"valid_from":null}nullcompletionsanthropic
command-r-v1:0{"per_input_token":0.5,"per_output_token":1.5,"valid_from":null}nullcompletionscohere
command-r-plus-v1:0{"per_input_token":3.0,"per_output_token":15.0,"valid_from":null}nullcompletionscohere
llama3-8b-instruct-v1:0{"per_input_token":0.3,"per_output_token":0.6,"valid_from":null}nullcompletionsllama
llama3-70b-instruct-v1:0{"per_input_token":2.6,"per_output_token":3.5,"valid_from":null}nullcompletionsllama
mistral-7b-instruct-v0:2{"per_input_token":0.15,"per_output_token":0.2,"valid_from":null}nullcompletionsmistral
mixtral-8x7b-instruct-v0:1{"per_input_token":0.4,"per_output_token":0.7,"valid_from":null}nullcompletionsmistral