/v1/responses) and Chat Completions (/v1/chat/completions) APIs, so switching from OpenAI — or any OpenAI-compatible provider — is just a base URL, API key, and model name change.
1. Get your API key
Sign up at the Sail dashboard and create an API key. Export it where your agent and app can read it:2. See what changes
Already calling the OpenAI Responses API? Then it’s three lines — base URL, key, and a model from the catalog. The request and response are identical:Sail Responses API
3. Let your coding agent do it
Across a real codebase the same change touches every call site, env var, and doc reference so let your coding agent run the migration. Open your project and give it this prompt:Notes
- Synchronous by default.
responses.createblocks and returns the completed response, exactly like OpenAI. Sail is throughput-optimized, so requests can run longer than a typical low-latency API — for very long jobs you can optionally passbackground=Trueto get an ID back immediately and poll, avoiding HTTP timeouts. See the Quickstart. - Pick a completion window to trade off cost against turnaround. The default
standardwindow suits most workloads; reach forprioritywhen latency matters orflexfor cheap background batches. See Completion windows.
Next steps
Quickstart
Make your first request against Sail.
Models
Browse supported models and pick a replacement.
Pricing
Per-token rates by model and completion window.
Support
Email us if you hit anything unexpected.