1curl -H "Authorization: Bearer $API_KEY" \
2 -H "Content-Type: application/json" \
3 -d '{
4 "stream": true,
5 "model": "ALLaM-7B-Instruct-preview",
6 "messages": [
7 {
8 "role": "system",
9 "content": "You are a helpful assistant"
10 },
11 {
12 "role": "user",
13 "content": "Hello!"
14 }
15 ]
16 }' \
17 -X POST https://api.sambanova.ai/v1/chat/completions1from sambanova import SambaNova
2
3client = SambaNova(
4 api_key="<YOUR API KEY>",
5 base_url="https://api.sambanova.ai/v1",
6)
7
8response = client.chat.completions.create(
9 model="ALLaM-7B-Instruct-preview",
10 messages=[{"role":"system","content":"You are a helpful assistant"},{"role":"user","content":"Hello!"}],
11 temperature=0.1,
12 top_p=0.1
13)
14
15print(response.choices[0].message.content)1import gradio as gr
2
3gr.load("ALLaM-7B-Instruct-preview", accept_token=True).launch()
4Experience the best open-source models. Learn more about each of them in our documentation.
ALLaM-7B-Instruct-preview
DeepSeek-R1-0528
DeepSeek-R1-Distill-Llama-70B
DeepSeek-V3-0324
DeepSeek-V3.1
DeepSeek-V3.1-Terminus
E5-Mistral-7B-Instruct
Llama-3.3-Swallow-70B-Instruct-v0.4
Llama-4-Maverick-17B-128E-Instruct
Meta-Llama-3.1-8B-Instruct
Meta-Llama-3.3-70B-Instruct
Qwen3-235B
Qwen3-32B
Whisper-Large-v3
gpt-oss-120b