Transparent by construction
LLM Judge Cost Methodology
This document defines the calculator's workload model, arithmetic, vendor conversions, retention logic, uncertainty states, evidence hierarchy, and update process. It separates vendor-published facts from Pharos Production normalization rules so a reader can reproduce or challenge every result.
- Maintainer
- Dmytro Nasyrov · Founder & CTO · PhD in Artificial Intelligence
- Version
- 1.1.0
- Published
- Pricing snapshot
- Currency
- USD list price before tax
- Evidence
- First-party pricing and product documentation
- Calculation
- Dependency-free JavaScript with deterministic tests
- Review status
- Source verification complete; independent external review not claimed
Scope and methodological principles
The calculator answers one bounded question: what monthly list-price cost follows from a stated LLM judge workload and a selected public observability plan? It does not rank vendors, predict model quality, estimate implementation labor, or replace a vendor quote.
- Normalize workload before price. Application traffic, ingested telemetry, evaluated traces, judge calls, stored scores, observations, bytes, and retention remain separate quantities.
- Price model inference and platform usage separately. A provider token bill and an observability invoice can respond to different workload gates.
- Use first-party sources for price facts. Vendor pricing pages and official product documentation outrank summaries, search snippets, and third-party comparisons.
- Do not interpolate an unpublished conversion. If a necessary overage or fixed-retention path has no public price, the total becomes not computable.
- Expose assumptions as assumptions. Cross-vendor entity mappings and partial-band proration are calculator rules, not quoted vendor facts.
- Keep arithmetic deterministic. The same inputs produce the same result in the UI, share URL, JSON export, CSV export, and automated test suite.
- Date semantic verification. A URL returning HTTP 200 does not prove that its price, allowance, or meter definition is unchanged.
Two-branch calculation model
The workload splits after telemetry ingestion. One branch calculates judge-model tokens. The other converts stored telemetry into the selected vendor's billing meter. They rejoin only at the monthly total.
- F01 · Ingested traces
I = A × (S ÷ 100)- F02 · Evaluated traces
E = I × (Q ÷ 100)- F03 · Judge calls
J = E × C- F04 · Judge-model cost
M = J × ((Tin × Pin) + (Tout × Pout)) ÷ 1,000,000- F05 · Processed decimal GB
G = I × B ÷ 1,000,000,000- F06 · Stored scores
R = E × K- F07 · Langfuse units
U = I + (I × O) + R- F08 · Arize spans
P = I × O- F09 · GB-months
H = G × L- F10 · Platform subtotal
V = plan fee + seat fee + event overage + data overage + retention cost- F11 · Monthly total
Total = M + V, only when result state permits a defensible total.
All monetary components retain six-decimal precision in the pure calculation function. The interface formats dollars to cents. Tier boundaries and quantities are calculated before display rounding.
Variable dictionary and entity boundaries
| Symbol | Name | Unit | Source or status | Cost branch | Boundary |
|---|---|---|---|---|---|
| A | Application traces | traces/month | User input | Both | Operations before any telemetry sampling. |
| S | Sampling rate | percent | User input | Both | Share of application traces ingested into observability. |
| Q | Evaluation rate | percent | User input | Model and score meters | Applied to ingested traces, never directly to pre-sampling traffic. |
| C | Judge calls per evaluated trace | calls/trace | User input | Model | Rubrics, repeats, or ensemble calls; separate from stored score count. |
| K | Scores per evaluated trace | scores/trace | User input | Platform | Persisted score objects, which may not equal judge calls. |
| O | Observations per ingested trace | events/trace | User input | Platform | Used as Langfuse observations and mapped to Arize spans. |
| Tin | Input tokens per judge call | tokens/call | User input | Model | Rubric, system instructions, candidate output, reference, and context. |
| Tout | Output tokens per judge call | tokens/call | User input | Model | Score, label, rationale, or structured result. |
| Pin, Pout | Model token rates | USD/MTok | Named preset or user input | Model | Direct-provider effective rates; hosted evaluator fees are excluded. |
| B | Bytes per ingested trace | bytes/trace | User input | Data-volume meters | Must be measured for a defensible workload; 10 KB is only a named estimate. |
| L | Retention | 30-day months | User input | Platform | Compared to published days; one modeling month equals 30 days. |
| I, E, J | Ingested traces, evaluated traces, judge calls | counts/month | Derived | Both | Each is a different entity and must remain independently visible. |
Vendor meter normalization rules
Vendor terms are preserved where possible. Cross-platform comparison still requires explicit conversion from the normalized workload to each billing entity. The Status column distinguishes first-party fact from calculator assumption.
| Vendor | Published meter | Calculator conversion | Status | Material limitation |
|---|---|---|---|---|
| LangSmith | Base traces and extended-trace upgrades | Sampled application traces map one-to-one to base traces. When requested retention exceeds 14 days, every ingested trace receives the extended upgrade. | Cross-entity mapping is an assumption; rates and windows are source facts. | One application operation can create a different trace shape in a real instrumentation design. |
| Langfuse | Trace + observation + score | U = I + (I × O) + (E × K) | Unit formula is a source fact. Partial 100K proration is a calculator assumption consistent with the public calculator. | Additional scores created by other Langfuse features also count and must be entered. |
| Braintrust | Scores + processed GB + Pro extended retention | Score count uses evaluated traces × scores per trace. Processed GB uses ingested traces × bytes per trace. Model credits remain separate. | Rates are source facts; workload-to-byte conversion is user supplied. | Starter retention is 14 days. Pro variable retention begins after 30 days and ends at 180 days. |
| Arize AX | Spans + GB | Observations map to spans; processed data uses bytes per ingested trace. | Observation-to-span mapping is an assumption; plan rates and windows are source facts. | Free has no public numeric overage. Pro publishes additional-span and additional-GB conversions. |
| Confident AI | GB-months | Processed GB × retention months. The 10 KB selectable preset derives from the vendor's estimate of about 100K traces per 1 GB. | Meter and estimate are source facts; any chosen bytes/trace remains a workload assumption. | Free drops excess trace spans, so full requested coverage can fail at a $0 fee. |
Langfuse graduated-band calculation
Paid plans include 100,000 units. Additional units enter four progressive bands. A partial 100,000-unit block is prorated rather than rounded up. For 3.1 million units:
- First 100,000 units: included.
- Next 900,000 units at $8 per 100,000:
9 × $8 = $72. - Remaining 2.1 million units at $7 per 100,000:
21 × $7 = $147. - Total usage overage:
$72 + $147 = $219.
The longer Pharos Production engineering analysis of LLM observability cost provides further architectural context. It is related editorial analysis, not independent evidence for the vendor prices recorded here.
Retention is both a cost variable and a coverage constraint
Retention changes the numeric charge only where a public variable-retention rate exists. It still constrains every platform. If requested retention exceeds a fixed published window, the estimate becomes not computable instead of remaining exact.
| Plan | Included or base window | Calculator behavior inside window | Behavior beyond window |
|---|---|---|---|
| LangSmith Developer / Plus | 14-day base traces | No retention upgrade at 14 days or less | All ingested traces receive a $0.0025 extended upgrade up to 400 days; above 400 days is not computable. |
| Langfuse Hobby | 30 days | Base plan result remains eligible for exact state | Above 30 days is not computable because the selected plan does not publish a numeric extension path. |
| Langfuse Core | 90 days | Base plan result remains eligible for exact state | Above 90 days is not computable. |
| Langfuse Pro | 3 years, modeled as 1,095 days | Base plan result remains eligible for exact state | Above 1,095 days is not computable. |
| Braintrust Starter | 14 days | Score and GB overages remain calculable | Above 14 days is not computable. |
| Braintrust Pro | 30 days | No retention overage | Processed GB × extra 30-day months × $0.50 through 180 days; above 180 days is not computable. |
| Arize AX Free | 15 days | Allowances remain eligible for exact state | Above 15 days is not computable. |
| Arize AX Pro | 30 days | Event and GB overages remain calculable | Above 30 days is not computable. |
| Confident AI | GB-month allowance by plan | Retention directly multiplies ingested GB. Paid overage is $1/GB-month; Free above 1 GB-month becomes a lower bound because excess spans are dropped. | |
Exact, lower-bound, and not-computable decision tree
- Exact
- Every selected numeric component has a public conversion, the requested workload stays inside fixed plan constraints, and any cross-vendor assumption is declared. Exact describes arithmetic under the model, not a guaranteed invoice.
- Lower bound
- The known monetary charge is calculable, but the selected plan does not retain the full requested workload. Confident AI Free above 1 GB-month is the current lower-bound path.
- Not computable
- A necessary overage conversion is unpublished, a seat constraint is violated, or requested retention exceeds the selected plan's published window. Known subtotals remain visible. Total and cost per 1,000 application traces are withheld.
- Validate all numeric inputs, percentages, seat count, and plan ID.
- Derive ingested traces, evaluated traces, judge calls, scores, spans, processed GB, and GB-months.
- Calculate judge-model cost independently from platform rules.
- Apply plan fee, included allowances, published event/data overages, and retention logic.
- If a hard constraint or missing conversion exists, set
not_computable. - Otherwise, if the plan drops requested coverage, set
lower_bound. - Otherwise set
exactand expose total plus cost per 1,000 application traces.
Reproducible default worked case
The source HTML includes this default result before JavaScript runs. The application recalculates the same values on page load.
- Application and ingested traces
10,000 × 100% = 10,000- Evaluated traces
10,000 × 100% = 10,000- Judge calls
10,000 × 1 = 10,000- Judge input cost
10,000 × 1,500 × $2 ÷ 1,000,000 = $30.00- Judge output cost
10,000 × 150 × $10 ÷ 1,000,000 = $15.00- Judge-model subtotal
$30.00 + $15.00 = $45.00- LangSmith Developer base overage
(10,000 - 5,000 included) × $0.005 = $25.00- Extended retention upgrade
- One requested month exceeds 14-day base retention:
10,000 × $0.0025 = $25.00 - Platform subtotal
$0 plan + $25.00 usage + $25.00 retention = $50.00- Monthly total
$45.00 + $50.00 = $95.00- Cost per 1,000 application traces
$95.00 ÷ 10 = $9.50
Change retention to 14 days, represented as 14 ÷ 30 = 0.4667 months, and the extended upgrade disappears. The same workload then totals $70.00.
Claim-to-source evidence ledger
The ledger enumerates the claims that carry the pricing model plus material derived rules. It does not copy long vendor passages. Each source-backed claim points to the first-party page whose current content was semantically checked on .
| Claim ID | Atomic claim | Role | Evidence | Status in calculator |
|---|---|---|---|---|
MODEL-SONNET5-RATE | Claude Sonnet 5 standard first-party API rates are $2/MTok input and $10/MTok output. | Primary price | Claude Platform pricing | Default editable model preset |
MODEL-SONNET5-NO-CLIFF | The previously scheduled September 1, 2026 increase to $3/$15 will not occur. | Temporal clarification | Claude Platform pricing | No future price cliff modeled |
LANGSMITH-PLANS | Developer includes 5K base traces and one seat; Plus costs $39/seat and includes 10K base traces. | Primary plan facts | LangSmith pricing | Plan fee, seats, and allowances |
LANGSMITH-TRACE-RATES | Additional base traces cost 0.005 LSU and an extended trace upgrade costs 0.0025 LSU, with 1 LSU priced at $1. | Primary usage price | LangSmith pricing | $0.005 base overage; $0.0025 upgrade |
LANGSMITH-RETENTION | Base traces retain data for 14 days and extended traces for 400 days. | Coverage constraint | LangSmith pricing | Upgrade after 14 days; stop after 400 days |
LANGFUSE-UNIT | A Langfuse billable unit is one ingested trace, observation, or score. | Meter definition | Langfuse billable units | Trace + observation + score formula |
LANGFUSE-PLANS | Hobby includes 50K units; Core costs $29 and Pro $199, each with 100K included units. | Primary plan facts | Langfuse pricing | Plan fees and allowances |
LANGFUSE-BANDS | Paid overage bands are $8, $7, $6.50, and $6 per 100K units as volume rises. | Primary usage price | Langfuse pricing | Progressive graduated overage |
LANGFUSE-ACCESS | Hobby, Core, and Pro publish 30-day, 90-day, and 3-year data access respectively. | Coverage constraint | Langfuse pricing | Fixed retention limits by plan |
BRAINTRUST-STARTER | Starter includes 10K scores, 1 GB, and 14-day retention; overages are $2.50/1K scores and $4/GB. | Primary plan facts | Braintrust pricing | Score/data overage plus 14-day limit |
BRAINTRUST-PRO | Pro costs $249, includes 50K scores and 5 GB, then charges $1.50/1K scores and $3/GB. | Primary plan facts | Braintrust pricing | Plan, score, and data cost |
BRAINTRUST-RETENTION | Pro includes 30 days and prices retention through 180 days at $0.50/GB/month after the included period. | Primary retention price | Braintrust pricing | Variable Pro retention |
ARIZE-FREE | AX Free includes 25K spans, 1 GB, and 15 days at $0/month. | Primary plan facts | Arize pricing | Allowances and fixed window; unknown overage |
ARIZE-PRO | AX Pro costs $50, includes 50K spans, 10 GB, and 30 days; additional spans cost $0.0008 and additional GB cost $3. | Primary plan facts | Arize pricing | Plan, span, data, and window logic |
CONFIDENT-PLANS | Free, Starter, and Team include 1, 5, and 75 GB-months; paid plans cost $200 and $2,000. | Primary plan facts | Confident AI pricing | Plan fees and GB-month allowances |
CONFIDENT-OVERAGE | Paid usage above the allowance costs $1/GB-month; Free drops excess trace spans. | Usage and coverage fact | Confident AI pricing | Paid overage and Free lower-bound state |
CONFIDENT-SIZE-PRESET | The vendor calculator states that about 100K traces approximate 1 GB. | Named estimate | Confident AI pricing | Selectable 10 KB/trace preset, never forced |
ASSUMPTION-TRACE-MAP | One sampled application trace maps to one LangSmith base trace. | Normalization assumption | Calculator methodology | Visible in result assumptions |
ASSUMPTION-SPAN-MAP | One entered observation maps to one Arize span. | Normalization assumption | Calculator methodology | Visible in result assumptions |
ASSUMPTION-PRORATION | Partial Langfuse 100K overage blocks are prorated rather than rounded up. | Normalization assumption | Calculator methodology, checked against public calculator behavior | Visible in result assumptions |
The machine-readable counterpart is claims.json. Source metadata lives in sources.json. Pricing values live in models.json and vendors.json. Publishable copies are tested for full equality with repository-root data.
Reproducibility, URL state, and exports
The calculator is a static browser application. No server receives workload inputs. The pure calculation module accepts a single object, validates every numeric field and plan ID, and returns a structured result.
Input schema
- application traces
- sampling and evaluation percentages
- observations, scores, and judge calls per trace
- bytes and retention
- input/output tokens and rates
- vendor plan and seats
Result schema
- result state and optional stable error code
- ingested traces, evaluated traces, and judge calls
- judge-model and platform subtotals
- plan, usage, data, and retention components
- total and cost per 1K when defensible
- meter family, allowance, assumptions, and verification date
Deterministic checks
- Reference token cases at 10K, 100K, and 1M judge calls.
- Sampling before evaluation.
- Judge-call multiplicity and export round trips.
- Every modeled plan's allowance, overage, retention, and uncertainty state.
- Input validation at the pure boundary.
- URL serialization, JSON export, and CSV export.
- Root and published pricing-data mirror equality.
- Native semantic HTML, structured-data graph, contextual Pharos links, visible disclosures, robots, and sitemap contracts.
Run the project with Node 20 or newer: node --test. The separate source-reachability task checks a bounded official URL list. It does not modify pricing data or claim semantic freshness.
Editorial governance and update policy
- Authorship
- Maintained by Dmytro Nasyrov, Founder & CTO of Pharos Production. The repository history records each accepted change.
- AI-assisted disclosure
- Research, drafting, code generation, and quality checks were AI-assisted. Numeric fields were semantically checked against first-party sources and covered by deterministic tests. Independent external review is not claimed.
- Correction and update policy
- A correction identifies the claim ID, current first-party source, effective date if known, affected normalized fields, calculation behavior, test delta, and changelog entry. No verification date is advanced by a reachability check alone.
- Source conflict policy
- Prefer current first-party page content over cached snippets. If two live first-party sections disagree materially, mark the field unresolved and withhold the affected total until the conflict is resolved.
- Pricing change policy
- Update the root data, publishable mirror, calculation constants, tests, visible table, claim ledger, schema metadata, version, and changelog in one reviewed change.
- Licensing
- Source code is MIT licensed. Normalized data and editorial methodology are available under CC BY 4.0, subject to the original vendors' rights in their pages and brands.
- Endorsement boundary
- No listed vendor sponsors or endorses this calculator. A source link proves where a public fact was read, not product suitability.
Version history
| Version | Date | Material change | Verification consequence |
|---|---|---|---|
| 1.1.0 | Added judge-call multiplicity, fixed-plan retention constraints, LangSmith extended upgrades, current Arize Pro overages, provenance fields, claim ledger, disclosures, and citation-ready semantic structure. | Rechecked all first-party sources and expanded deterministic coverage. | |
| 1.0.0 | Initial public calculator with five vendors, twelve plans, token cost, platform meters, and three uncertainty states. | Initial pricing snapshot. |