Hello, can someone please help with how to add open-router or groq as a provider in phoenix cloud in the playground tab ??
Phoenix Cloud natively supports both OpenRouter and Groq as LLM providers. For OpenRouter, you can use the OpenAI-compatible API by setting your OpenRouter API key and base URL in the playground or as environment variables (OPENAI_API_KEY and base_url). For Groq, it is available as a first-class provider in the playground, and you can select it directly from the provider dropdown鈥攋ust supply your Groq API key when prompted. No custom provider setup is required for either; both are integrated into the Phoenix Cloud UI and prompt playground as selectable options. For OpenRouter, ensure you use the correct base URL (https://openrouter.ai/api/v1) and your OpenRouter API key. For Groq, select it from the provider list and enter your API key. If you need to set credentials server-side, use the appropriate environment variables as described in the documentation. See OpenRouter Tracing and Groq Tracing for details.Would you like more detail or code examples?Sources: - OpenRouter Tracing - Groq Tracing - Phoenix GitHub Issue: Groq as Provider
馃挕聽Hint: Mention RunLLM in the thread for followups.
As of right now Phoenix supports custom LLM APIs if they are compatible with OpenAI via base_url customization within the OpenAI provider on playground. Phoenix Cloud does not support customizing the base_url to local endpoints, and hosted endpoints may not work depending on where they are located. In those cases, a self-hosted phoenix instance may better suit your needs
