[KongchangAI]
Concept大模型API

LLM API

A service model in which the capabilities of a cloud-based large language model are invoked through an API interface. Developers can integrate AI functionality without local deployment and pay according to request usage.

Core Facts

Timeline (last 90 days)

Oct 21

For LLM APIs, retryable errors include 429, 5xx and timeouts, while non-retryable errors include 400 parameter errors and 401 authentication failures.

Unverified50%
Oct 19

Free-tier LLM API limits are usually distributed across four levels: request quota, response size, model capability and usage tracking.

Unverified50%
Oct 19

Learning Agentic AI should start with directly using LLM APIs, mastering parameter controls such as temperature and max tokens, structured prompt engineering, and function calling mechanisms.

Unverified50%
Oct 19

When calling an LLM API, the marginal cost grows linearly with the number of requests, whereas the marginal cost per execution of locally compiled decision logic is close to zero, with the main cost shifting to one-time compilation and validation investment.

Unverified50%
Oct 18

Prompt caching charges only one-tenth the price for input tokens that have already been processed, making it one of the highest-leverage cost optimizations on modern LLM APIs.

Unverified50%
Oct 18

Calling LLM APIs in production requires adding retries and clear failure paths, for example exponential backoff retries for HTTP 429 status codes.

Unverified50%
Oct 18

The LLM API availability probe sends a 10-token prompt "reply OK" to the cheapest model and requires the response to arrive within 30 seconds, capturing overall API outages, expired keys, and slow degradation.

Unverified50%
Oct 18

The author's canary costs about $0.4 per month in LLM calls, with 720 runs, each processing just 10 tokens with one cheapest model.

Unverified50%
Oct 17

The UplinkSwitch aggregation platform extracted 66 chat models from 11 developers with official list prices from the real-time catalog of its own API gateway; all 66 models are below official list prices on both input and output sides, with the largest price difference reaching 95%.

Unverified50%
Oct 17

LLM APIs are priced separately for input and output tokens, and the per-token price does not change with the temperature and seed parameters.

Unverified50%

27 more timeline events

All Facts (20)

Verified

API billing typically distinguishes between input tokens and output tokens; in multi-turn conversations, the outputs from earlier turns become inputs in later turns and are billed again.

75%
Verified

The request-response cycle handled by a traditional API gateway usually completes within 50 to 200 milliseconds, whereas an LLM API often needs to keep the connection open for 30 to 120 seconds.

65%
Verified

LLM APIs are billed by token, with approximately 1–2 tokens per English word and approximately 1–2 tokens per Chinese character.

65%
Verified

Since 2023, API prices for mainstream LLMs have fallen by more than 90%

65%
Unverified

调用第三方LLM API的AI产品数据流向通常经历「用户设备→产品服务器→LLM服务商」三个节点,每个节点都存在独立的安全风险面

80%
Unverified

For LLM APIs, retryable errors include 429, 5xx and timeouts, while non-retryable errors include 400 parameter errors and 401 authentication failures.

50%
Unverified

Free-tier LLM API limits are usually distributed across four levels: request quota, response size, model capability and usage tracking.

50%
Unverified

Learning Agentic AI should start with directly using LLM APIs, mastering parameter controls such as temperature and max tokens, structured prompt engineering, and function calling mechanisms.

50%
Unverified

When calling an LLM API, the marginal cost grows linearly with the number of requests, whereas the marginal cost per execution of locally compiled decision logic is close to zero, with the main cost shifting to one-time compilation and validation investment.

50%
Unverified

Prompt caching charges only one-tenth the price for input tokens that have already been processed, making it one of the highest-leverage cost optimizations on modern LLM APIs.

50%
Unverified

Calling LLM APIs in production requires adding retries and clear failure paths, for example exponential backoff retries for HTTP 429 status codes.

50%
Unverified

The author's canary costs about $0.4 per month in LLM calls, with 720 runs, each processing just 10 tokens with one cheapest model.

50%
Unverified

The LLM API availability probe sends a 10-token prompt "reply OK" to the cheapest model and requires the response to arrive within 30 seconds, capturing overall API outages, expired keys, and slow degradation.

50%
Unverified

The UplinkSwitch aggregation platform extracted 66 chat models from 11 developers with official list prices from the real-time catalog of its own API gateway; all 66 models are below official list prices on both input and output sides, with the largest price difference reaching 95%.

50%
Unverified

LLM APIs are priced separately for input and output tokens, and the per-token price does not change with the temperature and seed parameters.

50%
Unverified

LLM APIs rate-limit on two independent dimensions, requests per minute and tokens per minute; even with monthly budget to spare, an endpoint can still return 429 during traffic peaks.

50%
Unverified

The correct way to track AI agent costs is: inject a correlation ID at the API gateway, propagate these IDs through the orchestration framework, and intercept all LLM API calls, emitting standard OpenTelemetry spans with token metadata.

50%
Unverified

Traditional cloud FinOps tools focus on infrastructure utilization (CPU/memory) and do not parse token metrics from API payloads, causing API-based AI consumption to become a blind spot.

50%
Unverified

In LLM repair loops, the recommended typical circuit breaker parameters are: 5 consecutive failures trigger the break, a 30-60 second cooldown, and rate-limited probing during the half-open phase.

50%
Unverified

Pressing all LLM traffic for critical business onto a single model API makes annual cumulative downtime reaching the hour level almost the norm rather than the exception.

50%

Source Articles