Prerequisites
Before starting, ensure you have:- A SambaCloud account and API key
- Access to OpenHands Cloud or a self-hosted OpenHands instance
Setup
Open LLM settings in OpenHands
Log in to OpenHands and navigate to Settings from the left-hand panel.Open the Language Model (LLM) section and click Advanced to reveal the custom model configuration fields.
Add SambaNova as a custom model
Enter your SambaNova model using the Verify the following settings:
sambanova/ prefix.Example:- Custom Model:
sambanova/<model-name> - Base URL:
https://api.sambanova.ai/v1 - API Key: Your SambaNova API key
(Optional) Configure an organization-wide default
If you are an OpenHands Cloud organization administrator, you can configure SambaNova as the default model for your team.Navigate to Settings → LLM Profiles and create a new profile using the same:
- Custom Model
- Base URL
- API Key
Start using SambaNova models
Create a new conversation in OpenHands and assign a software engineering task, such as:
- Find and fix the bug in my Python script
- Write unit tests for this function
- Refactor this code to use async/await

