API do modelo reflection/Beam-1.0-501B-A23B:together na Hugging Face Inference, $0.4 / $1.2 por milhão de tokens, contexto 1.048.576 tokens. Exemplos em curl, Python e JavaScript, teste ao vivo.
reflection/Beam-1.0-501B-A23B served by Together through the Hugging Face router.
- Tipo
- Modelo
- Provedor
- Hugging Face Inference
- Hospedagem
- Together
- ID do modelo
reflection/Beam-1.0-501B-A23B:together- Preço
- Pago
- Preço entrada / saída
- $0.4 / $1.2 por milhão de tokens
- Acesso sem chave
- Não
- Variável da chave
HF_TOKEN- URL base (compatível com OpenAI)
https://router.huggingface.co/v1- Contexto
- 1.048.576 tokens
- Entradas
- Texto
- Recursos
- Chamada de ferramentas, Saída JSON
- Tempo de resposta
- Primeiro token 210 ms · 292 tokens/s · disponibilidade 100 %
- Avaliação dos desenvolvedores
- Ainda sem avaliação
- Documentação
- https://huggingface.co/reflection/Beam-1.0-501B-A23B
Exemplos de código
cURL
curl https://router.huggingface.co/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HF_TOKEN" \
-d '{"model":"reflection/Beam-1.0-501B-A23B:together","messages":[{"role":"user","content":"Olá, apresente-se em uma 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="reflection/Beam-1.0-501B-A23B:together",
messages=[{"role": "user", "content": "Olá, apresente-se em uma 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: 'reflection/Beam-1.0-501B-A23B:together',
messages: [{ role: 'user', content: 'Olá, apresente-se em uma frase.' }],
})
console.log(r.choices[0].message.content)
Gerar o código de integração →
Buscas populares
Perguntas frequentes
A API do Beam-1.0-501B-A23B · Together é gratuita?
Não: o Beam-1.0-501B-A23B · Together é uma API paga ($0.4 / $1.2 por milhão de tokens).
Como chamar o Beam-1.0-501B-A23B · Together no meu código?
O Beam-1.0-501B-A23B · Together oferece uma API compatível com OpenAI em https://router.huggingface.co/v1: use qualquer SDK da OpenAI (Python, JavaScript…) com essa URL base. Identificador do modelo: reflection/Beam-1.0-501B-A23B:together. Há código pronto (streaming, JSON, novas tentativas) na caixa de ferramentas do desenvolvedor.
Qual é a janela de contexto do Beam-1.0-501B-A23B · Together?
O Beam-1.0-501B-A23B · Together aceita até 1.048.576 tokens de contexto (mensagem e histórico).
Quais são as alternativas ao Beam-1.0-501B-A23B · Together?
APIs semelhantes no catálogo: Reflection: Beam 1.0 Contributor, Beam-1.0-501B-A23B · BaseTen, Beam-1.0-501B-A23B · CoreWeave, Beam-1.0-501B-A23B · DigitalOcean, Beam-1.0-501B-A23B · Nebius.
Alternativas
- Reflection: Beam 1.0 Contributor — Grátis, Sem chave
- Beam-1.0-501B-A23B · BaseTen — Pago
- Beam-1.0-501B-A23B · CoreWeave — Pago
- Beam-1.0-501B-A23B · DigitalOcean — Pago
- Beam-1.0-501B-A23B · Nebius — Pago
- Reflection: Beam 1.0 501B A23B — Pago