Skip to content

feat(pricing): default new nodes to $0.001 per job (v0.3.61) - #355

Merged
ralyodio merged 1 commit into
masterfrom
riotcoder/pricing-floor-001
Nov 12, 2026
Merged

ralyodio merged 1 commit into
masterfrom
riotcoder/pricing-floor-001

Conversation

@ralyodio

Copy link
Copy Markdown
Collaborator

Change

New nodes and partial configs now default to dynamic pricing with a $0.001 minimum per job. Explicit min_usd values, including zero, remain unchanged. The market/provider documentation describes the default, and the CLI workspace is bumped to v0.3.61.

Validation

  • cargo test -p c0mpute-core --lib — 633 passed.
  • cargo fmt --all -- --check remains advisory and reports the repository's existing formatting backlog across untouched files.

@ralyodio
ralyodio merged commit 38bb7a4 into master Nov 12, 2026
8 of 9 checks passed
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

16 finding(s)

HIGH/CRITICAL: 1 | MEDIUM: 11 | LOW: 4

Severity Rule Location
HIGH js-ssrf-outbound-request apps/web/public/sw.js:24
MEDIUM js-unescaped-html-sink apps/web/src/app/blog/[slug]/page.tsx:53
MEDIUM js-unescaped-html-sink apps/web/src/app/layout.tsx:109
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:116
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:117
MEDIUM sql-template-interpolation apps/web/src/lib/chat/push.ts:476
MEDIUM sh-remote-script-execution scripts/dev-setup.sh:25
MEDIUM sh-eval-expansion scripts/dev-setup.sh:35
MEDIUM sh-remote-script-execution scripts/install.sh:185
MEDIUM sh-remote-script-execution scripts/install.sh:210
MEDIUM sh-remote-script-execution scripts/install.sh:408
MEDIUM sh-remote-script-execution scripts/install.sh:450
LOW py-ssrf-outbound-request examples/business-strategist-agent/chat.py:37
LOW py-ssrf-outbound-request examples/business-strategist-agent/train.py:54
LOW secret-generic-credential node/crates/c0mpute-core/src/webhook.rs:1171
LOW py-path-traversal node/crates/c0mpute-core/tests/fixtures/fake-infernet-text:29

Snippets are redacted; ThreatCrush never prints matched credential material.

sh1pt-actions-fleet Bot pushed a commit that referenced this pull request Nov 12, 2026
#355 made PricingConfig::default() carry a $0.001 minimum; the e2e workers
built with it stopped bidding on the buyers' zero caps (inference_e2e:
'no bids received within 2s'). Same fix shape as #357 for container_run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ralyodio added a commit that referenced this pull request Nov 12, 2026
* feat(chat): model router behind model "auto" (DIP 0035)

`model: "auto"` (or absent, or auto:fast|standard|high|max) now routes each
request: classify the task, score every live model for it (size/family
priors, house specialists, learned per-category quality, price, speed,
health), pick single / cascade / critique / fuse by expected quality, cost
and latency for the effort, run it with deterministic checks, escalation,
fallbacks and hedged requests, learn from the outcome, and return a receipt.

- lib/router: framework-free classify, registry, stats, planner, verify,
  engine; 20 tests
- lib/chat/routed.ts: Infernet calls billed per user, live pool + price
  cache, router_stats in SQLite Cloud, JSON/SSE responses, streamed
  pass-through that still learns; 6 tests
- /v1/chat/completions and resumable runs route; any router error falls
  back to the direct path; C0MPUTE_ROUTER=off disables
- POST /api/v1/route explains a plan for free; /v1/models lists auto entries;
  /chat picker offers auto:fast/high/max

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(container): set an explicit job price cap

* test(e2e): test workers keep a zero price floor after #355

#355 made PricingConfig::default() carry a $0.001 minimum; the e2e workers
built with it stopped bidding on the buyers' zero caps (inference_e2e:
'no bids received within 2s'). Same fix shape as #357 for container_run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant