docs cleanup

pull/791/merge
Kye Gomez 1 month ago
parent d25b43c9d9
commit 960628c538

@ -1,13 +1,14 @@
# Swarm Agent API Pricing Documentation
## Overview
The Swarm Agent API provides a powerful platform for managing and executing Python agents in the cloud without requiring Docker or Kubernetes. This document outlines the pricing model, how costs are calculated, and how to purchase and manage your credits.
Our pricing is designed to be transparent and cost-effective, with costs based on:
- Number of agents used
- Input and output token usage
- Execution time
## Credit System
@ -15,10 +16,15 @@ Our pricing is designed to be transparent and cost-effective, with costs based o
The Swarm API operates on a credit-based system:
- **Credits** are the currency used within the platform
- 1 credit = $1 USD
- Credits can be purchased with USD or $swarms Solana tokens
- Two types of credits:
- **Standard Credits**: Purchased credits that never expire
- **Free Credits**: Promotional credits that may have usage restrictions
## Pricing Structure
@ -66,24 +72,35 @@ Output Token Cost = Output Token Cost × 0.25
#### Scenario 1: Basic Workflow (Day-time)
- 3 agents
- 10,000 input tokens total
- 25,000 output tokens total
**Calculation:**
- Agent cost: 3 × $0.01 = $0.03
- Input token cost: (10,000 / 1,000,000) × $2.00 × 3 = $0.06
- Output token cost: (25,000 / 1,000,000) × $4.50 × 3 = $0.3375
- **Total cost: $0.4275**
#### Scenario 2: Complex Workflow (Night-time)
- 5 agents
- 50,000 input tokens total
- 125,000 output tokens total
**Calculation:**
- Agent cost: 5 × $0.01 = $0.05
- Input token cost: (50,000 / 1,000,000) × $2.00 × 5 × 0.25 = $0.125
- Output token cost: (125,000 / 1,000,000) × $4.50 × 5 × 0.25 = $0.703125
- **Total cost: $0.878125**
## Purchasing Credits
@ -103,13 +120,18 @@ Credits can be purchased through our platform in two ways:
## Free Credits
We occasionally offer free credits to:
- New users (welcome bonus)
- During promotional periods
- For educational and research purposes
Notes about free credits:
- Used before standard credits
- May have expiration dates
- May have usage restrictions
## Billing and Usage Tracking
@ -118,12 +140,17 @@ Track your credit usage through our comprehensive logging and reporting features
1. **API Logs**
- Access detailed logs via the `/v1/swarm/logs` endpoint
- View cost breakdowns for each execution
2. **Dashboard**
- Real-time credit balance display
- Historical usage graphs
- Detailed cost analysis
- Available at [https://swarms.world/platform/dashboard](https://swarms.world/platform/dashboard)
## FAQ
@ -149,9 +176,13 @@ A: Yes, please contact our sales team for enterprise pricing and volume discount
## References
- [Swarm API Documentation](https://docs.swarms.world)
- [Account Management Portal](https://swarms.world/platform/account)
- [Swarm Types Reference](https://docs.swarms.world/swarm-types)
- [Token Usage Guide](https://docs.swarms.world/token-usage)
- [API Reference](https://docs.swarms.world/api-reference)
---

Loading…
Cancel
Save