I have LiteLLM server running locally with Langfuse to view traces. You configure LiteLLM to connect directly to providers' APIs. This has the added benefit of being able to create LiteLLM API keys per project that proxies to different sets of provider API keys to monitor or cap billing usage.
I use https://github.com/LLemonStack/llemonstack/ to spin up local instances of LiteLLM and Langfuse.