Repository navigation
feat(k8s): serve deepseek-v4.1-flash-1017 via OpenRouter - #3145
Merged
dan-petty merged 4 commits intoNov 2, 2026
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 2, 2026 02:17
dan-petty
deleted the
feat/3144-serve-deepseek-v4-1-flash-1017-through-openrouter
branch
November 2, 2026 02:17
dan-petty
pushed a commit
that referenced
this pull request
Nov 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.40.0](v0.39.1...v0.40.0) (2026-11-02) ### Features * **k8s:** serve deepseek-v4.1-flash-1017 via OpenRouter ([#3145](#3145)) ([d5dc921](d5dc921)), closes [#3144](#3144) ### Bug Fixes * **cli:** stop with one error line in a removed working directory ([#3133](#3133)) ([c4a4dbb](c4a4dbb)) ### Code Refactoring * **cli:** remove the _prepare_cmd alias and ban noqa F401 in src ([#3110](#3110)) ([e40dbac](e40dbac)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
The LiteLLM gateway serves
deepseek-v4.1-flash-1017(openrouter/deepseek/deepseek-v4.1-flash-1017) as a direct model, with the OpenRouter key.k8s/llm/gateway/config.yamlwith its window (1048576) and the prices of the cheapest fp8 provider, because the cost map of the pinned LiteLLM image lacks the-1017snapshot. No pool or fallback names it.openrouter.api_key(keyring) goes to the optional keyopenrouter-api-keyofllm/llm-gateway-secretsthroughdevops k8s push-secrets. The Deployment reads it asOPENROUTER_API_KEY; the gateway starts without it.:floor(cheapest provider) and the request asks for fp8 weights, as in the owner's OpenRouter link: today that is the provider at 0.05 USD input and 0.192 USD output per million tokens.provider.data_collection: denytoo. OpenRouter's API does not say which provider stores prompts, so this filter can skip the cheapest provider and raise the price. The README says so. A caller sets the reasoning effort.openrouter.ai.k8s/README.md,SECURITY.mdrule 12, the secret table, and the hosted-group check with the new provider.Why
The owner has an OpenRouter key and wants this model for evaluation and as a cheaper hosted model (#3144).
Verification
Routerbuilt from the group sendsPOST https://openrouter.ai/api/v1/chat/completionswithmodel: deepseek/deepseek-v4.1-flash-1017:floor, theresponse_formatschema, andprovider: {quantizations: [fp8], data_collection: deny}.devops k8s push-secrets --only llm/llm-gateway-secrets, and call the group once with thecurlcommand ink8s/README.md.Closes #3144