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
See the Models Reference for full details.
Next Steps
- Browse integration guides for agentic tools, IDEs, and frameworks
- Read the Models Reference to choose the right model for your use case