---
title: "RubyLLM (tracing)"
description: "Use RubyLLM with Respan: gateway routing, model switching, and full observability."
---

[RubyLLM](https://rubyllm.com/) provides a unified Ruby interface for GPT, Claude, Gemini, and more. Since Respan is OpenAI-compatible, you can route all RubyLLM requests through the Respan gateway by pointing the OpenAI base URL to Respan and get full observability automatically.

<Accordion title="Set up Respan">
Create an account at [platform.respan.ai](https://platform.respan.ai) and grab an [API key](https://platform.respan.ai/platform/gateway/api-keys).
</Accordion>

Paste this into your coding agent:

```text
Help me set up Respan tracing with the RubyLLM integration.
Follow https://www.respan.ai/docs/integrations/ruby-llm.md
```

## Gateway

See [RubyLLM gateway setup](/docs/gateway/ruby-llm) to route this integration through the Respan gateway.
