I am making use of the Open AI API - and that works fine. The only thing I do not understand is the cost of the different tokens. When I send my request - I am also retrieving the different tokens:
- Completion tokens: 45
- InputTokens: 1567
- Total: 1612
If I calculate the cost via the pricing of the website - it should cost me:
- gpt-4o: $2.50 / 1M input tokens
- gpt-4o: $10.00 / 1M output tokens
Based on this pricing - it will cost me: 0,0000025 x 1567 = $0,0039
0,00001 x 45 = $0,00045
Total cost: $0,004535 (about half a dollar cent)
When I look at mij use cost in my profile - is see that it will cost around $0,04 (4 dollar cent) and that is 10 time more.
Can someone explain this?