Install LLM analytics with PostHog

Last updated:

|Edit this page|

Choose your platform below to get started with LLM analytics installation.

Questions? Ask Max AI.

It's easier than reading through 728 pages of documentation

Community questions

Was this page useful?

Next article

OpenAI LLM analytics installation

LLM analytics is currently considered in beta . To access it, enable the feature preview in your PostHog account. Setting up analytics starts with installing the PostHog SDK for your language. LLM analytics works best with our Python and Node SDKs. Install the OpenAI SDK: In the spot where you initialize the OpenAI SDK, import PostHog and our OpenAI wrapper, initialize PostHog with your project API key and host from your project settings , and pass it to our OpenAI wrapper. Note: This also…

Read next article