Skip to content

Commit aa2cf3c

Browse files
chore: cleanup new pricing sections in docs
1 parent 5a752cf commit aa2cf3c

2 files changed

Lines changed: 1 addition & 21 deletions

File tree

docs/05_bring_your_own_model_provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class MyImageQAProvider(ImageQAProvider):
137137

138138
### Execution Cost Tracking
139139

140-
The built-in providers include default pricing for supported models. You can override the pricing on any provider by passing `input_cost_per_million_tokens` and `output_cost_per_million_tokens`:
140+
The built-in VLM providers include default pricing for supported models. You can override the pricing on any provider by passing `input_cost_per_million_tokens` and `output_cost_per_million_tokens`:
141141

142142
```python
143143
from askui import AgentSettings, ComputerAgent

docs/08_reporting.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,6 @@ SimpleHtmlReporter(output_dir="./execution_reports", filename="agent_run.html")
3636

3737
The HTML report automatically shows the estimated API cost when using a `VlmProvider` with pricing information. The built-in Anthropic and AskUI providers include default pricing for supported Claude models.
3838

39-
To override pricing (for example, if you have a custom pricing agreement):
40-
41-
```python
42-
from askui import AgentSettings, ComputerAgent
43-
from askui.model_providers import AnthropicVlmProvider
44-
from askui.reporting import SimpleHtmlReporter
45-
46-
with ComputerAgent(
47-
reporters=[SimpleHtmlReporter()],
48-
settings=AgentSettings(
49-
vlm_provider=AnthropicVlmProvider(
50-
model_id="claude-sonnet-4-6",
51-
input_cost_per_million_tokens=2.5,
52-
output_cost_per_million_tokens=12.0,
53-
),
54-
),
55-
) as agent:
56-
agent.act("Open settings")
57-
```
58-
5939
The report will display:
6040
- Total estimated cost
6141
- Per-token rates used for the calculation

0 commit comments

Comments
 (0)