GPT 4o Mini

Neural Network

GPT 4o Mini is a compact multimodal OpenAI model: accepts text and images, responds with text; GPT 4o Mini API in BotHub.

Specifications

Input
text, images, documents
Output
text
Context size
128 000 tokens
Max answer length
16 384 tokens
Capabilities
function calling
0,18 $

Prompt cost

(per 1M tokens)

0,72 $

Answer cost

(per 1M tokens)

*Prices are shown for API usage via ECO providers.
bothub
BotHub: Попробуйте нейросети бесплатноbot

Осталось Caps: 0 CAPS
Пример кода и API для GPT 4o MiniМы предлагаем полный доступ к API OpenAI через наш сервис. Все наши конечные точки полностью соответствуют конечным точкам OpenAI, их можно использовать как с плагинами, так и при разработке собственного программного обеспечения через SDK.Создать API ключ
import OpenAI from 'openai';
const openai = new OpenAI({
  apiKey: '<your bothub access token>',
  baseURL: 'https://openai.bothub.chat/v1'
});


// Sync - Text generation 

async function main() {
  const chatCompletion = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'gpt-4o-mini-2024-07-18',
  });
} 

// Async - Text generation 

async function main() {
  const stream = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'gpt-4o-mini-2024-07-18',
    stream: true
  });

  for await (const chunk of stream) {
    const part: string | null = chunk.choices[0].delta?.content ?? null;
  }
} 
main();
illustaration

How it works GPT 4o Mini?

GPT 4o Mini is a compact OpenAI model released after GPT-4o. It accepts text and images and responds with text, making it ideal for tasks requiring fast responses and image analysis in a single request. You can connect it via BotHub directly from Russia: no VPN or foreign cards needed, pay with Russian cards as you go without subscriptions, and purchased tokens do not expire. Requests go through a unified OpenAI-compatible API, so you can switch models without rewriting integrations, and data is protected by AES-GCM encryption and not stored. For companies, BotHub provides contracts, invoices, and electronic document management, plus an admin panel with employee limits. GPT 4o Mini is used for high-volume product requests, support and initial ticket triage, drafting emails and descriptions, extracting text and meaning from screenshots or document photos, and as a fast model in chains where larger models are only used for complex steps.

Frequently asked questions about GPT 4o Mini

You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.

This is a compact OpenAI model from the GPT-4o family: it processes text, images, and documents, and can call external functions. It is suitable for user support, summarization, data extraction from files, code drafting, and high-volume repetitive requests where speed and scale are important.

The model generates up to 16,384 tokens per response — roughly a long article or a large code module. The total context window is 128,000 tokens, so you can upload a large document into the conversation and continue the response in the next message if needed.

A separate reasoning mode is not noted in our data. However, you can ask the model to break down the task step-by-step in the prompt — this usually significantly improves the result. For heavy math and logic, you can easily switch to a reasoning model in BotHub.

Yes, function calling and structured JSON output are supported. The model performs well as an inexpensive executor in agent scenarios: it triggers your tools and returns data according to a schema. In BotHub, this is available via a unified OpenAI-compatible API, so you won't need to rewrite your integration.

Images and documents — yes, you can send them as input along with text: analyze a screenshot, extract a table from a PDF, or summarize a contract. Audio and video are not noted in our data, so for voiceover or transcription, please choose a specialized model in BotHub.

There are no language-specific characteristics in our data, so we won't make promises — test the model on your tasks. BotHub itself is accessible from Russia without a VPN or foreign card, with payment in rubles. If you are not satisfied with the result, switch to another model in the same window.

Technical Support