Free alternative to OPEN AI Key

Hello everyone,

I've noticed that Open AI is no longer offering free trial credits for learning purposes. As an alternative, I highly recommend exploring Groq. This platform allows you to create a free API key and experiment with a wide range of open-source models.

In my upcoming labs, I'll be using Groq and guiding you through the process step-by-step. In the meantime, I encourage you to visit the Groq website, create a free API key, and start practicing. One of the key benefits of Groq is its incredibly fast inference speed, which significantly reduces latency. I think you'll be impressed with the results.

Give Groq a try and let me know what you think!"

Grow key can be created here -

GroqCloud

And a sample code to use it

import os

from groq import Groq

client = Groq() --ensure your key is part of env 

chat_completion = client.chat.completions.create(
    messages=[
        {
            "role": "user",
            "content": "Explain the importance of fast language models",
        }
    ],
    model="llama-3.3-70b-versatile",
)

print(chat_completion.choices[0].message.content)