Skip to main content
APIXO keeps the streaming protocol of the compatible API you call. Use the same streaming switch and parser your existing Claude, OpenAI, or Gemini client already expects.

Streaming switches

Claude streaming

OpenAI Responses streaming

Gemini streaming

Troubleshooting

  • Test non-streaming first if a third-party app fails to read streamed events.
  • Confirm the app supports the same provider streaming format.
  • Confirm your API key is available as APIXO_API_KEY.
  • Retry transient 429, 502, and 504 errors with backoff.
See Errors and Retry for retry guidance.

Production streaming best practices

  • Buffer management: Ensure your HTTP client and reverse proxy (such as Nginx or Cloudflare) disable response buffering so SSE events arrive with minimal latency.
  • Client disconnection handling: Implement disconnection handlers (AbortController in JavaScript or the client’s cancellation mechanism) to stop reading the response and release local stream resources when end users disconnect.
  • Backpressure handling: Consume and render stream chunks asynchronously to prevent blocking the UI event loop during high-throughput token bursts.