o3-mini Réseau Neuronal
Bip-bup, écriture de texte pour vous...



bothub.chat/o3-mini
100 000
Longueur Max. de Réponse
(en jetons)
200 000
Taille du Contexte
(en jetons)
1,1 USD
Coût de l'Invite
(par 1M de jetons)
4,4 USD
Coût de la Réponse
(par 1M de jetons)

BotHub : Essayez gratuitement !bot
Exemple de code et API pour o3-miniNous offrons un accès complet à l'API OpenAI via notre service. Tous nos points de terminaison sont entièrement conformes aux points de terminaison OpenAI et peuvent être utilisés avec des plugins ainsi que lors du développement de votre propre logiciel via le SDK.Créer une clé 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();
Comment ça marche o3-mini?
Les bothubs recueillent des informations...