TinyLlama

Local context

Model ID

tinyllama-1.1b-chat-v1.0.Q8_0

Use It in Python

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8080/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="tinyllama-1.1b-chat-v1.0.Q8_0",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Don't have a key yet? See how to get one — quick registration required.

Free Tier Limits (llamafile)

Rate Limit
Hardware dependent
Daily Limit
Unlimited
Monthly Limit
Free Open Source
Get Your API Key View llamafile

More free models from llamafile