SalpXXAPI News
Tags

#OpenAI SDK

Client configuration and common errors with the OpenAI SDK.

#OpenAI SDK

Archive →
Integrations5 min read

Reasoning effort is not portable across models: avoiding compatibility 400s at a gateway

GPT models do not accept the same reasoning settings. A gateway needs model-level capability data, deterministic request normalization, and error isolation that separates one model's bad parameter from a channel outage.

Integrations2 min read

Prevent API-Key Leaks: Code, Logs, Screenshots and Operations

Keys leak through clients, logs, proxies, monitoring and screenshots—not only Git; revoke immediately.

Beginner Q&A2 min read

How to Fill base_url and /v1 Without Getting the Path Wrong

Use the API root as base_url; do not duplicate /v1 or put a resource path in it.

Beginner Q&A2 min read

Your First API Request in Five Minutes

The first request should validate auth, path, model, response and usage before tools or long history.

Integrations3 min read

Streaming through a gateway: three SSE dialects and the one boundary you cannot retry

Streaming fixes perceived latency, but after the first token a retry means double billing. Here are the three upstream event formats, what a gateway must translate, and how to resume a broken stream.

Gateway Basics2 min read

What is an AI API relay? The full path of one request to Claude and GPT

A relay is not just a proxy. Auth, routing, rewriting, retries, billing and logging — six gates per request. Here is why changing one base_url line is enough to switch models.

Model Guides2 min read

Calling GPT models through a gateway: parameters, limits and the bill

The request shape does not change between direct access and a gateway. What changes is parameter strictness, how rate limits are layered, and how retries show up on the invoice.

One key for Claude, GPT and 50+ models

The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.