Meta Llama 3 70B Instruct Cost Calculator

Model: Meta: Llama 3 70B Instruct, Context: 8192, Cost: $0.3 per 1M input tokens, $0.4 per 1M output tokens

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

Estimate the cost of using the Meta Llama 3 70B Instruct model. This calculator helps you determine expenses based on the number of input and output tokens processed per request.

Model Details:

  • Model: Meta Llama 3 70B Instruct
  • Context Window: 8192 tokens
  • Input Token Cost: $0.30 per 1 million tokens
  • Output Token Cost: $0.40 per 1 million tokens

Formula:

Total Cost = (Input Tokens / 1,000,000) * Input Cost + (Output Tokens / 1,000,000) * Output Cost

Example:

For a single request with 50,000 input tokens and 10,000 output tokens:

  • Input Cost = (50,000 / 1,000,000) * $0.30 = $0.015
  • Output Cost = (10,000 / 1,000,000) * $0.40 = $0.004
  • Total Cost = $0.015 + $0.004 = $0.019

Note: Calculations are approximate and based on publicly available pricing. Actual costs may vary. Check official documentation for the latest pricing information.