Skip to content

fix(k8s): Route DeepSeek 1017 without the floor variant #5978

Description

@dan-petty

Problem

Since about 10:00Z on 2026-11-16, the gateway group deepseek-v4.1-flash-1017 gives no first token for minutes. The group calls openrouter/deepseek/deepseek-v4.1-flash-1017:floor. The OpenRouter documentation says that :floor sorts the providers by price and "makes flex service-tier endpoints eligible". The cheapest endpoint of the model is now particle-ai/us/flex (0.03 USD input, 0.25 USD output per million tokens). A flex endpoint queues requests when it has a high load.

Evidence:

  • The median time to the first token of the group (LiteLLM litellm_llm_api_time_to_first_token_metric) was about 2 s until 10:00Z. It was 22 s from 10:00Z to 11:00Z and 150 s from 11:00Z to 12:00Z. From 13:00Z to 14:00Z, no stream gave a first token.
  • One probe at 14:10Z through the gateway: deepseek-v4.1-flash-1017 gave no token in 302.9 s, then an empty stream. openrouter/deepseek/deepseek-v4.1-flash (no :floor) answered in 2.0 s.
  • Each OpenRouter timeout comes in the stream as code 408. LiteLLM 1.103.11 raises it with no fallback (fix(ai): one retry layer for a gateway call #5965), so the fallback group deepseek-v4.1-flash does not help.
  • From 12:40Z to 13:41Z, every roadmap job result was class=provider infra=true: stage 0/6, implement 0/3, refine 0/5, alternatives 0/10.

Owner, 2026-11-16: "remove ':floor' suffix for now since we want remove as many causes of service job failure as possible right now".

Expected behavior

  • The group deepseek-v4.1-flash-1017 calls openrouter/deepseek/deepseek-v4.1-flash-1017 with no :floor. OpenRouter then uses its default routing (price-weighted, no flex endpoints), with the same filters: quantizations: [fp8] and data_collection: deny.
  • The model group alias and the hosted-model list name no :floor route.
  • The built-in price of the group stays the same until OpenRouter reports the cost of the new route. A follow-up compares the reported cost after one day and sets the price.
  • The median time to the first token of the group goes back to less than 10 s, and the provider failures of the roadmap jobs stop.

Related

Activity

  1. added
    type/bug
    scope/k8s
    source/agent
    status/new
    on Nov 16, 2026
  2. dan-petty commented on Nov 16, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P0-Critical. The :floor route causes every roadmap job to fail with provider errors.
    • Related: fix(k8s): the DeepSeek gateway group gets a fallback group #5564, which asks for a different change. Both target reliability of the deepseek-v4.1-flash-1017 group, but #5564 adds a fallback group while this removes the :floor routing variant.
  3. added
    effort/low
    value/high
    priority/p0-critical
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 16, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 16, 2026
  5. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 15:31 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p0-criticalscope/k8ssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions