Skip to content

Add live Railway cost estimation#71

Open
JaeLeex wants to merge 7 commits into
jl/mcp-pricing-credit-simulations-20260702from
jl/live-railway-cost-metering-20260702
Open

Add live Railway cost estimation#71
JaeLeex wants to merge 7 commits into
jl/mcp-pricing-credit-simulations-20260702from
jl/live-railway-cost-metering-20260702

Conversation

@JaeLeex

@JaeLeex JaeLeex commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Railway rate-card parsing and metrics-to-cost estimation to pricing_measure.py.
  • Emit optional runtime_cost rows to web-auth for live metering.
  • Add profile-level gross margin outputs using estimated Railway and inference COGS.

Test plan

  • python3 -m pytest tests/test_pricing_measure.py -q
  • Sample run with Railway metrics and rate-card env vars
  • ReadLints on edited agent-cli files

Made with Cursor

JaeLeex and others added 4 commits July 2, 2026 11:25
Railway metrics can now be converted with a rate card into estimated COGS, emitted as runtime-cost metering rows, and used for profile-level margin reporting.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@railway-app railway-app Bot temporarily deployed to nunchi-hosted-agent-template / production July 2, 2026 16:38 Inactive
Co-authored-by: Cursor <cursoragent@cursor.com>
@railway-app railway-app Bot temporarily deployed to nunchi-hosted-agent-template / production July 2, 2026 16:39 Inactive
@railway-app railway-app Bot temporarily deployed to agentic-mcp-gateway / production July 2, 2026 16:40 Inactive
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.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