Skip to main content
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.

Prerequisites

Before you begin, ensure you have:
  • A SambaCloud API key. Get one by creating a SambaCloud account and navigating to the API keys tab.
  • Python 3.9 or newer installed on your machine.
1

Setup your API key

2

Run the command to install the package

3

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.