cheaplane 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: cheaplane
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Offload grunt work from your subscription LLM to cheap models via MCP — auto-routing, a savings ledger, and billing isolation.
5
5
  Project-URL: Homepage, https://github.com/millennialdreamer/cheaplane
6
6
  Project-URL: Repository, https://github.com/millennialdreamer/cheaplane
@@ -66,7 +66,7 @@ interface User {
66
66
  }
67
67
  ```
68
68
 
69
- <sub>↑ a real call's output — not a mockup, and no model picked by hand. That token cost **~90× less** than your premium model, and your subscription quota never moved.</sub>
69
+ <sub>↑ a real call's output — not a mockup, and no model picked by hand. That token cost **over 15× less** than your premium model, and your subscription quota never moved.</sub>
70
70
 
71
71
  ## The problem
72
72
 
@@ -94,18 +94,18 @@ The popular 2026 move is to swap your *whole* agent onto a cheap model (DeepClau
94
94
 
95
95
  ## How cheap is "cheap"?
96
96
 
97
- The grunt work is the *easy* part — paying premium rates for it is pure waste. Per **million tokens** (public list prices, mid-2026):
97
+ The grunt work is the *easy* part — paying premium rates for it is pure waste. Per **million tokens** (public list prices, November 2026):
98
98
 
99
99
  | Model | Input | Output | Best for |
100
100
  |---|--:|--:|---|
101
- | Claude Opus *(API, for reference)* | $5.00 | **$25.00** | the judgment work you keep |
102
- | DeepSeek V4 Flash | $0.14 | **$0.28** | code / formatting |
103
- | Kimi K2 | $0.60–0.95 | $2.50–4.00 | long docs (very large context) |
101
+ | Claude Opus 5.5 *(API, for reference)* | $4.00 | **$20.00** | the judgment work you keep |
102
+ | DeepSeek V4 Flash | $0.30 *(off-peak $0.15)* | **$1.20** *(off-peak $0.60)* | code / formatting |
103
+ | Kimi K2.x | $0.60–0.95 | $2.50–4.00 | long docs (very large context) — K2 line is being retired; point the `kimi` alias at a newer Kimi model when it goes |
104
104
  | Qwen | $0.05–0.40 | $0.20–1.20 | Chinese copy |
105
105
 
106
- That's an output token costing **~$25 on Opus vs ~$0.28 on DeepSeek — about 90× more for work that doesn't need the smarts.** You're on a *subscription*, so you don't pay that $25 directly — your main thread spends *quota*, not dollars. That's the whole point: every routine task you offload is premium quota you keep for the hard problems. *(Summarizing a 40-page doc on DeepSeek Flash runs ~$0.005 — your quota never even notices.)*
106
+ That's an output token costing **~$20 on Opus vs ~$1.20 on DeepSeek — roughly 17× more at peak (≈33× off-peak) for work that doesn't need the smarts.** You're on a *subscription*, so you don't pay that $20 directly — your main thread spends *quota*, not dollars. That's the whole point: every routine task you offload is premium quota you keep for the hard problems. *(Summarizing a 40-page doc on DeepSeek Flash runs about a cent — your quota never even notices.)*
107
107
 
108
- <sub>Prices are public list rates, mid-2026, and vary by tier/caching — check each provider. The stable takeaway is the order-of-magnitude gap, not an exact dollar saving.</sub>
108
+ <sub>Prices are public list rates as of November 2026 and vary by tier, time of day and caching — check each provider. The stable takeaway is the order-of-magnitude gap, not an exact dollar saving.</sub>
109
109
 
110
110
  ## Billing isolation (the whole point)
111
111
 
@@ -156,7 +156,7 @@ You still want the proxy from step 1 below, and the [reminder hook](#make-your-a
156
156
  model_list:
157
157
  - model_name: deepseek
158
158
  litellm_params:
159
- model: deepseek/deepseek-chat # swap for any provider/model LiteLLM supports
159
+ model: deepseek/deepseek-v4-flash # swap for any provider/model LiteLLM supports
160
160
  api_key: os.environ/DEEPSEEK_API_KEY
161
161
  ```
