C.W.K.
Stream
Quiz · 6 questions

🧱 OpenAI API Fundamentals

Roles, models, tokens, auth, rate limits, parameters

Level 0Tokenizer
0 XP0/54 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

Quiz

01On Chat Completions, you sent max_completion_tokens=50 but the response was truncated mid-sentence. Which finish_reason did you observe?
Hint
It's about hitting the budget, not the content.
02Which of these is the right way to pin a model in production?
Hint
Stable build = stable input.
03You see x-ratelimit-remaining-requests dropping to 5% of the limit. What's the right move?
Hint
The headers exist for exactly this.
04Why does OpenAI recommend the 'developer' role over 'system' on GPT-5.x?
Hint
It's about who the model listens to harder.
05When does prompt caching kick in on OpenAI?
Hint
Long stable prefix wins.
06max_tokens vs max_completion_tokens — which should you use on new code targeting Responses or o-series?
Hint
Newer name, less ambiguous semantics.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.