TensaHub › Hugging Face Inference

command-a-plus-05-2026-bf16 · Cohere

API del modelo CohereLabs/command-a-plus-05-2026-bf16:cohere en Hugging Face Inference, $0.3 / $1.5 por millón de tokens, contexto 192.000 tokens. Ejemplos en curl, Python y JavaScript, prueba en directo.

Probar y valorar en el catálogo

CohereLabs/command-a-plus-05-2026-bf16 served by Cohere through the Hugging Face router (fp8 quantization).

Tipo
Modelo
Proveedor
Hugging Face Inference
Alojamiento
Cohere
ID del modelo
CohereLabs/command-a-plus-05-2026-bf16:cohere
Precio
De pago
Precio entrada / salida
$0.3 / $1.5 por millón de tokens
Acceso sin clave
No
Variable de clave
HF_TOKEN
URL base (compatible con OpenAI)
https://router.huggingface.co/v1
Contexto
192.000 tokens
Entradas
Texto, Imagen
Funciones
Llamada a herramientas, Salida JSON
Tiempo de respuesta
Primer token 475 ms · 112 tokens/s · disponibilidad 100 %
Valoración de desarrolladores
Aún sin valorar
Documentación
https://huggingface.co/CohereLabs/command-a-plus-05-2026-bf16

Ejemplos de código

cURL

curl https://router.huggingface.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HF_TOKEN" \
  -d '{"model":"CohereLabs/command-a-plus-05-2026-bf16:cohere","messages":[{"role":"user","content":"Hola, preséntate en una frase."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
    model="CohereLabs/command-a-plus-05-2026-bf16:cohere",
    messages=[{"role": "user", "content": "Hola, preséntate en una frase."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
  model: 'CohereLabs/command-a-plus-05-2026-bf16:cohere',
  messages: [{ role: 'user', content: 'Hola, preséntate en una frase.' }],
})
console.log(r.choices[0].message.content)

Generar el código de integración →

Búsquedas populares

Preguntas frecuentes

¿Es gratuita la API de command-a-plus-05-2026-bf16 · Cohere?

No: command-a-plus-05-2026-bf16 · Cohere es una API de pago ($0.3 / $1.5 por millón de tokens).

¿Cómo llamo a command-a-plus-05-2026-bf16 · Cohere desde mi código?

command-a-plus-05-2026-bf16 · Cohere ofrece una API compatible con OpenAI en https://router.huggingface.co/v1: usa cualquier SDK de OpenAI (Python, JavaScript…) con esta URL base. Identificador del modelo: CohereLabs/command-a-plus-05-2026-bf16:cohere. Hay código listo para usar (streaming, JSON, reintentos) en la caja de herramientas para desarrolladores.

¿Cuál es la ventana de contexto de command-a-plus-05-2026-bf16 · Cohere?

command-a-plus-05-2026-bf16 · Cohere acepta hasta 192.000 tokens de contexto (mensaje e historial).