Nexus

SambaNova

Use SambaNova's custom RDU silicon for AI inference with Nexus.

SambaNova provides AI inference on custom RDU (Reconfigurable Dataflow Unit) silicon. Uses an OpenAI-compatible API.

Installation

import "github.com/xraph/nexus/providers/sambanova"

Quick Start

provider := sambanova.New(os.Getenv("SAMBANOVA_API_KEY"))

gw := nexus.New(
    nexus.WithProvider(provider),
)

Options

OptionDescription
sambanova.WithBaseURL(url)Override the API base URL (default: https://api.sambanova.ai/v1)

Capabilities

CapabilitySupported
ChatYes
StreamingYes
EmbeddingsNo
VisionNo
ToolsNo
ThinkingNo

Models

ModelContextMax OutputInput PriceOutput Price
Meta-Llama-3.1-8B-Instruct4,0964,096$0.10/M$0.10/M
Meta-Llama-3.1-405B-Instruct4,0964,096$5.00/M$10.00/M

On this page