Llama 3.1 70B Instruct
Llama 3.1 70B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.
Explore Llama 3.1 70B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses through the unified API. Supported interfaces and current availability are shown below.
- OpenAI-style Chat Completions
- Anthropic-style Messages
- OpenAI-style Responses
Model details
- Context window
- 128K tokens
- Max output
- 2K tokens
- Input
- Text
- Output
- Text
- Capabilities
- Streaming
- Interfaces
- OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses
Pricing
Per 1M tokens. The Inferray price is what you are charged — no gateway fee is added on top of it.
| Metric | Price |
|---|---|
| Input | $0.792 |
| Cached input | Price not published |
| Output | $0.792 |
Why teams pick it
- Llama 3.1 70B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.
Call Llama 3.1 70B Instruct
Llama 3.1 70B Instruct answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.
/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-70b-instruct",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-70b-instruct",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
-H "Authorization: Bearer inferray_..." \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-70b-instruct",
"input": "Hello"
}'Conversation compaction is also available at POST /v1/responses/compact.
More from Meta
Llama 3.2 11B InstructLlama 3.2 11B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.$0.07 in · $0.33 outLlama 3.3 70B InstructLlama 3.3 70B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.$0.13 in · $0.4 outLlama 4 Maverick 17B InstructLlama 4 Maverick 17B Instruct for OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses.$0.264 in · $1.067 out
Questions about this model
- How much does the Llama 3.1 70B Instruct API cost?
- Llama 3.1 70B Instruct costs $0.792 per 1M input tokens and $0.792 per 1M output tokens on Inferray. That is the list price, with no gateway fee on top.
- Is there a free tier for Llama 3.1 70B Instruct?
- No. You add credit and pay Llama 3.1 70B Instruct's list rate for each request — seats, projects, and API keys are free, and pay-as-you-go credit never expires.
- Am I charged for failed requests?
- No. A request that fails without returning a result is not billed. If a response fails part-way, the tokens already processed before the failure are charged.
- Is Llama 3.1 70B Instruct included in Token Plans?
- No. Llama 3.1 70B Instruct is pay-as-you-go only; Token Plans cover the other text models in the catalog.
- Can I use Llama 3.1 70B Instruct in Claude Code?
- Yes. Set ANTHROPIC_BASE_URL to https://api.inferray.com, ANTHROPIC_AUTH_TOKEN to your Inferray key, and ANTHROPIC_MODEL to llama-3.1-70b-instruct. The same key works in Codex, opencode, Cline, and other agents.
- Does Llama 3.1 70B Instruct support tool calling and vision?
- Llama 3.1 70B Instruct supports streaming on Inferray. It does not take image input. It does not support tool calling.
- Is it the real Llama 3.1 70B Instruct?
- Yes. A request for llama-3.1-70b-instruct is answered by Llama 3.1 70B Instruct from Meta, billed at its published list price. Inferray never substitutes a different or smaller model.