AI Suite
AI Suite simplifies access to multiple large language models (LLMs) through a unified interface. Use the following steps to integrate and interact with the SambaNova API using the AI Suite interface.
Setup your API key
Run the command to install the package
Make a request
Include an import statement for the aisuite
library in your file. To access the SambaNova API, prefix the model name with sambanova:
followed by the specific model identifier. For example: sambanova:Llama-4-Maverick-17B-128E-Instruct
. You can now make requests to any Supported model.
Example code
This is helpful because it allows you to compare speed and accuracy across different providers using the same codebase. For instance, you can include openai:gpt-4o
alongside other models in your list.
For more information, see the AI Suite README on Github.