Scrydon

Logging and Cost Calculation

Understanding workflow logs and how execution costs are calculated in Scrydon

Scrydon provides comprehensive logging for workflow executions and automatic cost calculation for AI model usage.

Logging System

Scrydon offers two complementary logging interfaces:

Real-Time Console (Manual Executions)

During manual workflow execution, logs appear in real-time in the Console panel on the right side of the workflow editor.

The console shows:

  • Block execution progress with active block highlighting
  • Real-time outputs as blocks complete
  • Execution timing for each block
  • Success/error status indicators

Logs Page (All Executions)

All workflow executions—whether triggered manually, via API, Chat, Schedule, or Webhook—are logged to the dedicated Logs page.

The Logs page provides:

  • Comprehensive filtering by time range, status, trigger type, folder, and workflow
  • Search functionality across all logs
  • Live mode for real-time updates
  • 7-day log retention (upgradeable for longer retention)

Log Details Sidebar

Clicking on any log entry opens a detailed sidebar view.

Block Input/Output

View the complete data flow for each block with tabs to switch between:

Output Tab shows the block's execution result:

  • Structured data with JSON formatting
  • Markdown rendering for AI-generated content
  • Copy button for easy data extraction

Input Tab displays what was passed to the block:

  • Resolved variable values
  • Referenced outputs from other blocks
  • Environment variables used
  • API keys are automatically redacted for security

Execution Timeline

For workflow-level logs, view detailed execution metrics:

  • Start and end timestamps
  • Total workflow duration
  • Individual block execution times
  • Performance bottleneck identification

Model Breakdown

For workflows using AI blocks, expand the Model Breakdown section to see:

  • Token Usage: Input and output token counts for each model
  • Cost Breakdown: Individual costs per model and operation
  • Model Distribution: Which models were used and how many times
  • Total Cost: Aggregate cost for the entire workflow execution

Workflow Snapshot

For any logged execution, click "View Snapshot" to see the exact workflow state at execution time.

The snapshot provides:

  • Frozen canvas showing the workflow structure
  • Block states and connections as they were during execution
  • Click any block to see its inputs and outputs
  • Useful for debugging workflows that have since been modified

Workflow snapshots are only available for executions after the enhanced logging system was introduced. Older migrated logs show a "Logged State Not Found" message.

Cost calculation

Every capability call (LLM, embedding, speech-to-text, text-to-speech, OCR, image, video) is logged by the platform with an indicative cost estimate for governance and chargeback — not an invoice. Token counts are the exact values reported by the model provider; cost is then derived from a resolved rate.

How costs are resolved

Cost is resolved in this order for every call:

  1. Integration / model pricing — the exact rate configured on the model in its integration, when present.
  2. Base-model rate — a dated deployment (for example gpt-5.4-2026-03-05) reuses its base model's rate (gpt-5.4).
  3. Default rate — a configurable per-capability fallback (LLM, Embeddings, STT, TTS, OCR, Image, Video) used when no catalog pricing exists.

Token-priced capabilities (LLM, embeddings) use a $ / 1M tokens rate for input and output. Unit-priced capabilities (speech, OCR, image, video) use a $ / unit rate (audio-second, page, image, …).

Cost figures are indicative estimates intended for internal governance and chargeback — not billing reconciliation. To make a figure exact, configure per-model pricing on the integration under Settings → Platform → Integrations. Already-recorded rows keep the rate that was frozen when they were logged; rate changes apply to future usage.

Cost optimization

Usage monitoring

Organisation admins can view live cost, token, and carbon-footprint breakdowns — across teams, workspaces, users, and features — from Settings → Governance → Cost Insights. The dashboard also exposes the per-model and per-capability rate configuration used by the resolution order above.

See the governance usage & cost dashboard guide for the full walkthrough of the Overview, Spend, Execution, Carbon, Chargeback, and Configuration views.

On this page

On this page