Why is this amount deducted?

I am running openAi api and this information for tokens
output_tokens=230
input_tokens=601
total_tokens=831
So, Why are 0.2$ deducted from this?
Although I see in the documentation that every million tokens is worth two or three dollars

  1. Which model did you use?
  2. Did you include tools such as web search and file search? They are charged separately.
  3. You can detail your billing exporting a csv of your usage.
3 Likes
  1. I am using the “GPT-4” model.
  2. I’m only using “function calling”, no web search or file search tools.
  3. I checked the usage details for today.
  • Input tokens: 1,807
  • Output tokens: 653
  • Total cost: $0.11
  • This is for 3 separate requests.

I’m still new to the API and would love to hear any suggestions for managing usage and keeping costs low.

GPT 4 is $30 per million tokens input $40 output, that’s why you are finding it expensive.

Try using gpt-4.1, it’s cheaper.

1 Like