Model: Liquid: LFM 7B, Context: 32768, Cost: $0.01 per 1M input tokens, $0.01 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 Liquid LFM 7B model, which features a substantial context window of 32768 tokens.
It calculates the total cost based on the number of input and output tokens processed, with a defined cost for each:
- Input Tokens: $0.01 per 1 million tokens
- Output Tokens: $0.01 per 1 million tokens
The cost is determined using the following formula:
Total Cost = (Number of Input Tokens * Input Cost per Token) + (Number of Output Tokens * Output Cost per Token) * Number of Requests
Where:
- Input Cost per Token = $0.01 / 1,000,000
- Output Cost per Token = $0.01 / 1,000,000
Example:
For 10,000 input tokens and 2,000 output tokens for 1 request:
- Input Cost: (10,000 / 1,000,000) * $0.01 * 1 = $0.0001
- Output Cost: (2,000 / 1,000,000) * $0.01 * 1 = $0.00002
- Total Estimated Cost: $0.0001 + $0.00002 = $0.00012
Note: Calculation is approximate based on public data. Prices may change; check official websites.