Overview
Aifano uses a credit-based billing system. Credits are consumed per page processed, with different rates depending on the operation. Free operations like file uploads and job status checks cost zero credits.Credit Pricing
| Operation | Credits per Page | Description |
|---|---|---|
| Parse | 1 | Document parsing into structured JSON |
| Extract | 2 | Structured data extraction with schema |
| Split | 1 | Document splitting into sections |
| Edit | 1 | Document editing and form filling |
| Pipeline | 2 | Pipeline execution (varies by processors) |
| Upload | 0 | File upload to Aifano storage |
| Job Status | 0 | Checking async job status |
| Cancel Job | 0 | Cancelling a running job |
Credits are calculated based on the number of pages in the document. A 10-page PDF processed with
/extract costs 20 credits (10 pages × 2 credits).How Credits Are Calculated
Credits are charged after processing completes. The formula is:- Parsing a 5-page PDF:
5 × 1 = 5 credits - Extracting from a 10-page PDF:
10 × 2 = 20 credits - Splitting a 25-page document:
25 × 1 = 25 credits
Usage in Responses
Every API response includes ausage object showing credits consumed:
Monthly Credit Limits
Each organization has a monthly credit limit. When the limit is reached, API requests return a429 error:
Monitoring Usage
Via Studio
Track your credit usage in real-time through the Aifano Studio:- Navigate to Credits in the sidebar
- View your current usage, remaining credits, and usage history
- See a breakdown by operation type and endpoint
Via API Response Headers
Each API response includes usage information in the response body. Track theusage.credits field to monitor consumption programmatically.
Tips to Optimize Credit Usage
Use jobid:// references to avoid re-parsing
Use jobid:// references to avoid re-parsing
If you’ve already parsed a document and want to extract different data, use
jobid://job_id as input. This skips the parsing step and saves credits.Use async for large documents
Use async for large documents
Async endpoints don’t cost more credits, but they prevent timeouts on large documents — ensuring you don’t waste credits on failed requests.
Batch similar operations
Batch similar operations
Use pipelines to combine parse + extract in a single call. This is more efficient than calling each endpoint separately.
Test with small documents first
Test with small documents first
Before processing large batches, test your configuration with a single small document to verify the output matches your expectations.