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 →
AI News2 min read

Gemini 4 Carbon Pricing: Separate Confirmed Facts from Rumors

Use only Google-confirmed Carbon facts; do not present unverified Hydrogen prices or dates as fact.

AI News2 min read

Shared ChatGPT and Codex Usage: How Developers Should Budget

Shared token usage means chat, coding and automation need application-level buckets and thresholds.

Insights2 min read

Stop Counting Only Tokens: Measure Cost per Completed Task

Task cost includes quality, retries, tools, latency and rework, not only token price.

AI News2 min read

Claude’s Preserved Thinking 400: Do Not Replay an Edited Thinking Block

Editing, reordering or truncating preserved-thinking history can invalidate signatures; repeating the request does not help.

Case Studies2 min read

Case Study: The Adapter Was Up, Yet the Gateway Hung for 60 Seconds

The real diagnosis was a missing ufw allowance for bridge-to-host traffic; a listener does not prove container reachability.

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.

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.