Meta Llama 3.1 70B Instruct Token Cost Calculator

Model: Meta: Llama 3.1 70B Instruct, Context: 131072, Cost: $0.1 per 1M input tokens, $0.28 per 1M output tokens

Note: Calculation is approximate based on public data. Prices may change, check official websites.

This calculator helps you estimate the cost of using the Meta Llama 3.1 70B Instruct model. It calculates the expense based on the number of input and output tokens you process.

Model Details:

  • Model: Meta Llama 3.1 70B Instruct
  • Context Window: 131,072 tokens
  • Input Token Cost: $0.10 per 1 Million tokens
  • Output Token Cost: $0.28 per 1 Million tokens

How to Use:

  1. Enter the Number of input tokens.
  2. Enter the Number of output tokens.
  3. Specify the Number of requests (defaults to 1).
  4. Optionally, select EUR and enter the current exchange rate if you wish to calculate costs in Euros.
  5. Click Calculate to see the estimated total cost.

Formula:

Total Cost = (Input Tokens / 1,000,000 * Input Cost per 1M) + (Output Tokens / 1,000,000 * Output Cost per 1M) * Number of Requests

Example:

If you use 100,000 input tokens and generate 50,000 output tokens across 2 requests, and choose to calculate in USD:

  • Input Cost: (100,000 / 1,000,000) * $0.10 * 2 = $0.02
  • Output Cost: (50,000 / 1,000,000) * $0.28 * 2 = $0.028
  • Total Estimated Cost: $0.048

Note: Calculations are approximate. Always refer to official pricing for the most up-to-date information.