Helicone (gateway)
Use Respan Gateway when you want to replace Helicone Gateway routing with Respan request logs, provider routing, fallbacks, prompt management, and metadata. This gateway-only path does not require HeliconeManualLogger, a Helicone API key, or a Respan Helicone instrumentor.
For applications that keep sending Manual Logger records to Helicone and want to trace those records in Respan, use the Helicone tracing setup instead.
Set up Respan Gateway
Create an account at platform.respan.ai, grab an API key, and add credits or a provider key.
Setup
Set environment variables
No HELICONE_API_KEY or provider API key is required when billing through Respan Gateway credits. For BYOK, configure the provider credential in Respan.
When migrating an existing Helicone proxy client, remove Helicone-Auth, Helicone-Target-Url, Helicone-Target-Provider, and any other Helicone-specific headers. Replace the client API key with RESPAN_API_KEY before changing the base URL so a Helicone secret is never sent to Respan.
View your request log
Open the Logs page to inspect the routed request, response, model, usage, latency, and gateway metadata.
Switch models
Keep the same OpenAI-compatible client and change the model ID to route to another supported model.
See the full model list.
Respan parameters
Attach identifiers, configure fallbacks, and add metadata with Respan request fields. Python’s OpenAI SDK accepts them through extra_body; in TypeScript, extend the OpenAI request type and send the fields at the request-body root.
See Respan params & metadata for the full list.
Keep Helicone Manual Logger in parallel
You can call Respan Gateway inside a Helicone Manual Logger callback, but the two systems record different telemetry for the same model call:
- Respan Gateway automatically creates a request log for the routed call.
HeliconeInstrumentorcreates a separate canonical span for the Helicone manual-log lifecycle.- Helicone continues receiving its own Manual Logger record.
Use this dual-observability setup only when those separate records are intentional. Otherwise, use the gateway-only setup on this page or the Manual Logger tracing setup, not both.