Skip to main content
Last Updated: May 18, 2026
Salad AI Gateway is currently in closed beta. To request access, sign up at salad.com/ai-gateway.

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 the Authorization header:

Step 1: Test with curl

The quickest way to verify access is a single curl call:
You should receive a JSON response containing the model’s reply.

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:
Store your key in an environment variable rather than hardcoding it:

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