Llama 3.1 8B Instruct
llama-3.1-8b-instruct
chat131,072 token contextLlama 3.1 Community
Input
$0.1000
per 1M tokens
Output
$0.3000
per 1M tokens
Use it
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokeon.blocify.cloud/v1", # the one line you change
api_key="tk_live_...",
)
resp = client.chat.completions.create(
model="llama-3.1-8b-instruct",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Base URL https://api.tokeon.blocify.cloud/v1. Listing page: llama-chat.