I hate migrations. This one took me two lines.
model: "gpt-4o" → model: "text-prime"
baseurl: openai → baseurl: api.thegrid.ai/v1
Same SDK. Same streaming and tool-calling. Nothing else changes, except your requests now clear against a live market.
Video