Skip to main content
SambaNova offers 10 models through Lava’s AI Gateway, supporting Chat Completions. Authentication uses Authorization: Bearer. See the SambaNova API docs for provider-specific parameters.
Supports both managed API keys (from Lava) and BYOK mode.

Quick Start

const response = await fetch('https://api.lavapayments.com/v1/forward?u=https%3A%2F%2Fapi.sambanova.ai%2Fv1%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'gpt-oss-120b',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});

Chat Completions

Target URL: https://api.sambanova.ai/v1/chat/completions
Content Typeapplication/json
StreamingYes (set stream: true in request body)
ModelInput / 1M tokensOutput / 1M tokens
DeepSeek-R1-0528$5.00$7.00
DeepSeek-V3.1$3.00$4.50
DeepSeek-V3.2$3.00$4.50
DeepSeek-V3-0324$3.00$4.50
Llama-4-Maverick-17B-128E-Instruct$0.63$1.80
Meta-Llama-3.3-70B-Instruct$0.60$1.20
Qwen3-235B$0.40$0.80
MiniMax-M2.5$0.30$1.20
gpt-oss-120b$0.22$0.59
Meta-Llama-3.1-8B-Instruct$0.10$0.20

Next Steps