Get your API key.
To generate an API key, go to the API section of the SambaNova Cloud portal. Save the key securely, as it won’t be shown again.
You can generate and use up to 25 API keys. To monitor usage, visit the Cloud portal.
Pick a model.
The SambaNova Cloud is frequently updated with latest open source models, running at the fastest tokens per second. View the full list on the Supported models page. Select one from the list and refer to it using its corresponding model-ID.
OpenAI client library
To get started, select your preferred programming language. Then, open a terminal window and install the OpenAI library."<YOUR API KEY>" with your API Key value. Then run the file with the command below in a terminal window.
