Skip to main content

Overview

Scalar Field uses a unified credit system. Your subscription includes a monthly credit allowance. Credits are consumed by chat queries, agent execution time, agent LLM calls, data services, and other platform activity. Your remaining credit balance is visible in the sidebar and updates in real time.

Subscription Tiers

Annual billing saves approximately 17% (pay for 10 months, get 12). Within Pro and Ultra, you choose a credit tier that fits your expected usage. Higher tiers provide more credits per month at a lower effective cost per credit.

Pro Plans

Ultra Plans

What Consumes Credits

Chat Query Credits

Each chat query consumes credits based on the size of the conversation context. Longer conversations with more messages use more tokens, which translates to more credits. The cost is computed as:
where tokens_per_credit is set by your plan.

Agent Execution Credits

Every time a strategy agent runs, it is charged based on total execution duration:
For example, a 60-second agent execution costs 0.60 credits. A 5-minute execution costs 3.00 credits.

Agent LLM Calls (query_llm())

Python function: from scalarlib import query_llm, get_supported_models
Strategy agents can make LLM calls to reason over data or search the web. This is done via the query_llm() function in scalarlib. Credit cost depends on the number of tokens processed and the model selected:

Supported Models

You can pass either the short alias or the full provider ID as the model parameter:
Use get_supported_models() at runtime to see all available models and their provider IDs:

Credit Lifecycle

  • Monthly reset: Credits reset at the start of each billing period. Unused credits do not roll over.
  • Mid-cycle upgrades: If you upgrade your plan mid-cycle, your existing usage carries over to the new plan. You receive the higher credit limit immediately, but already-consumed credits are not refunded.
  • Mid-cycle downgrades: Scheduled for the next billing cycle. Your current plan remains active until renewal.
  • Exhaustion: When credits run out, chat and agent features are paused. You will see a banner prompting you to upgrade or wait for the next billing cycle. Trading strategies with active positions are not liquidated, but scheduled executions will not run.

Monitoring Usage

  • Sidebar: Your credit balance and remaining credits are shown in the left sidebar, updated in real time via live streaming.
  • Low balance warning: A warning banner appears in the chat input when credits are running low.
  • Agent activation: If you have no credits remaining, you cannot activate new agents. Existing agents will pause execution until credits are available.
  • Execution results: Each agent execution shows its total_duration_seconds in the execution results panel, so you can estimate the credit cost of each run.