Skip to content

feat: refresh earn calculator and landing page - #185

Merged
Gajesh2007 merged 1 commit into
masterfrom
feat/earn-console-landing
May 18, 2026
Merged

Gajesh2007 merged 1 commit into
masterfrom
feat/earn-console-landing

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented May 18, 2026 •

Copy link
Copy Markdown
Member

Summary

  • refresh the landing page copy, hero graphic, pricing language, and operator earnings section
  • move the landing earnings calculator into a standalone script synced with the console earn page model
  • expand the console earn calculator with multi-model selection, electricity inputs, and coverage for older/newer Mac configs

Tests

  • npm test -- earn-page
  • npx eslint src/app/earn/page.tsx tests/earn-page.test.tsx (warnings only)

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

@vercel

vercel Bot commented May 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
d-inference Ready Ready Preview May 18, 2026 11:17pm
d-inference-console-ui-dev Ready Ready Preview May 18, 2026 11:17pm
d-inference-landing Ready Ready Preview May 18, 2026 11:17pm

Request Review

@github-actions

github-actions Bot commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

Benchmark Results

Runner: macos-15 (M1 Virtual) | Date: 2026-05-18 23:19 UTC

1-provider-streaming

1 providers, 1 users, 30 requests, concurrency=5, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 1 0.5 GB
Metric Value
Total Requests 30
Success 4
Errors 26
Total Duration 3.853s
Throughput 1.0 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 4 1.747s 1.747s 1.747s 1.747s
parse 4 24µs 19µs 42µs 42µs
reserve 4 3ms 4ms 5ms 5ms
route 4 515µs 509µs 575µs 575µs
coordinator_to_provider 4 1.739s 1.74s 1.741s 1.741s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=23.75µs (threshold=1ms)
parse:p95<=5ms PASS p95=42µs (threshold=5ms)
reserve:mean<=50ms PASS mean=3.45725ms (threshold=50ms)
reserve:p95<=200ms PASS p95=4.925ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

1-provider-non-streaming

1 providers, 1 users, 20 requests, concurrency=5, streaming=false

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 1 0.5 GB
Metric Value
Total Requests 20
Success 4
Errors 16
Total Duration 2.314s
Throughput 1.7 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 4 2.311s 2.312s 2.314s 2.314s
parse 4 38µs 40µs 52µs 52µs
reserve 4 6ms 7ms 9ms 9ms
route 4 862µs 880µs 902µs 902µs
coordinator_to_provider 4 1.714s 1.715s 1.717s 1.717s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=37.5µs (threshold=1ms)
parse:p95<=5ms PASS p95=52µs (threshold=5ms)
reserve:mean<=50ms PASS mean=6.475ms (threshold=50ms)
reserve:p95<=200ms PASS p95=9.227ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

7-provider-multi-model

7 providers, 5 users, 50 requests, concurrency=10, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 4 0.5 GB
mlx-community/gemma-3-270m-4bit 3 0.2 GB
Metric Value
Total Requests 50
Success 50
Errors 0
Total Duration 9.42s
Throughput 5.3 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 50 542ms 3ms 3.299s 3.3s
parse 50 19µs 18µs 35µs 39µs
reserve 50 2ms 1ms 4ms 5ms
route 50 486µs 448µs 740µs 999µs
coordinator_to_provider 50 538ms 1ms 3.288s 3.29s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=19.22µs (threshold=1ms)
parse:p95<=5ms PASS p95=35µs (threshold=5ms)
reserve:mean<=50ms PASS mean=1.57288ms (threshold=50ms)
reserve:p95<=200ms PASS p95=3.69ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

3-provider-high-concurrency

3 providers, 10 users, 60 requests, concurrency=20, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 3 0.5 GB
Metric Value
Total Requests 60
Success 12
Errors 48
Total Duration 3.434s
Throughput 3.5 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 12 2.252s 2.243s 2.294s 2.294s
parse 12 28µs 14µs 152µs 152µs
reserve 12 2ms 2ms 3ms 3ms
route 12 1ms 1ms 1ms 1ms
coordinator_to_provider 12 2.244s 2.235s 2.286s 2.286s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=27.5µs (threshold=1ms)
parse:p95<=5ms PASS p95=152µs (threshold=5ms)
reserve:mean<=50ms PASS mean=2.25275ms (threshold=50ms)
reserve:p95<=200ms PASS p95=3.277ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

1-provider-queue-saturation

1 providers, 10 users, 40 requests, concurrency=15, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 1 0.5 GB
Metric Value
Total Requests 40
Success 4
Errors 36
Total Duration 3.486s
Throughput 1.1 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 4 2.209s 2.209s 2.209s 2.209s
parse 4 13µs 16µs 20µs 20µs
reserve 4 2ms 2ms 2ms 2ms
route 4 533µs 501µs 843µs 843µs
coordinator_to_provider 4 2.203s 2.203s 2.204s 2.204s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=13µs (threshold=1ms)
parse:p95<=5ms PASS p95=20µs (threshold=5ms)
reserve:mean<=50ms PASS mean=2.20225ms (threshold=50ms)
reserve:p95<=200ms PASS p95=2.37ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

