SalpXXAPI News
API News · 49 posts

API News — gateway notes for AI models

SalpX API News covers AI model gateways, Claude and GPT integration practice, and developer tooling such as WorkBuddy.

Latest posts

Archive →
Pitfalls & Selection2 min read

Verify the Model Before You Integrate a Relay

An accepted model name does not prove that the request reached the intended model.

Pitfalls & Selection2 min read

Five Relay Billing Assumptions That Commonly Break

The danger is a mismatch between units, pre-authorization and retries.

Pitfalls & Selection2 min read

Run This Checklist Before Topping Up a Relay

Before topping up, verify credit units, refunds, keys, records and incident handling.

Pitfalls & Selection2 min read

When a Relay Is Unusually Cheap, Check These Seven Risks

An unusual price must be decomposed into model, I/O, limits, data and refund checks.

Pitfalls & Selection2 min read

Direct API, Cloud Platform or Relay: Do Not Choose by Unit Price Alone

The difference is ownership, compatibility, observability and operations.

Model Guides3 min read

Caching is not a discount: the real cost structure of Claude and GPT prompt caching

Caching splits a prompt prefix into three prices — normal input, cache write, cache read. You only start saving on the second reuse, and one channel switch on a gateway can reset your hit rate to zero.

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.

Changelog2 min read

Displayed 60%, actually 75%: fixing success rate by merging on request_id

One client call failed upstream, was retried, and succeeded — yet statistics counted it as one success and one failure. After the fix, site-wide failures dropped from 205 log rows to 145 requests.

Integrations2 min read

Hooking Claude into a gateway: two paths and three traps

Claude's native protocol differs from OpenAI's, but a gateway gives you two doors — the native messages endpoint or the OpenAI-compatible chat/completions. Here is the setup for each, plus the three places people break.

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.

Integrations2 min read

WorkBuddy behind a gateway: four fields and the errors they cause

WorkBuddy supports custom models. Four fields — base URL, API key, model ID, protocol — connect Claude and GPT through your gateway. Here is what each field wants and how the resulting errors read.

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.