FAQ

Frequently Asked Questions

Do TypeScript types still work?

Yes. The response types are identical to OpenAI, so your existing type annotations work unchanged.

Does streaming work?

Yes. Use stream: true and iterate over the async iterator exactly like OpenAI.

Can I use this with Next.js?

Yes. The SDK works in Next.js API routes, Server Actions, and Edge Runtime.