Switch GreenPT to DeepSeek 4.1 Flash 1017

The base version is no longer recommended. Also update pricing
accordingly. tinfoil still only has the base version.
This commit is contained in:
Sebastian Dröge committed 2026-11-16 12:57:56 +02:00
1 parent 437761171c
commit 2548751d69
1 file changed
+20 -17
+20 -17
View File
@@ -6,7 +6,7 @@
# via environment variable TINFOIL_API_KEY.
#
# Pricing (model_info) is per-token, derived from provider per-1M rates:
# greenpt/deepseek-v4.1-flash: $0.22 in / $1.10 out / $0.011 cached per 1M
# greenpt/deepseek-v4.1-flash-1017: $0.36 in / $1.45 out / $0.04 cached per 1M
# tinfoil/deepseek-v4-1-flash: $0.65 in / $1.45 out / $0.13 cached per 1M
# tinfoil/gpt-oss-120b: $0.15 in / $0.60 out per 1M
# tinfoil/glm-5.3: $1.80 in / $5.75 out / $0.45 cached per 1M
@@ -26,22 +26,25 @@
# models.md is the member-facing mirror.
model_list:
# DeepSeek V4.1 Flash on GreenPT — DEFAULT model. Same model family as Tinfoil's
# deepseek-v4-1-flash, but on renewable energy and NOT marked Experimental by the
# provider (Tinfoil's deepseek + glm-flash carry an "Experimental: may be deprecated
# with minimal notice" flag). Policy-based privacy (GreenPT) vs TEE (Tinfoil).
# €0.22 in / €1.10 out / €0.011 cached per 1M.
- model_name: greenpt/deepseek-v4.1-flash
# DeepSeek V4.1 Flash 1017 on GreenPT — DEFAULT model. The 17 Oct 2026 snapshot
# of V4.1 Flash; members pinning a name should use the deepseek-flash-green
# alias. Same model family as Tinfoil's deepseek-v4-1-flash, but on renewable
# energy and NOT marked Experimental by the provider (Tinfoil's deepseek +
# glm-flash carry an "Experimental: may be deprecated with minimal notice"
# flag). Policy-based privacy (GreenPT) vs TEE (Tinfoil).
# €0.36 in / €1.45 out / €0.04 cached per 1M.
- model_name: greenpt/deepseek-v4.1-flash-1017
litellm_params:
model: openai/deepseek-v4.1-flash
model: openai/deepseek-v4.1-flash-1017
api_base: https://api.greenpt.ai/v1
api_key: os.environ/GREENPT_API_KEY
model_info:
input_cost_per_token: 0.00000022
output_cost_per_token: 0.00000110
cache_read_input_token_cost: 0.000000011
input_cost_per_token: 0.00000036
output_cost_per_token: 0.00000145
cache_read_input_token_cost: 0.00000004
# DeepSeek V4.1 Flash on Tinfoil (TEE) — private counterpart to the default.
# DeepSeek V4.1 Flash (base release) on Tinfoil (TEE) — private counterpart to
# the default.
- model_name: tinfoil/deepseek-v4-1-flash
litellm_params:
model: openai/deepseek-v4-1-flash
@@ -342,13 +345,13 @@ model_list:
# them at transitions, so pinning one is what makes a config version-free.
- model_name: deepseek-flash-green
litellm_params:
model: openai/deepseek-v4.1-flash
model: openai/deepseek-v4.1-flash-1017
api_base: https://api.greenpt.ai/v1
api_key: os.environ/GREENPT_API_KEY
model_info:
input_cost_per_token: 0.00000022
output_cost_per_token: 0.00000110
cache_read_input_token_cost: 0.000000011
input_cost_per_token: 0.00000036
output_cost_per_token: 0.00000145
cache_read_input_token_cost: 0.00000004
- model_name: deepseek-flash-tee
litellm_params:
@@ -387,7 +390,7 @@ router_settings:
retry_policy:
TimeoutErrorRetries: 0
fallbacks:
- greenpt/deepseek-v4.1-flash:
- greenpt/deepseek-v4.1-flash-1017:
- tinfoil/deepseek-v4-1-flash
- tinfoil/deepseek-v4-1-flash:
- tinfoil/gpt-oss-120b