Our API pricing is based on the model used and the number of tokens processed. Here's a breakdown of the costs:
| API | MODEL | PRICE PER 1K TOKENS |
|---|---|---|
| OpenAI | GPT-3.5 | $0.002 |
| OpenAI | GPT-4 | $0.03 |
| Together AI | Llama-2-70b | $0.0008 |
| Together AI | Llama-2-13b | $0.0006 |
On average, 1 token is approximately 4 characters or 0.75 words. For precise pricing, we recommend using our token calculator tool.
You will only be charged for the tokens used in generating the book. The API tracks token usage and bills accordingly. Detailed usage reports are available in your account dashboard.