From 69ecca0c7b685a94dd308686c4a9d48e12d2053f Mon Sep 17 00:00:00 2001 From: Daniel JB Clark Date: Sat, 3 Oct 2026 06:56:10 -0400 Subject: [PATCH] feat(clinepass): register the model in the price/context catalogue `model_prices_and_context_window.json` had no ClinePass entry, so provider-specific model info could not resolve: a DeepSeek row declares `"litellm_provider": "deepseek"`, which `_check_provider_match` rejects when the requested provider is `clinepass`. Prices and limits are deliberately omitted rather than guessed. ClinePass is a flat-rate monthly subscription, so inventing per-token rates would report an invented allocation as provider spend; `null` prices are not schema-valid, and the schema requires only `litellm_provider`. Omitting them follows the existing subscription precedent -- several `github_copilot/*` entries carry metadata with no price fields. Context and output limits are left unset because nothing in this repo establishes them, and DeepSeek's limits are not evidence for ClinePass's. Co-Authored-By: Claude Opus 5 --- model_prices_and_context_window.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 3d2acf4e9d9..4bfb6e3d5fe 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -15612,6 +15612,10 @@ "prompt_cache_min_tokens": 1024, "source": "https://platform.claude.com/docs/en/about-claude/pricing" }, + "clinepass/deepseek-v4-flash": { + "litellm_provider": "clinepass", + "mode": "chat" + }, "cloudflare/clef": { "input_cost_per_token": 2.4e-07, "litellm_provider": "cloudflare",