LLlama 3.1 8B Instruct
Fast, low-cost 8B instruction-tuned chat model.
by TokeonAIOpenAI-compatible
Base URLhttps://api.tokeon.blocify.cloud/llama-chat/v1
Overview
Meta Llama 3.1 8B Instruct served on Tokeon GPUs. Model id: `llama-3.1-8b-instruct`.
Plans and pricing
Pay-as-you-go
$0
- $0.1000 per 1M input tokens
- $0.3000 per 1M output tokens
- 20 requests/second
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.tokeon.blocify.cloud/llama-chat/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)Only the base URL changes. Keep your existing OpenAI SDK, then pick any model id from this page.
Playground
Log in to try this API from your browser with one of your keys.
Reviews
No reviews yet.
Log in to leave a review.