Incorrect token logging for GPT 5.1 using API

Using GPT 5.1 with reasoning set to none, and web search tool enabled with JSON Schema.

Comparing only for the input, as input is same, but output varies,

In the API logs, for the API request sent from locally, it shows 3x input tokens (input tokens are only 6,348t and no web search tool was used in either of the instances)

On OpenAI’s playground, it says:

Screenshot 2025-11-18 at 11.03.54

The playground value is actually the correct one. So either the API based token logging is incorrect, or it used web search and did not explicitly show that in the logs

1 Like