1. Learn
  2. /
  3. Courses
  4. /
  5. Working with the OpenAI Responses API

Connected

Exercise

Reasoning About Reasoning

Now you've experimented with the different models available, let's try out the two other parameters introduced in the video: reasoning and max_output_tokens.

Here's the challenge:

  • Find the correct answer to the question: How many of the letter 's' are in the sentence, 'Mississippi are possessive over their successes?' using an LLM. Spoiler: the answer is 12.
  • The code must run in under 8 seconds!

You can use any model out of the options: gpt-5-nano, gpt-5-mini, and gpt-5.

Instructions

100 XP
  • Complete the challenge by correctly finding the answer to the prompt provided, and in under 8 seconds!