API del modello reflection/Beam-1.0-501B-A23B:baseten su Hugging Face Inference, $0.4 / $1.2 per milione di token, contesto 1.048.576 token. Esempi in curl, Python e JavaScript, test dal vivo.
reflection/Beam-1.0-501B-A23B served by BaseTen through the Hugging Face router (fp4 quantization).
- Tipo
- Modello
- Fornitore
- Hugging Face Inference
- Hosting
- BaseTen
- ID del modello
reflection/Beam-1.0-501B-A23B:baseten- Prezzo
- A pagamento
- Prezzo input / output
- $0.4 / $1.2 per milione di token
- Accesso senza chiave
- No
- Variabile della chiave
HF_TOKEN- URL di base (compatibile OpenAI)
https://router.huggingface.co/v1- Contesto
- 1.048.576 token
- Input
- Testo
- Funzioni
- Output JSON
- Tempo di risposta
- Primo token 147 ms · 486 token/s · disponibilità 100 %
- Valutazione degli sviluppatori
- Non ancora valutato
- Documentazione
- https://huggingface.co/reflection/Beam-1.0-501B-A23B
Esempi di codice
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:baseten","messages":[{"role":"user","content":"Ciao, presentati in 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="reflection/Beam-1.0-501B-A23B:baseten",
messages=[{"role": "user", "content": "Ciao, presentati in 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: 'reflection/Beam-1.0-501B-A23B:baseten',
messages: [{ role: 'user', content: 'Ciao, presentati in una frase.' }],
})
console.log(r.choices[0].message.content)
Genera il codice di integrazione →
Ricerche popolari
Domande frequenti
L’API di Beam-1.0-501B-A23B · BaseTen è gratuita?
No: Beam-1.0-501B-A23B · BaseTen è un’API a pagamento ($0.4 / $1.2 per milione di token).
Come chiamo Beam-1.0-501B-A23B · BaseTen dal mio codice?
Beam-1.0-501B-A23B · BaseTen offre un’API compatibile con OpenAI all’indirizzo https://router.huggingface.co/v1: usa qualsiasi SDK OpenAI (Python, JavaScript…) con questo URL di base. Identificatore del modello: reflection/Beam-1.0-501B-A23B:baseten. Codice pronto all’uso (streaming, JSON, nuovi tentativi) è disponibile nella cassetta degli attrezzi per sviluppatori.
Qual è la finestra di contesto di Beam-1.0-501B-A23B · BaseTen?
Beam-1.0-501B-A23B · BaseTen accetta fino a 1.048.576 token di contesto (messaggio e cronologia).
Quali sono le alternative a Beam-1.0-501B-A23B · BaseTen?
API simili nel catalogo: Reflection: Beam 1.0 Contributor, Beam-1.0-501B-A23B · CoreWeave, Beam-1.0-501B-A23B · DigitalOcean, Beam-1.0-501B-A23B · Nebius, Beam-1.0-501B-A23B · Together.
Alternative
- Reflection: Beam 1.0 Contributor — Gratis, Senza chiave
- Beam-1.0-501B-A23B · CoreWeave — A pagamento
- Beam-1.0-501B-A23B · DigitalOcean — A pagamento
- Beam-1.0-501B-A23B · Nebius — A pagamento
- Beam-1.0-501B-A23B · Together — A pagamento
- Reflection: Beam 1.0 501B A23B — A pagamento