EleutherAI Llemma 7b Token Cost Calculator

Model: EleutherAI: Llemma 7b, Context: 4096, Cost: $0.8 per 1M input tokens, $1.2 per 1M output tokens

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

Estimate the cost of using the EleutherAI Llemma 7b model with this intuitive calculator. Input your desired number of tokens and requests to get a precise cost breakdown.

Model: EleutherAI Llemma 7b

Context Window: 4096 tokens

Pricing:

  • Input Tokens: $0.8 per 1 million tokens
  • Output Tokens: $1.2 per 1 million tokens

Formula:

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

Example:

If you use 100,000 input tokens, 50,000 output tokens, and make 5 requests:

Cost = (100,000 / 1,000,000 * $0.8 + 50,000 / 1,000,000 * $1.2) * 5

Cost = (0.1 * $0.8 + 0.05 * $1.2) * 5

Cost = ($0.08 + $0.06) * 5

Cost = $0.14 * 5 = $0.70

Note: Calculations are approximate and based on publicly available pricing. Please refer to official documentation for the most up-to-date rates.