Sluiceline

One-click switching

Before and after configuration for every supported platform.

Switching a platform changes exactly two values: the base URL and the credential. Request bodies, streaming and error envelopes stay as the provider defines them.

The rule

Replace the vendor's entire base URL with this gateway's prefix for that platform, and leave request paths exactly as the provider's documentation writes them.

Do not add or drop a version segment

OpenAI's base URL already contains /v1, so you call /chat/completions; adding /v1 yourself would reach /v1/v1/…. Claude's base URL has no version segment, so its path really does begin with /v1/messages.

OpenAI

Upstream base
https://api.openai.com/v1
Gateway base
https://sluiceline.com/openai
Credential
Authorization: Bearer <safe-key>

DeepSeek

Upstream base
https://api.deepseek.com
Gateway base
https://sluiceline.com/deepseek
Credential
Authorization: Bearer <safe-key>

Claude

Upstream base
https://api.anthropic.com
Gateway base
https://sluiceline.com/anthropic
Credential
x-api-key: <safe-key> · anthropic-version: 2023-06-01

fal.ai

Upstream base
https://fal.run
Gateway base
https://sluiceline.com/fal
Upstream base (/falqueue)
https://queue.fal.run
Gateway base
https://sluiceline.com/falqueue
Credential
Authorization: Key <safe-key>

ByteDance

Upstream base
https://ark.ap-southeast.bytepluses.com/api/v3
Gateway base
https://sluiceline.com/seedance
Credential
Authorization: Bearer <safe-key>

Per-platform notes

PlatformNotes
OpenAISet the SDK's base_url to the gateway. The SDK appends /chat/completions, /images/generations and the rest itself
DeepSeekOpenAI-compatible: keep the OpenAI SDK and change only base_url and the key
ClaudePoint the Anthropic SDK's base_url at the gateway. It sends x-api-key, and the gateway substitutes your real Claude key
fal.aiUses the Key scheme instead of Bearer. Synchronous calls use the /fal prefix; the asynchronous queue has its own prefix, /falqueue
ByteDance SeedanceSeedance on BytePlus ModelArk, the international Ark platform (ap-southeast-1). Create a task, then poll it; the paths are Ark's own

What stays the same

  • Your SDK, its retry logic and its error types.
  • Request and response bodies, byte for byte.
  • Streaming (SSE) framing, including data: [DONE] for OpenAI-compatible platforms.