3-provider-20-users

3 providers, 20 users, 60 requests, concurrency=10, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 3 0.5 GB
Metric Value
Total Requests 60
Success 60
Errors 0
Total Duration 5.184s
Throughput 11.6 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 60 368ms 6ms 2.199s 2.199s
parse 60 18µs 15µs 34µs 54µs
reserve 60 1ms 1ms 2ms 3ms
route 60 0s 0s 1ms 1ms
coordinator_to_provider 60 365ms 3ms 2.191s 2.194s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=17.7µs (threshold=1ms)
parse:p95<=5ms PASS p95=34µs (threshold=5ms)
reserve:mean<=50ms PASS mean=1.3006ms (threshold=50ms)
reserve:p95<=200ms PASS p95=2.473ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

1-provider-scaling

1 providers, 5 users, 30 requests, concurrency=10, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 1 0.5 GB
Metric Value
Total Requests 30
Success 4
Errors 26
Total Duration 3.356s
Throughput 1.2 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 4 2.281s 2.281s 2.281s 2.281s
parse 4 33µs 34µs 52µs 52µs
reserve 4 3ms 3ms 3ms 3ms
route 4 714µs 853µs 861µs 861µs
coordinator_to_provider 4 2.274s 2.274s 2.275s 2.275s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=33µs (threshold=1ms)
parse:p95<=5ms PASS p95=52µs (threshold=5ms)
reserve:mean<=50ms PASS mean=2.86475ms (threshold=50ms)
reserve:p95<=200ms PASS p95=3.3ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

3-provider-scaling

3 providers, 5 users, 30 requests, concurrency=10, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 3 0.5 GB
Metric Value
Total Requests 30
Success 30
Errors 0
Total Duration 4.057s
Throughput 7.4 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 30 720ms 7ms 2.169s 2.169s
parse 30 15µs 14µs 20µs 30µs
reserve 30 2ms 1ms 4ms 4ms
route 30 1ms 0s 1ms 1ms
coordinator_to_provider 30 716ms 4ms 2.161s 2.162s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=14.6µs (threshold=1ms)
parse:p95<=5ms PASS p95=20µs (threshold=5ms)
reserve:mean<=50ms PASS mean=1.6973ms (threshold=50ms)
reserve:p95<=200ms PASS p95=3.627ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

5-provider-scaling

5 providers, 5 users, 30 requests, concurrency=10, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 5 0.5 GB
Metric Value
Total Requests 30
Success 30
Errors 0
Total Duration 4.173s
Throughput 7.2 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 30 759ms 4ms 2.316s 2.316s
parse 30 20µs 16µs 50µs 80µs
reserve 30 2ms 1ms 4ms 4ms
route 30 454µs 428µs 779µs 788µs
coordinator_to_provider 30 755ms 1ms 2.309s 2.31s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=20.1µs (threshold=1ms)
parse:p95<=5ms PASS p95=50µs (threshold=5ms)
reserve:mean<=50ms PASS mean=1.7316ms (threshold=50ms)
reserve:p95<=200ms PASS p95=3.568ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

3-provider-heavy-100conc-10kb

3 providers, 20 users, 100 requests, concurrency=100, streaming=true

Model Providers RAM
mlx-community/Qwen3.5-0.8B-MLX-4bit 3 0.5 GB
Metric Value
Total Requests 100
Success 12
Errors 88
Total Duration 3.342s
Throughput 3.6 req/s

Latency Decomposition

Segment Count Mean P50 P95 Max
total_e2e 12 2.194s 2.193s 2.196s 2.196s
parse 12 175µs 104µs 840µs 840µs
reserve 12 8ms 8ms 9ms 9ms
route 12 17ms 20ms 20ms 20ms
coordinator_to_provider 12 2.16s 2.158s 2.172s 2.172s

Assertion Report: FAIL

Assertion Result Detail
parse:mean<=1ms PASS mean=175µs (threshold=1ms)
parse:p95<=5ms PASS p95=840µs (threshold=5ms)
reserve:mean<=50ms PASS mean=7.53325ms (threshold=50ms)
reserve:p95<=200ms PASS p95=9.108ms (threshold=200ms)
encrypt:present FAIL no data for segment encrypt
dispatch:present FAIL no data for segment dispatch

@Gajesh2007
Gajesh2007 merged commit ed6d655 into master May 18, 2026
20 checks passed
@Gajesh2007
Gajesh2007 deleted the feat/earn-console-landing branch May 18, 2026 23:24

This branch was successfully deployed

3 active deployments
Preview – d-inference-console-ui-dev — 57b19e76 Deployed May 18, 2026 by vercel[bot]
Preview – d-inference — 57b19e76 Deployed May 18, 2026 by vercel[bot]
Preview – d-inference-landing — 57b19e76 Deployed May 18, 2026 by vercel[bot]
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.

2 participants