docs cleanup

pull/791/merge
Kye Gomez 2 months ago
parent d25b43c9d9
commit 960628c538

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

Loading…
Cancel
Save