Grok 4 Fast · aihubmix
puede estar retirado
Grok-4-fast is a cost-effective inference model developed by xAI that delivers cutting-edge performance with excellent token efficiency. The model features a 2 million token context window, advanced Web and X search capabilities, and a unified architecture supporting both "inference" and "non-inference" modes. Compared to Grok 4, it reduces thinking tokens by an average of 40% and lowers the price by 98% while achieving the same performance.
Entrada, $/1M $0.20
Salida, $/1M $0.50
Contexto 1 000 000
Salida máx. 30 000
Acepta imágenes, texto
Última comprobación 04.11.2026 12:26:37 UTC
Fuente página del proveedor
Alertas de precio
API
API compatible con OpenAI: los SDK oficiales de OpenAI funcionan con esta URL base. Sustituye YOUR_API_KEY por tu clave del proveedor.
| URL base de la API | |
|---|---|
| Endpoint | |
| ID del modelo | |
curl
curl https://aihubmix.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "grok-4-fast-non-reasoning", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "grok-4-fast-non-reasoning",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "grok-4-fast-non-reasoning",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Solicitud (JSON)
{
"model": "grok-4-fast-non-reasoning",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Respuesta (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "grok-4-fast-non-reasoning",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}La dirección se toma de la lista de modelos del proveedor; compruébala con su documentación.
Source: AI Rate Card, https://airatecard.com/es/c/offer%3Aaihubmix%7Cgrok-4-fast-non-reasoning, prices checked 2026-11-04; seller's page: https://aihubmix.com
Datos técnicos
ID: offer:aihubmix|grok-4-fast-non-reasoning