Seedance 2.0 −20 % | Créez dans le Video Generator →
meta
meta-llama/llama-4-maverick

meta-llama/llama-4-maverick

1,048,576 context · $0.15/M input tokens · $0.60/M output tokens

Llama 4 Maverick 17B Instruct (128E) is a high-capacity multimodal language model from Meta, built on a mixture-of-experts (MoE) architecture with 128 experts and 17 billion active parameters per forward...

Tarification

Paiement à l'usage

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

Entrée$0.15 / M Tokens
Sortie$0.60 / M Tokens

Essayer le modèle

meta-llama/llama-4-maverick
En ligne
meta
Bonjour ! Je suis un assistant IA utile. Que puis-je faire pour vous ?

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-4-maverick",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

Introduction au modèle

Meta-Llama llama-4-maverick

meta-llama llama-4-maverick


Why It Looks Great

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

Key Features

  • Context Window: 1048576 tokens
  • Max Output: 16384 tokens
  • Vision: Supported
  • Function Calling: Supported

Specifications

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

Pricing

Token TypeCost per Million Tokens
Input$0.2
Output$0.7

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-4-maverick


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-4-maverick",
    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-4-maverick",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Notes

  • Model: meta-llama/llama-4-maverick
  • Provider: Meta-Llama

Infos

Fournisseurmeta
Typellm

Fonctionnalités prises en charge

Entrée
TexteImage
Sortie
Texte
Contexte1,048,576
Sortie max16,384
Vision✓ Pris en charge
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-4-maverick

Llama 4 Maverick API

meta-llama/llama-4-maverick

Llama 4 Maverick 17B Instruct (128E) is a high-capacity multimodal language model from Meta, built on a mixture-of-experts (MoE) architecture with 128 experts and 17 billion active parameters per forward...

Entrée

$0.15 /M

Sortie

$0.6 /M

Contexte

1049K

Sortie max.

16K

Vision

Pris en charge

Utilisation d'outils

Pris en charge

Essayez Llama 4 Maverick sur WaveSpeedAI

Accédez à Llama 4 Maverick via notre API unifiée — compatible OpenAI, sans démarrages à froid, prix transparents.

Questions fréquentes sur Llama 4 Maverick

Combien coûte l'API Llama 4 Maverick ?+

Tarification sur WaveSpeedAI : $0.15 par million de tokens d'entrée et $0.60 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 4 Maverick ?+

Llama 4 Maverick prend en charge jusqu'à 1049K tokens de contexte et jusqu'à 16K tokens de sortie par requête.

Llama 4 Maverick est-il compatible avec OpenAI ?+

Oui. WaveSpeedAI expose Llama 4 Maverick 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 4 Maverick ?+

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 4 Maverick.

APIs LLM associées