Why doesn't the Responses API support logprobs?

I can confirm that this works. :slight_smile:

curl -v https://api.openai.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "gpt-4.1-nano-2025-04-14",
    "input": "Hello",
    "top_logprobs": 20,
    "include": ["message.output_text.logprobs"]
  }'
2 Likes