chat, audio-text-to-text, image-text-to-text, video-text-to-text, it also supports chat completions models from the closed source providers, openai, anthropic, mistral, cohere, and google.
To specify a provider, prefix the model with the provider, e.g. gpt-4 should be passed in as openai/gpt4
We provide access to models from openai, mistral, and google.
You will need to supply a header provider-key in order to make requests to cohere models.
NOTE: Logprobs are supported for all models!
Basic usage (Open Source)
Basic usage (Open Source)
Streaming (Open Source)
Streaming (Open Source)
Basic usage (Closed Source)
Basic usage (Closed Source)
Streaming (Closed Source)
Streaming (Closed Source)