Atomelody Platform uses on-demand pricing with credit reservation and settlement, so costs remain transparent and controllable.
Computing credits measure the resources used by structure prediction and virtual screening tasks. This guide explains pricing tiers, molecular token counts and limits, credit charges and releases, and the credit quota system.
Billing principles
- One unit of usage: All prediction tasks are settled using your account's computing credits.
- Token-based tiers: For structure prediction, the total effective token count of all input molecules determines the base cost, multiplied by the number of inference seeds,
num_seeds(default 1). For virtual screening, each target–candidate pair is priced separately and the costs are added together. - Reserve first, settle later: Task creation reserves the required credits. Successful results are charged; virtual screening charges only successful pairs. If a task fails or is cancelled while cancellation is allowed, the reservation is automatically released.
Token counts and limits
The platform measures task size using the total token count and applies these limits:
| Item | Limit | Scope and notes |
|---|---|---|
| Structure prediction token limit | 2,000 | Sum across all input molecular entities; must be 1–2,000 |
| Structure prediction inference seeds | 1–20 | Set through input.num_seeds, default 1; multiplies cost without changing the token count |
| Virtual screening token limit per pair | 2,000 | Target plus any one candidate; must be 1–2,000 |
| Estimated cost limit per screening task | 1,000 credits | Sum of estimated costs across all pairs; checked during quoting and creation |
How tokens are counted
For structure prediction, add the tokens of all sequence entries. For virtual screening, apply the same calculation within each target–candidate pair. The formula for an individual sequence or molecule is:
Protein / DNA / RNA tokens = (sequence length + sum of [CCD heavy atoms - 1] for each modification) × number of chain IDs
Ligand / ion tokens = molecular heavy atoms × number of chain IDs
- Protein / DNA / RNA: Each unmodified residue or base contributes 1 token. Each modification replaces that token with the heavy-atom count of its CCD component; multiply the result by the number of chain IDs. Heavy-atom counts exclude hydrogen and include the complete CCD component.
Example: a protein sequence of length 300 withidset to["A", "B"]is a homodimer contributing 300 × 2 = 600 tokens when unmodified. With oneSEPmodification of 11 heavy atoms per chain, the count is (300 - 1 + 11) × 2 = 620. See CCD modifications for input syntax. - Small-molecule ligands and inorganic ions (
ligand/ion): Count heavy atoms, excluding hydrogen, and multiply by the number of chain IDs. SMILES is used when available; otherwise the CCD code is used. Sequence length is counted as 0.ionis available only for models that support it; see the model capabilities table. Example: a ligand with 30 heavy atoms andidset to["L"]contributes 30 × 1 = 30 tokens. - Complexes: Add the contributions of all protein chains, nucleic acid chains, small-molecule ligands, and ions to obtain the complex's total sequence token count.
Pricing tiers
Structure prediction uses the tier corresponding to the total tokens contributed by all sequences. These are the costs for num_seeds=1:
| Total sequence tokens | Credits |
|---|---|
| 1–500 | 10 credits |
| 501–1,000 | 30 credits |
| 1,001–1,500 | 60 credits |
| 1,501–2,000 | 100 credits |
Structure prediction cost = base cost of the token tier × num_seeds
input.num_seeds defaults to 1 and supports 1–20. Determine the tier from the actual token count, then multiply its cost by the number of seeds. Do not multiply the token count before choosing a tier. Quotes return the cost for one seed in base_cost and the actual seed count in quantity; estimated_cost and the reservation at creation already include the multiplier. Virtual screening does not support this parameter.
Cost examples
The first three examples use the default num_seeds=1.
-
Example 1: Single-chain target protein A single protein sequence has 420 amino acids and
idset to["A"]. → Tokens = 420 × 1 = 420 ≤ 500; cost: 10 credits. -
Example 2: Kinase–substrate–ligand complex Chain A is a kinase domain of 450 aa; chain B is a substrate peptide of 180 aa; the ligand has 30 heavy atoms and
idset to["L"].
→ Total tokens = 450 + 180 + 30 = 660, in the 501–1,000 tier; cost: 30 credits. -
Example 3: Antibody–homotrimeric antigen complex The antigen is a homotrimer with 350 aa per chain and IDs
["A", "B", "C"]; the monoclonal antibody is a single chain of 220 aa with ID["D"]. → Total tokens = 350 × 3 + 220 = 1270, in the 1,001–1,500 tier; cost: 60 credits. -
Example 4: Prediction with 20 seeds: Use the input from example 1 and set
input.num_seedsto20. The token count remains 420; the cost is 10 × 20 = 200 credits.
Virtual screening billing
Virtual screening (task_type=2) pairs the target with each candidate. Each pair is priced using the tiers above, and their costs are added to determine the reservation:
Tokens per pair = target tokens + current candidate tokens
Estimated batch cost = sum of the token-tier costs for all pairs
Final charge = sum of costs for successful pairs
Target tokens are counted separately in every pair. The quoted token_num is the sum across all pairs and may exceed 2,000. Each pair must still contain 1–2,000 tokens, and the total estimated batch cost cannot exceed 1,000 credits.
For example, a target of 450 tokens and candidates of 20 and 100 tokens produce pairs of 470 and 550 tokens. The estimated cost is 10 + 30 = 40 credits, rather than applying a single tier to 1,020 tokens.
| Outcome | Settlement |
|---|---|
| Both candidates succeed | Charge 40 credits |
| Only the first candidate succeeds | Charge 10 credits and release the other 30 reserved credits |
| All candidates fail | Release all 40 reserved credits |
A partially successful screening task has status COMPLETED. Check each candidate in summary.csv and confirm the actual charge through billing_order.charged in the task details. See the virtual screening guide for complete input and quote examples.
Credit lifecycle
The platform reserves credits before computation and settles them afterward. Failed structure predictions and screening batches with no successful pairs release the full reservation. Partially successful screening batches charge successful pairs and release the remainder.
State transitions
- Create and reserve (Freeze): On submission, the system calculates the required credits and moves them from available to reserved. The total balance is unchanged, but those credits cannot fund other concurrent tasks.
- Settle and charge (Settle):
When structure prediction finishes with status
COMPLETED, the reservation is charged. When screening finishes, only successful pairs are charged; the remaining reservation is released. - Release reservation (Unfreeze):
If the task fails (
FAILED) or the user cancels it while cancellation is allowed (CANCELLED), the full reservation is released. Status updates may take a short time; check credit transactions for the outcome.
Free credits and cycle resets
Use Credits in the console to monitor your account balance and transactions:
Credit balances
- Available credits: Credits available to spend on newly submitted tasks.
- Reserved credits: Credits held for tasks that are queued or running inference.
- Total credits: The account's total balance (available credits + reserved credits).
- Cycle credit limit: The allowance allocated for your current cycle. The default is 10,000 credits; use the actual limit shown in the console.
Free credits and resets
- Default cycle allowance: New accounts have a default limit of 10,000 credits. Some accounts may have a different allowance.
- Cycle boundary: Each cycle starts at 00:00 on Monday, Beijing time (UTC+8). The console shows the exact next reset time.
- Reset rules:
- The reset restores the account's current cycle credit limit.
- Reserved credits are not reset or released; reservations for unfinished tasks remain in place.
- New available credits are calculated as:
new available credits = cycle credit limit - currently reserved credits
- Example:
- Before reset: 1,000 credits are available and 500 are reserved, for a total of 1,500.
- After reset: The total returns to 10,000 credits, the reservation remains 500, and available credits become 9,500 (10,000 - 500).
Frequently asked questions
Q1: How are small-molecule ligands (SMILES) and ions billed?
Their heavy atoms, excluding hydrogen, contribute to the token count. The platform obtains ligand heavy-atom counts from SMILES when available, otherwise from CCD, and obtains ion heavy-atom counts. Tokens equal heavy atoms × chain IDs, added to protein and nucleic acid tokens in the same complex. Virtual screening performs this calculation for each target–candidate pair.
Q2: Will I be charged if prediction times out or fails?
Failed structure predictions are not charged. Failed screening pairs are not charged, but successful pairs are settled. Tasks with status FAILED or CANCELLED release their full reservation automatically; transaction updates may take a short time.
Q3: How can I estimate the cost before submitting?
Call the task quote endpoint, POST /v1/tasks/quote, with the intended model, task type, and molecular input. It returns the total tokens, base_cost, quantity, and estimated_cost. For screening, the base cost is the sum of pair base costs, quantity is 1, and candidate_costs lists tokens and cost per pair. Use estimated_cost as the quote without multiplying it again. A quote does not create a task, run inference, reserve credits, or charge credits.
A quote is an estimate and does not lock the price. Use the cost at actual task creation as the final reference. After creation, billing_order.frozen shows the credits reserved for the task.