162
162
 
@@ -260,9 +260,9 @@ Every delegated call appends one line of **metadata only — never the task cont
260
260
  Cheaplane savings — all time
261
261
  delegated calls : 184
262
262
  tokens offloaded: ~412,300 in / ~365,800 out
263
- premium cost avoided (Opus list): ~$11.21
264
- actually spent (DeepSeek-class) : ~$0.16 (≈70× cheaper, in+out blended)
265
- last 7 days : 31 calls, ~$2.04 avoided
263
+ premium cost avoided (Opus list): ~$8.97
264
+ actually spent (DeepSeek-class) : ~$0.56 (≈16× cheaper, in+out blended)
265
+ last 7 days : 31 calls, ~$1.63 avoided
266
266
  ```
267
267
 
268
268
  Numbers are estimates at public list prices — the real win is the premium **quota** that never left your subscription. The ledger records token counts and model names only; delete the file any time, or set `DELEGATE_NO_LOG=1` to turn logging off entirely.
@@ -39,7 +39,7 @@ interface User {
39
39
  }
40
40
  ```
41
41
 
42
- <sub>↑ a real call's output — not a mockup, and no model picked by hand. That token cost **~90× less** than your premium model, and your subscription quota never moved.</sub>
42
+ <sub>↑ a real call's output — not a mockup, and no model picked by hand. That token cost **over 15× less** than your premium model, and your subscription quota never moved.</sub>
43
43
 
44
44
  ## The problem
45
45
 
