Meta (Llama)
Llama 3.1 8B
model
openrouter/llama-3.1-8bBudgetStable★ Low cost in tierStreamingToolsBatchLong contextUnited States
Context
131K
Input / 1M tokens
$0.0500
Output / 1M tokens
$0.0800
About this model
Llama 3.1 8B
Llama 3.1 8B is a budget-tier model available through the Anoman gateway. Detailed performance benchmarks and use-case guidance for this model are coming soon. In the meantime, see the code example below to integrate it into your workflow, and the tier + region information in the hero for pricing and residency.
Code example
Chat completion with Llama 3.1 8B
from openai import OpenAI
client = OpenAI(
base_url="https://api.anoman.io/v1",
api_key="anm-sk-..."
)
response = client.chat.completions.create(
model="openrouter/llama-3.1-8b",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)