Skip to main content

Groq + Llama 3 + Portkey

Use blazing fast Groq API with OpenAI Compatibility using Portkey!

You will need Portkey and Groq API keys to run this notebook.
  • Sign up for Portkey and generate your API key here
  • Get your Groq API key here

With OpenAI Client

With Portkey Client

Note: You can safely store your Groq API key in Portkey and access models using virtual key

Observability with Portkey

By routing requests through Portkey you can track a number of metrics like - tokens used, latency, cost, etc.