Kimi API 429 API omit Retry-After

Kimi Coding API 429 responses omit Retry-After

Summary

A bounded concurrency test against the Kimi Coding API produced HTTP 429 responses without a Retry-After header. The JSON error body also contains no retry delay or reset time, so clients cannot determine when it is safe to retry.

This appears to be a retry interoperability issue rather than an HTTP protocol violation: RFC 6585 says a 429 response MAY include Retry-After, not that it must. However, the Kimi API troubleshooting guide tells clients to “Wait as indicated by Retry-After” for engine_overloaded_error. I would like to clarify the intended behavior for rate_limit_reached_error as well.

Reproduction

  • Time: 2026-11-18, approximately 08:42:27 UTC
  • Endpoint: POST https://api.kimi.com/coding/v1/chat/completions
  • Model: k3.1-pro
  • Test: 35 simultaneous requests, each on a separate HTTPS connection
  • Result: 30 responses with HTTP 200 and 5 responses with HTTP 429
  • Observed error type: rate_limit_reached_error

Each request used a minimal prompt and bounded output:

{
  "model": "k3.1-pro",
  "reasoning_effort": "low",
  "max_completion_tokens": 1024,
  "temperature": 1,
  "messages": [
    {
      "role": "user",
      "content": "Reply with only OK."
    }
  ]
}

All five 429 responses were captured with their complete status lines, headers, and bodies. A case-insensitive check found no Retry-After header in any of them. There were also no X-RateLimit-*, reset-time, or backoff headers, and no retry timing information in the JSON bodies.

Example response

Credentials and cookies are not included; the request prompt contained no account or private information.

HTTP/1.1 429 Too Many Requests
Date: Wed, 18 Nov 2026 08:42:28 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 142
Connection: keep-alive
Server: cloudflare
X-Trace-Id: 7d2081943b3f952affbb62d59ae7a676
CF-RAY: a5c5ae95b8736d26-FRA
{
  "error": {
    "message": "We're receiving too many requests at the moment. Please wait a moment and try again.",
    "type": "rate_limit_reached_error"
  }
}

The other four 429 responses had the same JSON body and no Retry-After header. Their trace IDs were:

  • 194755ccfa1f739c3a74948c6114b190
  • 98784138b3d0486a34ec5a62152947e3
  • 28584c22a69c48112e334771a93fcf31
  • 9afb24ccf1a868bf63227bfc0f7d13ff

For clarity, Retry-After is a standard HTTP response header, defined in RFC 9110 §10.2.3. Its value is normally a delay in seconds, for example:

Retry-After: 30

An HTTP date is also valid. I checked the JSON separately; it contains only the error message and type shown above.

Impact

Without a retry delay or reset time, clients must guess when to retry. Retrying too soon can generate additional rate-limited requests and increase congestion; waiting arbitrarily long adds unnecessary latency. This is particularly problematic for coding agents that issue several requests concurrently and need a deterministic backoff policy.

Request

Could Moonshot please:

  1. Return Retry-After in delta-seconds on retryable 429 responses, including rate_limit_reached_error; or
  2. If its omission is intentional for this error type, document the expected retry interval/backoff policy and clarify which endpoints and error types do provide Retry-After?

It would also help to document whether clients should use a separate quota/reset endpoint to determine when retrying is appropriate.

Related discussion: forum topic 191, “Error code 429: We’re receiving too many requests at the moment.” That thread discusses rate-limit visibility more broadly; this report is specifically about the absence of Retry-After and retry timing information in captured 429 responses.

Thanks for the detailed report and trace IDs!

Since this hits https://api.kimi.com/coding , the missing Retry-After header is partly due to the gateway configuration for the Kimi Code plan. I’ve synced with the team, and they will try to get this updated soon.

As it goes, there’s only one happy path while failure paths come in all shapes and sizes—so it may take a bit of whack-a-mole or a clean fallback mechanism at the gateway layer to cover all 429 cases consistently.

Really appreciate the feedback!