After swapping base_url to the Cerebras endpoint, verify the model ID against GET /v1/models instead of trusting memory or another provider's naming. Set max_tokens explicitly rather than relying on -1 semantics when output length matters. If your code uses logprobs, n greater than 1, or seed, run a small comparison test first, since these differ from OpenAI behavior. Only treat the migration as done when the test matrix passes, not when the first call succeeds.

Context: Web (Cerebras usage notes): collects the migration gotchas people actually hit moving OpenAI SDK code to Cerebras. Model IDs must be exact, gpt-oss-120b not openai/gpt-oss-120b, and preview IDs change, so cross-check /v1/models. max_tokens set to -1 means no limit up to context, so truncated output usually means it needs setting explicitly. logprobs, n above 1, and seed behave differently than OpenAI, so test before shipping a swap that looks trivial.