o3-mini Red Neuronal
Bip-bup, escribiendo texto para ti...



bothub.chat/o3-mini
100 000
Longitud Máx. de Respuesta
(en tokens)
200 000
Tamaño del Contexto
(en tokens)
1,1 USD
Costo de la Solicitud
(por 1M de tokens)
4,4 USD
Costo de la Respuesta
(por 1M de tokens)

BotHub: ¡Prueba gratis!bot
Ejemplo de código y API para o3-miniOfrecemos acceso completo a la API de OpenAI a través de nuestro servicio. Todos nuestros puntos finales cumplen completamente con los puntos finales de OpenAI y se pueden usar tanto con complementos como al desarrollar su propio software a través del SDK.Crear clave API
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '<your bothub access token>',
baseURL: 'https://bothub.chat/api/v2/openai/v1'
});
// Sync - Text generation
async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'o3-mini',
});
}
// Async - Text generation
async function main() {
const stream = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'o3-mini',
stream: true
});
for await (const chunk of stream) {
const part: string | null = chunk.choices[0].delta?.content ?? null;
}
}
main();
Cómo funciona o3-mini?
Los bothubs recopilan información...