openai logo
openai

OpenAI: GPT-4o-mini (batch)

Opis źródłowy (angielski)

GPT-4o mini is OpenAI's newest model after GPT-4 Omni, supporting both text and image inputs with text outputs. As their most advanced small model, it is many multiples more affordable...

Przegląd

Specyfikacja modelu

Kontekst
128 000 tokens
Maksymalne wyjście
16 384 tokens
Architektura
text+image+file->text
Tokenizer
GPT
Granica wiedzy
2023-10-31
Moderowany
Tak
OPENROUTER

Pełny cennik

Stawki zsynchronizowane z OpenRouter, za milion tokenów.

Wejście
$0.075
za milion tokenów
Wyjście
$0.3
za milion tokenów
Odczyt pamięci podręcznej
$0.0375
za milion tokenów
API

Szybki start

Ustaw lokalnie OPENROUTER_API_KEY. Python wymaga requests, a JavaScript działa w Node.js. Klucz przechowuj na serwerze.

To wysyła asynchroniczną partię z ID modelu bazowego. ID zadania potwierdza przyjęcie, a nie zakończenie.

Dokumentacja API

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"openai/gpt-4o-mini","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Możliwości i modalności

WejścieWyjście

Wejście
textimagefile
Wyjście
text
API

Obsługiwane parametry API

frequency_penaltylogit_biaslogprobsmax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_logprobstop_pweb_search_options
Dostępni dostawcy

1 Dostawca

Sprawdzono: 7 września 2026

Dostawcy na żywo w OpenRouter

Dostępność, opóźnienie, przepustowość i routing stale się zmieniają. Aktualne dane są na stronie źródłowej.

OpenRouter

OpenAI

Brak danych
Kontekst
128K
Maksymalne wyjście
16K
Wejście
$0.075
Wyjście
$0.3
Odczyt pamięci podręcznej
$0.0375
Zapis pamięci podręcznej
Brak danych
openai

4 modele

Wszystkie modele
openai logoopenai

OpenAI: GPT-6 Astra

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

Kontekst
1.1M
Wejście
file · image · text
Wyjście
text
Wejście: $10Wyjście: $50za milion tokenów
Zobacz szczegóły modelu
openai logoopenai

OpenAI: GPT-6 Astra (batch)

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

Kontekst
1.1M
Wejście
file · image · text
Wyjście
text
Wejście: $5Wyjście: $25za milion tokenów
Zobacz szczegóły modelu
openai logoopenai

OpenAI: GPT-6 Astra Pro

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Kontekst
1.1M
Wejście
file · image · text
Wyjście
text
Wejście: $10Wyjście: $50za milion tokenów
Zobacz szczegóły modelu
openai logoopenai

OpenAI: GPT-6 Astra Pro (batch)

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Kontekst
1.1M
Wejście
file · image · text
Wyjście
text
Wejście: $5Wyjście: $25za milion tokenów
Zobacz szczegóły modelu