Seedance 2.0 | Special Offer ✦ 10% OFF NOW
meta
meta-llama/llama-3.1-70b-instruct

meta-llama/llama-3.1-70b-instruct

131,072 context · $0.40/M input tokens · $0.40/M output tokens

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 70B instruct-tuned version is optimized for high quality dialogue usecases. It has demonstrated strong...

Tarification

Paiement à l'usage

Aucun coût initial, payez uniquement ce que vous utilisez

Entrée$0.40 / M Tokens
Sortie$0.40 / M Tokens

Utilisation de l'API

Utilisez les exemples de code suivants pour intégrer notre API :

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-3.1-70b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Introduction au modèle

Meta-Llama llama-3.1-70b-instruct

meta-llama llama-3.1-70b-instruct


Why It Looks Great

  • Large Language Model architecture for efficient processing
  • 131072 context window for long document handling
  • Competitive pricing at $0.4/$0.4 per million tokens

Key Features

  • Context Window: 131072 tokens
  • Max Output: 4096 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

SpecificationValue
ProviderMeta-Llama
Model TypeLarge Language Model (LLM)
ArchitectureN/A
Context Window131072 tokens
Max Output4096 tokens
InputText
OutputText
VisionSupported
Function CallingSupported

Pricing

Token TypeCost per Million Tokens
Input$0.4
Output$0.4

How to Use

  1. Write your prompt — describe the task, provide context, and specify desired output format.
  2. Submit — the model processes your request and returns the response.

API Integration

Base URL: https://llm.wavespeed.ai/v1 API Endpoint: chat/completions Model ID: meta-llama/llama-3.1-70b-instruct


API Usage

Python SDK

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://llm.wavespeed.ai/v1"
)

response = client.chat.completions.create(
    model="meta-llama/llama-3.1-70b-instruct",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

cURL

curl https://llm.wavespeed.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "meta-llama/llama-3.1-70b-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: meta-llama/llama-3.1-70b-instruct
  • Provider: Meta-Llama

Infos

Fournisseurmeta
Typellm

Fonctionnalités prises en charge

Entrée
Texte
Sortie
Texte
Contexte131,072
Sortie max4,096
Vision-
Function Calling✓ Pris en charge

Guide d'accès API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID du modèlemeta-llama/llama-3.1-70b-instruct

Llama 3.1 70b Instruct API

meta-llama/llama-3.1-70b-instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 70B instruct-tuned version is optimized for high quality dialogue usecases. It has demonstrated strong...

Entrée

$0.4 /M

Sortie

$0.4 /M

Contexte

131K

Sortie max.

4K

Utilisation d'outils

Pris en charge

Essayez Llama 3.1 70b Instruct sur WaveSpeedAI

Accédez à Llama 3.1 70b Instruct via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.

Ouvrir le Playground

Questions fréquentes sur Llama 3.1 70b Instruct

Combien coûte l'API Llama 3.1 70b Instruct ?+

Tarification sur WaveSpeedAI : $0.40 par million de tokens d'entrée et $0.40 par million de tokens de sortie. Le prompt caching et le traitement par batch sont facturés séparément et réduisent le coût effectif sur les charges longues et répétitives.

Quelle est la fenêtre de contexte de Llama 3.1 70b Instruct ?+

Llama 3.1 70b Instruct prend en charge jusqu'à 131K tokens de contexte et jusqu'à 4K tokens de sortie par requête.

Llama 3.1 70b Instruct est-il compatible avec OpenAI ?+

Oui. WaveSpeedAI expose Llama 3.1 70b Instruct via un endpoint compatible OpenAI à https://llm.wavespeed.ai/v1. Pointez le SDK officiel d'OpenAI vers cette base URL avec votre clé API WaveSpeedAI — aucune autre modification de code requise.

Comment démarrer avec Llama 3.1 70b Instruct ?+

Connectez-vous à WaveSpeedAI, créez une clé API dans Access Keys, puis envoyez une requête à https://llm.wavespeed.ai/v1/chat/completions avec l'id du modèle affiché ci-dessus. Les nouveaux comptes reçoivent des crédits gratuits pour évaluer Llama 3.1 70b Instruct.

APIs LLM associées