SalpXXAPI News
Tags

#Pitfalls

Traps in choosing, topping up and billing.

#Pitfalls

Archive →
Pitfalls & Selection4 min read

Which API errors are safe to retry: one list, one formula, three exceptions

Rate-limit 429s, 5xx errors and timeouts can be retried automatically; quota-type 429s and 4xx request errors cannot. Honor Retry-After before any backoff formula, and think about double billing before retrying a timeout.

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.

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.