Coder Billing & Usage

Understand how Coder billing works and track your usage.

Coder Pricing Model

Coder charges based on compute hours:

Cost per Hour

Small workspace: $2.50/hour
- 2 CPU
- 4 GB RAM

Medium workspace: $5.00/hour
- 4 CPU
- 8 GB RAM

Large workspace: $10.00/hour
- 8 CPU
- 16 GB RAM

Only charged while running, not while stopped!

How Billing Works

Charging Starts

Timeline:
14:00 - Click Start
14:01 - Workspace Running
14:01 - CHARGING BEGINS ($0.08/minute for $5/hour workspace)

Cost accumulates:
14:02 - $0.17 so far
14:10 - $0.67 so far
14:30 - $2.50 so far (30 minutes)
15:00 - $5.00 so far (1 hour)

Charging Stops

15:00 - Click Stop
15:01 - Workspace Stopped
15:01 - CHARGING STOPS

Total charged: $5.00 for 1 hour

Not Charged When

✓ Workspace is Stopped (even if for days)
✓ Workspace is Deleted
✓ Workspace being Created (setup time free)
✓ Workspace being Stopped

You only pay:
- While workspace is in Running state
- You control this!

Monthly Usage Tracking

Dashboard View

Coder Usage This Month:
Total hours running: 120 hours
Smallest workspace: 8 hours @ $2.50 = $20
Medium workspace: 80 hours @ $5.00 = $400
Large workspace: 32 hours @ $10.00 = $320

Total cost: $740

Estimated next month: ~$750
(if similar usage pattern)

Usage by Workspace

Workspace Usage:

backend-api (Medium):
- Hours: 80
- Cost: $400
- Usage this week: 16 hours

frontend-app (Small):
- Hours: 8
- Cost: $20
- Usage this week: 0 hours

data-analysis (Large):
- Hours: 32
- Cost: $320
- Usage this week: 8 hours

Detailed Hours Log

Click workspace to see timeline:

2024-06-12:
  14:00 - 14:45: Running (0.75 hours) = $3.75
  15:00 - 17:30: Running (2.5 hours) = $12.50
  Day total: 3.25 hours = $16.25

2024-06-11:
  09:00 - 12:00: Running (3 hours) = $15.00
  13:00 - 18:00: Running (5 hours) = $25.00
  Day total: 8 hours = $40.00

Weekly total: 50 hours = $250.00

Viewing Invoice

Monthly Invoice

Invoice shows:

Invoice Date: 2024-06-01
Invoice Number: INV-001234
Period: June 2024

Coder Usage:
- 120 compute hours @ $5.00/hour = $600.00
(breakdown by workspace size attached)

Platform Fee (Starter plan): $29.00

Total Due: $629.00
Due Date: 2024-06-15

Download Invoice

  1. Click Billing & Plans
  2. Click Invoices
  3. Find Coder invoice
  4. Click Download
  5. Get PDF for records

Cost Optimization

Right-size Your Workspace

Task: Running small tests
Workspace: Small ($2.50/hour) ✓ GOOD
Workspace: Large ($10.00/hour) ✗ WASTE

Task: ML training
Workspace: Small ($2.50/hour) ✗ TOO SLOW
Workspace: Large ($10.00/hour) ✓ GOOD

Stop When Not Using

Developer works 8 hours/day

Scenario 1: Never stops
- 8 hours actual work
- 16 hours idle/stopped
- 24 hours × $5 = $120/day

Scenario 2: Auto-stop after 30 min
- 8 hours actual work (running)
- Small gaps: ~15 min/day overhead
- ~8.25 hours running
- 8.25 hours × $5 = $41.25/day (66% savings!)

Monthly: $120 × 20 days = $2,400
vs $41.25 × 20 days = $825
SAVES: $1,575/month!

Share Workspaces

Option 1: Two developers, separate workspaces
- Dev 1: 8 hours @ $5/hour = $40
- Dev 2: 8 hours @ $5/hour = $40
- Total: $80

Option 2: Pair program in shared workspace
- Both in 1 workspace: 8 hours @ $5/hour = $40
- Total: $40
- Saves: $40 (50% savings!)

Usage Alerts

Set Spending Limit

  1. Click Settings
  2. Click Coder Billing
  3. Set monthly budget:
    • Example: $500/month
  4. Choose alert level:
    • Warn at 75%: $375 spent
    • Warn at 90%: $450 spent

Alerts Trigger When

You get email when:
- Monthly cost reaches 75% of limit
- Monthly cost reaches 90% of limit
- Monthly limit exceeded

Example with $500 limit:
- $375 spent: "You're at 75% of budget"
- $450 spent: "You're at 90% of budget"
- $500 spent: "Budget exceeded"

Auto-limit Feature

Set hard limit (optional):

Hard limit: $500/month
If cost would exceed: New workspaces can't start
Existing ones keep running until limit hit

Prevents surprise overages

Team Cost Tracking

By Person

Manager sees:

Coder Usage by Developer:

alice@company.com:
- Hours: 40
- Cost: $200

bob@company.com:
- Hours: 60
- Cost: $300

carol@company.com:
- Hours: 20
- Cost: $100

Total team: 120 hours = $600

By Project

If workspaces tagged:

Coder Usage by Project:

Project: Website Redesign
- Hours: 50
- Cost: $250
- Team: 3 developers

Project: API Refactor
- Hours: 40
- Cost: $200
- Team: 2 developers

Project: Bug Fixes
- Hours: 30
- Cost: $150
- Team: 4 developers

Billing Integration

Platform Plans

Coder charges are separate from platform plan:

Platform plan: Starter ($29/month)

Coder usage: 120 hours @ $5/hour = $600

Monthly bill:
- Platform: $29
- Coder: $600
- Total: $629

Invoice Breakdown

Single invoice shows both:

Invoice INV-001234

Services:
CredVault Starter Plan .......... $29.00
Coder: 80 hours @ $5.00 ........ $400.00
Coder: 40 hours @ $2.50 ........ $100.00

Total Due: $529.00

Forecasting

Predict Next Month

This month usage: 120 hours
Hourly cost: $5.00/hour (average)
This month cost: $600

If next month similar:
Estimated cost: $600

If 50% more usage:
Estimated cost: $900

Use this to budget!