Seedance 2.0 SCONTO 20% | Crea nel Video Generator →
xai
x-ai/grok-4.20

x-ai/grok-4.20

2,000,000 context · $2.00/M input tokens · $6.00/M output tokens

Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently...

Prezzi

Pay-per-use

Nessun costo iniziale, paga solo per ciò che usi

Input$2.00 / M Tokens
Output$6.00 / M Tokens
Cache Read$0.20 / M Tokens

Prova il modello

x-ai/grok-4.20
Online
xai
Ciao! Sono un assistente IA utile. Come posso aiutarti?

Utilizzo API

Usa i seguenti esempi di codice per integrare la nostra 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="x-ai/grok-4.20",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

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

Info

Providerxai
Tipollm

Funzionalità supportate

Input
TestoImmagine
Output
Testo
Contesto2,000,000
Output massimo-
Vision✓ Supportato
Function Calling✓ Supportato

Guida all'accesso API

Base URLhttps://llm.wavespeed.ai/v1
API Endpointchat/completions
ID modellox-ai/grok-4.20

Grok 4.20 API

x-ai/grok-4.20

Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently...

Input

$2 /M

Output

$6 /M

Contesto

2000K

Vision

Supportato

Uso strumenti

Supportato

Prova Grok 4.20 su WaveSpeedAI

Accedi a Grok 4.20 tramite la nostra API unificata — compatibile con OpenAI, senza cold start, prezzi trasparenti.

Domande frequenti su Grok 4.20

Quanto costa Grok 4.20 via API?+

Prezzi su WaveSpeedAI: $2.00 per milione di token in input e $6.00 per milione di token in output. Prompt caching e batch processing sono fatturati separatamente e riducono il costo effettivo su carichi lunghi e ripetitivi.

Qual è la context window di Grok 4.20?+

Grok 4.20 supporta fino a 2000K token di contesto e fino a — token di output per richiesta.

Grok 4.20 è compatibile con OpenAI?+

Sì. WaveSpeedAI espone Grok 4.20 tramite un endpoint compatibile con OpenAI all'indirizzo https://llm.wavespeed.ai/v1. Punta l'SDK ufficiale di OpenAI a questa base URL con la tua API key WaveSpeedAI — senza altre modifiche al codice.

Come si inizia con Grok 4.20?+

Accedi a WaveSpeedAI, crea una API key in Access Keys, poi invia una richiesta a https://llm.wavespeed.ai/v1/chat/completions con il model id mostrato sopra. I nuovi account ricevono crediti gratuiti per testare Grok 4.20.

API LLM correlate