clerk.chat.together.ai → Copy → Copy as cURL (bash).
Important: copy the cURL from a clerk.chat.together.ai request, not from
chat-completion. The session-restoring cookie is __client, and it is
scoped to the clerk. subdomain — a chat-completion request does not carry it
(a __refresh_* cookie alone is not enough; verified).
__session is ignored on purpose: it expires in 60 seconds, and seeding a dead
one makes Together return Internal Server Error. The browser profile mints fresh ones itself.
Point any OpenAI client at:
…
Model: glm-5.2 · API key = any value unless
TOGETHER2API_KEYS is set. Streaming and non-streaming both work;
reasoning arrives wrapped in <think> tags.