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.
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
openai:gpt-4o alongside other models in your list.
For more information, see the AI Suite README on Github.