Note: Calculation is approximate based on public data. Prices may change, check official websites.
Effortlessly calculate the costs associated with using the Meta Llama 3.1 405B (base) model. This calculator simplifies pricing by allowing you to input the number of input and output tokens, as well as the number of requests.
The cost structure is as follows:
- Input Tokens: $2 per 1 million tokens
- Output Tokens: $2 per 1 million tokens
The model boasts a context window of 32,768 tokens. You can also choose to display the results in EUR by converting the USD costs using a specified exchange rate.
Formula:
Cost = (Number of input tokens / 1,000,000 * $2 + Number of output tokens / 1,000,000 * $2) * Number of requests
Example: For 100,000 input tokens, 50,000 output tokens, and 5 requests, the cost in USD would be ((100,000 / 1,000,000 * $2) + (50,000 / 1,000,000 * $2)) * 5 = (0.2 + 0.1) * 5 = $1.50.
Note: Calculation is approximate based on public data. Prices may change, check official websites.