SalpXXAPI News
Tags

#Beginners — Page 2

Entry-level questions and plain-language concepts.

#Beginners

Archive →
Beginner Q&A3 min read

Q&A: 429 Too Many Requests — who exactly is rate-limiting you

A 429 can come from upstream limits, gateway limits, or a spend cap. Read Retry-After and the rate-limit headers first to find the bottleneck, then decide: wait, slow down, or top up.

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.