available_models()
The available_models()
function lists all the providers and their models available in LangDB.
Syntax
SELECT * FROM available_models()
id | price | details | model_type | provider_name |
---|---|---|---|---|
o1-preview | {"per_input_token":15.0,"per_output_token":60.0,"valid_from":null} | null | completions | openai |
o1-mini | {"per_input_token":3.0,"per_output_token":12.0,"valid_from":null} | null | completions | openai |
gpt-4o | {"per_input_token":5.0,"per_output_token":15.0,"valid_from":null} | null | completions | openai |
gpt-4o-mini | {"per_input_token":0.15,"per_output_token":0.6,"valid_from":null} | null | completions | openai |
gpt-3.5-turbo-0125 | {"per_input_token":0.015,"per_output_token":1.5,"valid_from":null} | null | completions | openai |
text-embedding-ada-002 | {"per_input_token":0.1,"valid_from":null} | null | embedding | openai |
text-embedding-3-small | {"per_input_token":0.02,"valid_from":null} | null | embedding | openai |
text-embedding-3-large | {"per_input_token":0.13,"valid_from":null} | null | embedding | openai |
gemini-1.5-flash-latest | {"per_input_token":0.15,"per_output_token":0.6,"valid_from":null} | null | completions | gemini |
gemini-1.5-pro-latest | {"per_input_token":0.5,"per_output_token":1.5,"valid_from":null} | null | completions | gemini |
claude-3-opus-20240229 | {"per_input_token":15.0,"per_output_token":75.0,"valid_from":null} | null | completions | anthropic |
claude-3-sonnet-20240229 | {"per_input_token":3.0,"per_output_token":15.0,"valid_from":null} | null | completions | anthropic |
claude-3-haiku-20240307 | {"per_input_token":0.25,"per_output_token":1.25,"valid_from":null} | null | completions | anthropic |
claude-3-5-sonnet-20240620 | {"per_input_token":3.0,"per_output_token":15.0,"valid_from":null} | null | completions | anthropic |
command-r-v1:0 | {"per_input_token":0.5,"per_output_token":1.5,"valid_from":null} | null | completions | cohere |
command-r-plus-v1:0 | {"per_input_token":3.0,"per_output_token":15.0,"valid_from":null} | null | completions | cohere |
llama3-8b-instruct-v1:0 | {"per_input_token":0.3,"per_output_token":0.6,"valid_from":null} | null | completions | llama |
llama3-70b-instruct-v1:0 | {"per_input_token":2.6,"per_output_token":3.5,"valid_from":null} | null | completions | llama |
mistral-7b-instruct-v0:2 | {"per_input_token":0.15,"per_output_token":0.2,"valid_from":null} | null | completions | mistral |
mixtral-8x7b-instruct-v0:1 | {"per_input_token":0.4,"per_output_token":0.7,"valid_from":null} | null | completions | mistral |