Prerequisites
- A Salad API key — find it in the portal after you have been approved for beta access
Base URL
All requests go to:Authentication
Pass your Salad API key as a Bearer token in theAuthorization header:
Step 1: Test with curl
The quickest way to verify access is a single curl call:Step 2: Use the OpenAI Python SDK
Salad AI Gateway is fully compatible with the OpenAI Python SDK — just point it at a different base URL:Step 3: Streaming
For real-time output, enable streaming:Step 4: Use the OpenAI JavaScript/TypeScript SDK
Available Models
| Model | Context Window | Best For |
|---|---|---|
qwen3.6-35b-a3b | 262,144 tokens | Complex reasoning, agentic tasks, coding |
qwen3.6-27b | 262,144 tokens | Balanced capability and speed |
qwen3.5-9b | 262,144 tokens | Fast responses, simple tasks |
Next Steps
- Browse integration guides for agentic tools, IDEs, and frameworks
- Read the Models Reference to choose the right model for your use case