Add an administrator
Users can be granted elevated access by adding their email to the SambaStack configuration. To add a user as an administrator:- SambaStack on-prem
- SambaStack hosted
-
Add their email address under the
db-adminsection in thesambastack.yamlfile. For example:Only add email addresses of authorized admins to maintain security. Must be at the same YAML level asbundles(root-level key in sambastack.yaml). -
After updating the .yaml file, apply the following configuration:
Open a browser (Chrome is recommended) and navigate to the URL below or simply select the “Administration” tab on the left panel:

Service tiers
Service tiers define what models users can access, their usage limits, and permissions.Key concepts
Service tiers offer powerful controls to tailor user access, usage limits, and permissions:- Control access: Decide which models each user or group can use.
- Set usage limits: Define how many requests or tokens a user can make in a set period.
inherits attribute allows a tier to extend another base tier’s configuration. When inheriting, only specified fields in the overrides section are modified, enabling precise and maintainable customization.
Configuration fields
The following table outlines the key fields used to define service tiers, along with descriptions and example values for each.| Field | Description | Example |
|---|---|---|
qos | Quality of Service level assigned to requests from this tier. Usually matches the service tier name. | enterprise-group-1, customer-demo |
models | List of models accessible to users within the tier. A model must be included in at least one tier for users to access it. | [Llama-3.3-Swallow-70B-Instruct-v0.4] |
queueDepth | Maximum number of queries to queue before returning a busy response. | 100 |
rates | Defines rate limits (allowed requests and period in seconds). | { allowedRequests: 10, periodSeconds: 60 } |
inherits | Allows a tier to inherit settings from a base tier and override specific fields. | inherits: previously defined tier name, overrides: mentions which properties to override |
System-managed tiers
Some tiers are pre-configured and system-managed. Do not remove or disable these tiers — misconfiguring them can interrupt critical workflows.| Tier | Purpose | HTTP Response |
|---|---|---|
free / web | Default baseline access tiers | Standard |
deprecated | Models permanently removed | 410 (Gone) |
maintenance | Models temporarily unavailable | 503 |
restricted | Models with limited access | 403 |
sambastack.yaml, it reverts to SambaNova defaults.
Sample configuration
- SambaStack on-prem
- SambaStack hosted
Add a Apply changes:
serviceTiers section at the same YAML level as bundles (root-level key). See the setup example.The tier named <Tier1>/<Tier2>, for example in the screenshot below “Premium2” will appear as a Usage Plan on the Admin page and can be assigned to users.

Using inheritance
You can define base tiers and create derived tiers using inheritance for reuse and consistency. Base tier example:- SambaStack on-prem
- SambaStack hosted
After updating the configuration, apply the changes:
Best practices
When creating and managing service tiers, consider the following best practices to ensure stability, security, and flexibility: 1. Preserve system-managed and default tiers Some tiers are pre-configured and system-managed and should not be removed or disabled. These tiers provide baseline access and enforce model lifecycle and access controls. Removing or misconfiguring them can interrupt critical workflows. This includes:- free / web – Default baseline access tiers.
- deprecated – Models permanently removed (HTTP 410).
- maintenance – Models temporarily unavailable (HTTP 503).
- restricted – Models with limited access (HTTP 403).
free or web) to tailor access while preserving the underlying structure.
Complete example
- SambaStack on-prem
- SambaStack hosted
Example of System-managed, Required, and Custom Tiers in sambastack.yaml. Must be at the same YAML level as
bundles (root-level key in sambastack.yaml).Quality of Service (QoS)
Quality of Service (QoS) defines priority levels that determine how requests are processed across deployments when competing for resources. It ensures that higher-priority traffic receives precedence over lower-priority traffic, optimizing resource allocation during periods of contention.How QoS works
- Each service tier is assigned a
qoslabel. - Deployments define the priority order using
qosListin their specifications. - Requests are processed in priority order: the first QoS level in the list is served first.
web tier requests first, then free tier requests when no web traffic is queued.
Purpose of QoS
QoS prioritizes requests so that higher-tier traffic is served before lower-tier traffic, ensuring predictable and fair resource sharing.- Example: A deployment listing
qosList: ["free", "web"]serves free tier requests first, falling back to web tier requests only when no free traffic is queued.
QoS vs. service tiers
| Concept | Purpose | Defined In |
|---|---|---|
| Service Tier | Defines who can access what and how much (models, rate limits) | sambastack.yaml or Admin UI |
| QoS | Defines when requests are processed (priority order) | qosList in bundleDeploymentSpecs |
- Service tiers define who can access what and how much.
- QoS defines when requests are processed based on priority.
Important notes
- The
freetier is automatically assigned to all new users. - Deployments can support multiple QoS levels to handle different traffic types concurrently.
Request handling workflow
The following outlines the step-by-step processing of a user request, illustrating how service tiers and QoS priorities interact to manage and route traffic efficiently.- A user sends an API request using their credentials.
- SambaStack identifies the user’s assigned service tier (usage plan).
- The request is checked against that tier’s allowed models, batch size, rate limits, and associated QoS.
- The deployment selects requests to process according to its
qosListpriority. - If the request exceeds the user’s rate limit, it is rejected with a
429 Too Many Requestsresponse. - If the QoS queue for the request’s priority level is full, the system returns a busy response.
- Otherwise, the request is placed in the QoS queue awaiting processing.
