AlfredPros CodeLLaMa 7B Instruct Solidity Cost Calculator

Model: AlfredPros: CodeLLaMa 7B Instruct Solidity, Context: 8192, Cost: $0.7 per 1M input tokens, $1.1 per 1M output tokens

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

This calculator helps estimate the cost of using the AlfredPros: CodeLLaMa 7B Instruct Solidity language model. It allows you to input the number of input and output tokens, as well as the number of requests to estimate the total cost.

Model Details:

  • Model Name: AlfredPros: CodeLLaMa 7B Instruct Solidity
  • Context Size: 8192 tokens
  • Input Cost: $0.7 per 1 million tokens
  • Output Cost: $1.1 per 1 million tokens

Formula:

Total Cost (USD) = (Number of Requests) * [(Input Tokens / 1,000,000) * Input Cost + (Output Tokens / 1,000,000) * Output Cost]

Example:

If you make 10 requests, each with 500 input tokens and 200 output tokens:

Input Cost = 10 * (500 / 1,000,000) * $0.7 = $0.0035

Output Cost = 10 * (200 / 1,000,000) * $1.1 = $0.0022

Total Estimated Cost = $0.0057

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