SalpXXAPI News
API News · 80 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 →
Case Studies2 min read

Case Study: One Failing Model Should Not Disable an Entire Channel

When one model fails, state should be persisted at channel-plus-model scope, not disable healthy models.

Case Studies2 min read

Case Study: Per-Job Models Cannot Use a Token Ratio by Default

A task model without a fixed price may fall back to token pre-authorization; mixing USD and CNY also corrupts reports.

Beginner Q&A2 min read

Do Not Retry Yet: A Beginner’s Order for Reading API Errors

Classify 400, 401, 403, 404, 413, 429 and 5xx before fixing, slowing down, funding or waiting.

Beginner Q&A2 min read

What Is a Token? A Beginner’s Guide to Input, Output and Cost

A token is not a character count; English approximations do not transfer mechanically to Chinese, and history/tools consume budget.

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.

Beginner Q&A2 min read

Context Windows and max_tokens: Why a Short Answer Can Still Overflow

The window includes input, history, tools and output; max_tokens is an output budget, not extra space.

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.

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.