Note: Calculation is approximate based on public data. Prices may change, check official websites.
Calculate the cost of using the Meta: Llama 4 Maverick model. This powerful language model has a context window of 1,048,576 tokens.
The pricing is as follows:
- Input Tokens: $0.15 per 1 million tokens
- Output Tokens: $0.60 per 1 million tokens
Use this calculator to estimate your expenses based on the number of input and output tokens you process per request, and the total number of requests.
Formula:
Total Cost (USD) = (Number of Input Tokens / 1,000,000 * Input Cost per 1M) + (Number of Output Tokens / 1,000,000 * Output Cost per 1M)
Total Cost (USD) = (input_tokens / 1,000,000 * $0.15) + (output_tokens / 1,000,000 * $0.60)
Example:
For 500,000 input tokens and 100,000 output tokens in a single request:
Cost = (500,000 / 1,000,000 * $0.15) + (100,000 / 1,000,000 * $0.60)
Cost = (0.5 * $0.15) + (0.1 * $0.60)
Cost = $0.075 + $0.06
Cost = $0.135