SalpXXAPI News
Tags

#Claude

Integrating and tuning Anthropic's Claude models.

AI News5 min read

Claude Opus 4.5 is deprecated: gateways should migrate before January 22, 2027

Anthropic has published a firm retirement date. A real migration requires usage discovery, mapping updates, parameter regression tests, and a verified rollback path—not just a renamed model.

Beginner Q&A6 min read

Q&A: HTTP 200 but the answer stops halfway—check finish_reason and stop_reason first

A successful status code means the request was processed, not that the text ended naturally. Read the stop reason before continuing, running a tool, raising a limit, or retrying.

AI News4 min read

Claude Code 2.1.330: check login, retries, and MCP behavior before using a gateway

Anthropic's changelog says Claude Code 2.1.330 shipped on November 20 with enterprise sign-in, chart support, and restored max_tokens retries. Gateway users should validate the client and route together.

AI News4 min read

Anthropic Linked billing beta: put the payer into every Claude request

Anthropic's Linked billing beta lets a customer's Claude organization pay for application usage; proxy services need auditable ownership, limits and unlinking.

Case Studies2 min read

Case study: isolate one model after a regional 403, not the whole channel

A production investigation showed that model availability can differ inside one upstream channel. The reusable fix is per-model verification and isolation.

Integrations2 min read

Claude Code Through a Relay: Separate Environment Routing from History Integrity

Environment variables solve routing, not Anthropic protocol, tools, thinking or streaming compatibility.

AI News2 min read

Claude Fable 5.2: What API Users Should Actually Check

Verify API ID, platforms, context, price and thinking behavior, then replay anonymized tasks.

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.

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

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.

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.

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.

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.