llama-3-70b
NixAPI price, from
USD per 1M tokens · via group Self-Deployed-2 · Official list price $4 / $8Save 16%
About llama-3-70b
The latest Meta Llama 3 model with 7 billion parameters.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Self-Deployed-2 | … | ×0.845 | $3.38 | $6.76 | — | — | |
Self-Deployed-3 | … | ×1.2675 | $5.07 | $10.14 | — | — |
USD per 1M tokens
Supported endpoints
Call llama-3-70b in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3-70b",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="llama-3-70b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "llama-3-70b",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about llama-3-70b
How much does llama-3-70b cost on NixAPI?
From $3.38 per 1M input tokens and $6.76 per 1M output tokens in the Self-Deployed-2 group, about 16% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call llama-3-70b?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "llama-3-70b".
Which routing groups serve llama-3-70b?
llama-3-70b is available in 2 routing groups: Self-Deployed-2, Self-Deployed-3. The lowest price is in Self-Deployed-2.