meta/meta-llama-3-70b-instruct
from openai import OpenAI
client = OpenAI(
base_url="https://api.replicate.com/v1",
api_key="YOUR_API_KEY",
)
response = client.chat.completions.create(
model="meta/meta-llama-3-70b-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Other free options: see every provider serving this model. Don't have a key yet? See how to get one — quick registration required.
Yes. meta/llama-3-70b-instruct is currently available on Replicate's free tier (registration required).
Use the model ID "meta/meta-llama-3-70b-instruct" with Replicate's API at https://api.replicate.com/v1.
Varies by model; Credit-based.
8,000 tokens tokens on Replicate.