LLM ReferenceLLM Reference
OpenRouter

Llama 3.1 70B Instruct on OpenRouter

Llama 3.1 · AI at Meta

ServerlessOpen Source

Last refreshed 2026-05-11. Next refresh: weekly.

Why use Llama 3.1 70B Instruct on OpenRouter?

OpenRouter offers Llama 3.1 70B Instruct with pay-as-you-go pricing at $0.40/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Compare Llama 3.1 70B Instruct across 11 providers to find the best fit for your use case
Input / 1M
$0.40
Output / 1M
$0.40
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: meta-llama/llama-3.1-70b-instruct
Model ID
meta-llama/llama-3.1-70b-instruct

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID meta-llama/llama-3.1-70b-instruct.

Gotchas

  • Use provider model ID "meta-llama/llama-3.1-70b-instruct", not the LLMReference slug "llama3.1-70b-instruct".

Compare Llama 3.1 70B Instruct Across Providers

ProviderInput (per 1M)Output (per 1M)
OctoAI API (Deprecated)$0.90$0.90
Together AI$0.88$0.88
Fireworks AI$0.90$0.90
NVIDIA NIM
Microsoft Foundry$2.68$3.54
View all 11 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.40
Output tokens$0.40

Capabilities

Structured Outputs

About Llama 3.1 70B Instruct

The Llama 3.1 70B Instruct model is a cutting-edge large language model with 70 billion parameters, designed for instruction-following tasks. It features multilingual capabilities, supporting languages like English, German, French, and others. Fine-tuned using supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF), it excels in understanding and responding to user instructions. The model can handle a context length of up to 128k tokens, making it suitable for complex dialogue systems and applications requiring detailed responses. It outperforms many existing open-source and proprietary models on various industry benchmarks, making it ideal for conversational AI, content generation, and data synthesis tasks. For more details, visit the Hugging Face page [1].

FAQ

What does Llama 3.1 70B Instruct cost on OpenRouter?

On OpenRouter, Llama 3.1 70B Instruct costs $0.4 per 1M input tokens and $0.4 per 1M output tokens.

What is the context window for Llama 3.1 70B Instruct on OpenRouter?

Llama 3.1 70B Instruct supports a 131,072 token context window on OpenRouter.

How does OpenRouter compare to other Llama 3.1 70B Instruct providers?

Llama 3.1 70B Instruct is available from 11 providers. The cheapest input pricing is $0.40/1M tokens from Hyperbolic AI Inference.

What API model ID do I use for Llama 3.1 70B Instruct on OpenRouter?

Use the model ID meta-llama/llama-3.1-70b-instruct when calling OpenRouter's API.

Who created Llama 3.1 70B Instruct?

Llama 3.1 70B Instruct was created by AI at Meta as part of the Llama 3.1 model family.

Is Llama 3.1 70B Instruct open source?

Llama 3.1 70B Instruct is open source according to the seed data.

Get Started