SambaNova products
SambaCloud
SambaNova’s cloud service for running inference on AI models through an API. See SambaCloud models.SambaRack
SambaNova’s rack-level system for AI inference, integrating RDUs, networking, and software in a single rack. For the hardware components of a SambaRack deployment, see the SambaStack glossary.SambaStack
SambaNova’s full-stack inference platform, combining SambaNova hardware and software, available for on-premises deployment or hosted by SambaNova.Using the SambaNova API
API key
A secret string that identifies and authenticates the account making an API request. It is sent with each request and should be kept private. In code samples, a placeholder such as<YOUR API KEY> marks where to substitute your own key. See API keys and URLs.
Endpoint path
The part of an API URL, after the base URL, that specifies which operation the request performs. With the base URLhttps://api.sambanova.ai/v1, the path /chat/completions calls the Chat Completions endpoint.
Model name
The full identifier of a model, such asMeta-Llama-3.3-70B-Instruct, which an API request must use to specify the model to call. Shortened names used in casual reference, such as “Llama 3.3 70B”, are not valid in requests. Use the complete names listed on the SambaCloud models and SambaStack supported models pages.
Preview model
A model intended for evaluation and developer experimentation only, and not for use in production environments. Preview models have limited capacity and may be removed at short notice.Prompt input
The messages sent to a model in an API request. Each message has a role:system sets the model’s behavior, user contains the request, and assistant holds the model’s earlier replies in a conversation. See Text generation.
Stop sequence
One or more strings that cause the model to stop generating further tokens when they are produced. It can be a single string or an array of strings.Model parameters
max_tokens
The maximum number of tokens the model can generate in a response.stream
A setting that determines whether the response is sent incrementally as tokens are generated, or all at once when generation is complete.stream_options
Settings for a streamed response. When usage reporting is enabled, an additional chunk is streamed before the finaldata: [DONE] message, containing token usage statistics for the entire request and an empty choices array. All other chunks include a usage field with a null value. The usage metrics include OpenAI metrics and additional metrics supported by SambaCloud.
temperature
A sampling parameter that controls how random the model’s output is. Lower values make output more focused and predictable; higher values make it more varied.top_p
A sampling parameter, also called nucleus sampling, that limits the choice of each next token to the smallest set of most likely tokens whose cumulative probability reaches thetop_p value.
top_k
A sampling parameter that limits the choice of each next token to thek most likely tokens. The default value is MAX_INT.

