Note: Calculation is approximate based on public data. Prices may change, check official websites.
This calculator estimates the cost of using OpenAI's GPT-4.1 Nano model. Input your number of input tokens, output tokens, and the number of requests to get an approximate cost breakdown. You can also choose to calculate the cost in EUR and input a custom exchange rate.
Model: OpenAI GPT-4.1 Nano
Pricing:
- Input Tokens: $0.1 per 1 Million tokens
- Output Tokens: $0.4 per 1 Million tokens
- Context Size: 1,047,576 tokens
Formula: Total Cost = (Number of Input Tokens / 1,000,000 * Input Cost per 1M) * Number of Requests + (Number of Output Tokens / 1,000,000 * Output Cost per 1M) * Number of Requests
Example: If you use 500,000 input tokens, 200,000 output tokens, and make 10 requests: Input Cost = (500,000 / 1,000,000 * $0.1) * 10 = $0.5 * 10 = $5.00 Output Cost = (200,000 / 1,000,000 * $0.4) * 10 = $0.08 * 10 = $0.80 Total Cost = $5.00 + $0.80 = $5.80
Note: Calculations are approximate and based on publicly available pricing. Actual costs may vary.