Model pricing
Sample prices are illustrative. Edit to match current provider pricing ($ per 1M tokens).
| Model | Input $/1M | Output $/1M |
|---|
No models yet. Add a model row to see costs.
Loop simulator
Context growth Exceeds context limit
Live costs
How this is calculated
input(step i) = system_prompt + history_before_step_i full history: history grows by (input_of_prev_user_turns + outputs) sliding window: history = min(accumulated, window_size) cost(run) = sum_i[ input_i * in_price/1e6 + out_tokens * out_price/1e6 ] cost(day) = cost(run) * runs_per_experiment * experiments_per_day cost(month) = cost(day) * 30
Monthly comparison
Export
FAQ
Why do agent loops get expensive?
Every step in an agent loop re-sends the system prompt, tool schemas, and the whole conversation so far. A 10-step run does not cost 10x one call; it costs far more, because input tokens compound each step.
How does context growth multiply cost?
With full history, step N pays for everything from steps 1..N-1 again as input. Input cost grows roughly quadratically with step count. Sliding windows cap that growth at the window size, trading recall for a linear cost curve.