Developer Quickstart
- 1
- 2
Add the key to your environment
Keep it out of your code and read it from the environment instead.
export SAMBANOVA_API_KEY="your-key-here"
- 3
Make your first request
The API is OpenAI-compatible: pick a language and paste.
ModelDeepSeek-V3.1TextBash1curl -H "Authorization: Bearer $API_KEY" \ 2 -H "Content-Type: application/json" \ 3 -d '{ 4 "stream": true, 5 "model": "DeepSeek-V3.1", 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/completionsPython1from 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="DeepSeek-V3.1", 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)Python1import gradio as gr 2 3gr.load("DeepSeek-V3.1", accept_token=True).launch() 4
Models Available Today
Experience the best open-source models. Learn more about each of them in our documentation.
DeepSeek Models
DeepSeek-V3.1
TextReasoning
DeepSeek-V3.2
TextReasoning
Meta Models
Meta-Llama-3.3-70B-Instruct
Text
MiniMax Models
MiniMax-M2.7
Text
Google Models
gemma-4-31B-it
TextVision
OpenAI Models
gpt-oss-120b
Text