$928.07
$648.02 measured; $280.05 estimatedOperator hub
2026-06-15T17:57:18.151ZCost transparency
Section titled “Cost transparency”$0.00
Provider or gateway-reported spend when present.1,048,018,082 tokens
4,013 events across 4,013 requests62%
4,013 priced events; 0 missing prices| Model | Tokens | Measured | Estimated | Total |
|---|---|---|---|---|
anthropic:claude-opus-4.7:standard | 505,353,223 | $517.35 | $0.00 | $517.35 |
openai:gpt-5.5 | 541,844,729 | $130.46 | $280.05 | $410.51 |
openai:gpt-5.4-mini | 820,130 | $0.21 | $0.00 | $0.21 |
How this price is calculated
This is a shadow API cost, not a provider invoice. It estimates what the imported usage would cost under API-style token pricing so model, cache, and workflow choices can be compared consistently across subscriptions and local runs.
cost =
input_tokens * input_rate
+ cached_input_tokens * cache_read_rate
+ cache_write_5m_tokens * cache_write_5m_rate
+ cache_write_1h_tokens * cache_write_1h_rate
+ output_tokens * output_rate
+ reasoning_tokens * reasoning_rateRates are per one million tokens. Token classes matter because a cached input token can be much cheaper than a fresh input token, while output tokens are usually more expensive. Tokens with a known class are counted as measured. Aggregate-only tokens are counted as estimated after inferring their input/cache/output mix from the measured sessions.
| Provider | Tokens | Shadow cost |
|---|---|---|
anthropic | 505,353,223 | $517.35 |
openai | 542,664,859 | $410.72 |
| Source | Tokens | Shadow cost | Unclassified |
|---|---|---|---|
claude:local sessions | 341,987,354 | $333.09 | 0 |
codex:worker sessions | 393,091,991 | $280.05 | 393,091,991 |
claude:worker sessions | 163,365,869 | $184.26 | 0 |
codex:local sessions | 149,572,868 | $130.67 | 0 |
Current assumptions: Codex/OpenAI usage is imported from local Codex telemetry; Claude usage is imported from Claude Code project logs; Claude cache reads and cache writes are priced separately when present; Codex worker sessions expose only aggregate tokens, so that portion is estimated; subscription invoices, browser/chat usage, local hardware cost, discounts, regional pricing, and enterprise terms are not included unless supplied as explicit cash assumptions or a runtime pricebook.
Runtime pricebook: bundled fallback; override with AI_COST_PRICEBOOK or --pricebook
Snapshot: last 24h imported Codex/OpenAI and Claude telemetry generated 2026-05-24T10:39:22.227Z; Codex worker sessions are aggregate-only.
Generated references
Section titled “Generated references”Generated data reference for the serving module analytical contract.
OpenAPIGenerated app-contract reference for editor and serving endpoints.
Eval resultsLatest static change-explainer gate snapshot from ADR-0020.
gate green 100%Datasets
Section titled “Datasets”Analytical surfaces
Section titled “Analytical surfaces”Observable Framework production static analytical surface selected by ADR-0025.
last_data_freshness 2026-06-15T17:57:18.021ZEB-NeRD scaleActive EB-NeRD variant row counts, distinct users, and time span.
Editorial accountabilityConstraint-change feed, per-editor activity, and constraint frequency.
Assistant operationsDaily assistant cost, model latency, and eval-run spend.
Model lifecycleRegistry-owned production embedding identity, candidate rows, and ADR-0031 gate outcomes.
Streaming healthConsumer lag, hourly ingest counts, and gap detection for Redpanda events.
Public Cloudflare surfaces
Section titled “Public Cloudflare surfaces”Astro/Starlight tutorial and operator hub served from the public docs domain.
/corepack pnpm --filter docs-site dev
Observable Framework production static analytical surface selected by ADR-0025.
/dashboard/corepack pnpm --filter analytical-surfaces-tier1-observable dev
Dev services (port plan)
Section titled “Dev services (port plan)”Local workstation
Section titled “Local workstation”Editor browse and search surface for EB-NeRD articles.
Route served by the TypeScript editor against FastAPI /articles.Docs-siteAstro/Starlight tutorial and operator hub served from the public docs domain.
http://127.0.0.1:4321/corepack pnpm --filter docs-site dev
Express + HTMX editor interface that consumes the FastAPI app contract.
http://127.0.0.1:3007/npm run dev --workspace=editor
Swagger UI for the FastAPI app contract served by tutorial-serving.
http://127.0.0.1:8010/docsuv run --package tutorial-serving uvicorn serving.app:create_app --factory --port 8010
Dagster OSS asset graph for the serving tutorial data-platform materialisation.
http://127.0.0.1:3000/make -C tutorial/orchestration dagster-dev
Observable Framework production static analytical surface selected by ADR-0025.
http://127.0.0.1:3000/dashboard/corepack pnpm --filter analytical-surfaces-tier1-observable dev
Evidence.dev incumbent analyst dashboard implementation retained as a comparison artefact.
http://127.0.0.1:3000/corepack pnpm --filter analyst-dashboards dev
Quarto Tier 1 static-surface comparison artefact over the same analytical contract.
http://127.0.0.1:4200/corepack pnpm --filter analytical-surfaces-tier1-quarto dev
Metabase Tier 2 BI winner running against the local DuckDB analytical contract.
http://127.0.0.1:3001/docker compose -f tutorial/analytical-surfaces/tier-2/metabase/docker-compose.yml up
Rill Tier 2 metrics-as-code comparison surface retained beside Metabase.
http://127.0.0.1:9009/docker compose -f tutorial/analytical-surfaces/tier-2/rill/docker-compose.yml up
Spark tailnet review
Section titled “Spark tailnet review”Express + HTMX editor interface that consumes the FastAPI app contract.
https://spark-0cf9.tail6a168b.ts.net/editornpm run dev --workspace=editor
Dagster OSS asset graph for the serving tutorial data-platform materialisation.
https://spark-0cf9.tail6a168b.ts.net/dagster/make -C tutorial/orchestration dagster-devsystemctl --user status fos-workbench-dagster-webserver.service
Observable Framework production static analytical surface selected by ADR-0025.
https://spark-0cf9.tail6a168b.ts.net/fos-surfaces/observable/corepack pnpm --filter analytical-surfaces-tier1-observable dev
Evidence.dev incumbent analyst dashboard implementation retained as a comparison artefact.
https://spark-0cf9.tail6a168b.ts.net/fos-surfaces/evidence/corepack pnpm --filter analyst-dashboards dev
Quarto Tier 1 static-surface comparison artefact over the same analytical contract.
https://spark-0cf9.tail6a168b.ts.net/fos-surfaces/quarto/corepack pnpm --filter analytical-surfaces-tier1-quarto dev
Metabase Tier 2 BI winner running against the local DuckDB analytical contract.
https://spark-0cf9.tail6a168b.ts.net/fos-surfaces/metabase/docker compose -f tutorial/analytical-surfaces/tier-2/metabase/docker-compose.yml up
Rill Tier 2 metrics-as-code comparison surface retained beside Metabase.
https://spark-0cf9.tail6a168b.ts.net/dashboardsdocker compose -f tutorial/analytical-surfaces/tier-2/rill/docker-compose.yml up
Tailnet review hub for the catalogued analytical surfaces running on Spark.
https://spark-0cf9.tail6a168b.ts.net/fos-surfaces/static Tailscale Serve route
Spark live interface inventory generated from fos/platform/interfaces/interfaces.json.
https://spark-0cf9.tail6a168b.ts.net/npm run interfaces:probe
Local GB10 model evaluation report and artifact browser hosted outside this repo.
https://spark-0cf9.tail6a168b.ts.net/model-bench/docker --context rootless compose up in fos/infrastructure/model-bench-report
LLM trace and token observability UI hosted outside this repo.
https://spark-0cf9.tail6a168b.ts.net:8448/docker --context rootless compose up in fos/platform/models/observability
OpenAI-compatible gateway for local and hosted models hosted outside this repo.
https://spark-0cf9.tail6a168b.ts.net:8444/v1/modelsrequires an API key; 401 means the route is alive
Tailnet-only - URLs active when the service is running on Spark. Analytical
surface review covers Observable, Evidence.dev, Quarto, Metabase, and Rill. The richer
inventory lives in fos/platform/interfaces/interfaces.json and drives the
Spark dashboard catalogue.
Recent deliveries
Section titled “Recent deliveries”recent_deliveries: unknown
Architecture decision record index for the data platform.
Per-component mapping of the local-first platform onto Azure services with Bicep, GitHub Actions, and operator runbook targets.
Mapping doc | ADR-0028 | Azure artefacts
make -C deploy/azure azure-validatemake -C deploy/azure azure-upmake -C deploy/azure azure-costmake -C deploy/azure azure-down
Register, evaluate, promote, and roll back embedding model candidates.