@@ -67,18 +67,18 @@ The popular 2026 move is to swap your *whole* agent onto a cheap model (DeepClau
67
67
 
68
68
  ## How cheap is "cheap"?
69
69
 
70
- The grunt work is the *easy* part — paying premium rates for it is pure waste. Per **million tokens** (public list prices, mid-2026):
70
+ The grunt work is the *easy* part — paying premium rates for it is pure waste. Per **million tokens** (public list prices, November 2026):
71
71
 
72
72
  | Model | Input | Output | Best for |
73
73
  |---|--:|--:|---|
74
- | Claude Opus *(API, for reference)* | $5.00 | **$25.00** | the judgment work you keep |
75
- | DeepSeek V4 Flash | $0.14 | **$0.28** | code / formatting |
76
- | Kimi K2 | $0.60–0.95 | $2.50–4.00 | long docs (very large context) |
74
+ | Claude Opus 5.5 *(API, for reference)* | $4.00 | **$20.00** | the judgment work you keep |
75
+ | DeepSeek V4 Flash | $0.30 *(off-peak $0.15)* | **$1.20** *(off-peak $0.60)* | code / formatting |
76
+ | Kimi K2.x | $0.60–0.95 | $2.50–4.00 | long docs (very large context) — K2 line is being retired; point the `kimi` alias at a newer Kimi model when it goes |
77
77
  | Qwen | $0.05–0.40 | $0.20–1.20 | Chinese copy |
78
78
 
79
- That's an output token costing **~$25 on Opus vs ~$0.28 on DeepSeek — about 90× more for work that doesn't need the smarts.** You're on a *subscription*, so you don't pay that $25 directly — your main thread spends *quota*, not dollars. That's the whole point: every routine task you offload is premium quota you keep for the hard problems. *(Summarizing a 40-page doc on DeepSeek Flash runs ~$0.005 — your quota never even notices.)*
79
+ That's an output token costing **~$20 on Opus vs ~$1.20 on DeepSeek — roughly 17× more at peak (≈33× off-peak) for work that doesn't need the smarts.** You're on a *subscription*, so you don't pay that $20 directly — your main thread spends *quota*, not dollars. That's the whole point: every routine task you offload is premium quota you keep for the hard problems. *(Summarizing a 40-page doc on DeepSeek Flash runs about a cent — your quota never even notices.)*
80
80
 
81
- <sub>Prices are public list rates, mid-2026, and vary by tier/caching — check each provider. The stable takeaway is the order-of-magnitude gap, not an exact dollar saving.</sub>
81
+ <sub>Prices are public list rates as of November 2026 and vary by tier, time of day and caching — check each provider. The stable takeaway is the order-of-magnitude gap, not an exact dollar saving.</sub>
82
82
 
83
83
  ## Billing isolation (the whole point)
84
84
 
@@ -129,7 +129,7 @@ You still want the proxy from step 1 below, and the [reminder hook](#make-your-a
129
129
  model_list:
130
130
  - model_name: deepseek
131
131
  litellm_params:
132
- model: deepseek/deepseek-chat # swap for any provider/model LiteLLM supports
132
+ model: deepseek/deepseek-v4-flash # swap for any provider/model LiteLLM supports
133
133
  api_key: os.environ/DEEPSEEK_API_KEY
134
134
  ```
135
135
 
@@ -233,9 +233,9 @@ Every delegated call appends one line of **metadata only — never the task cont
233
233
  Cheaplane savings — all time
234
234
  delegated calls : 184
235
235
  tokens offloaded: ~412,300 in / ~365,800 out
236
- premium cost avoided (Opus list): ~$11.21
237
- actually spent (DeepSeek-class) : ~$0.16 (≈70× cheaper, in+out blended)
238
- last 7 days : 31 calls, ~$2.04 avoided
236
+ premium cost avoided (Opus list): ~$8.97
237
+ actually spent (DeepSeek-class) : ~$0.56 (≈16× cheaper, in+out blended)
238
+ last 7 days : 31 calls, ~$1.63 avoided
239
239
  ```
240
240
 
241
241
  Numbers are estimates at public list prices — the real win is the premium **quota** that never left your subscription. The ledger records token counts and model names only; delete the file any time, or set `DELEGATE_NO_LOG=1` to turn logging off entirely.
@@ -5,7 +5,7 @@
5
5
  model_list:
6
6
  - model_name: deepseek
7
7
  litellm_params:
8
- model: deepseek/deepseek-chat # V4 Flash alias (deprecates 2026-07-24); or any provider/model LiteLLM supports
8
+ model: deepseek/deepseek-v4-flash # DeepSeek retired deepseek-chat on 2026-07-24; or any provider/model LiteLLM supports
9
9
  api_key: os.environ/DEEPSEEK_API_KEY
10
10
 
11
11
  # Add more cheap models the same way, then point Cheaplane's aliases at them via the
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cheaplane"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "Offload grunt work from your subscription LLM to cheap models via MCP — auto-routing, a savings ledger, and billing isolation."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -44,9 +44,9 @@ TIMEOUT = int(os.environ.get("DELEGATE_TIMEOUT", "120")) # per-call timeout (
44
44
  NO_LOG = os.environ.get("DELEGATE_NO_LOG") == "1"
45
45
  LOG_PATH = os.path.expanduser(os.environ.get("DELEGATE_LOG", "~/.cheaplane/usage.jsonl"))
46
46
 
47
- # Public list prices per 1M tokens (mid-2026) — used ONLY for the savings estimate.
48
- PREMIUM_IN, PREMIUM_OUT = 5.00, 25.00 # Claude Opus API, for reference
49
- CHEAP_IN, CHEAP_OUT = 0.14, 0.28 # DeepSeek-class
47
+ # Public list prices per 1M tokens (November 2026) — used ONLY for the savings estimate.
48
+ PREMIUM_IN, PREMIUM_OUT = 4.00, 20.00 # Claude Opus 5.5 API, for reference
49
+ CHEAP_IN, CHEAP_OUT = 0.30, 1.20 # DeepSeek V4 Flash, peak rate (conservative)
50
50
 
51
51
  # Friendly aliases -> the model_name your proxy exposes for each cheap model.
52
52
  # Defaults are the alias names themselves; remap without touching code via the
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes