Skip to content

GPT-4o Mini

Tools
openai/gpt-4o-mini

OpenAI · 128K context · text + image → text · Jul 2024 · 6 upstreams

GPT-4o Mini is OpenAI's fast, affordable small model for focused tasks. It processes text and image inputs to generate text outputs (including structured outputs) and is particularly well suited for fine-tuning and distilling larger model results into cost-effective production solutions. Supports a 128,000-token input context with 16,384 output tokens, plus streaming, function calling, and predicted outputs. Priced at $0.15 / $0.60 per 1M input/output tokens ($0.075 cached input).

Bring your own keyAnyRouter has no platform route for GPT-4o Mini. Requests use your key and bill your provider account. AnyRouter adds no fee.
context
128K
input / 1M (list)
$0.15
output / 1M (list)
$0.60
routes
6
speed, 24h
—

Routes, in fallback orderThe first healthy route answers. Add a key to use a BYOK route.

6
  1. 1OpenAIYour key · not addedBYOK–
  2. 2OpenRouterYour key · not addedBYOK–
  3. 3ClineYour key · not addedBYOK–
  4. 4Ramp RouterYour key · not addedBYOK–
  5. 5Vercel AI GatewayYour key · not addedBYOK–
  6. 6Nous ResearchYour key · not addedBYOK–

Try itOne message, one streamed reply

Type a message and see the reply stream in here.

Uptime, last 48 hours

OKDegradedDown—

Details

Owner
OpenAI
Kind
Vision
Released
Jul 2024
Context
128K
Data policy
Provider retention
Endpoint
/api/v1/chat/completions

Quick start

Code

POST /api/v1/chat/completionsSDK docs
import osfrom openai import OpenAI client = OpenAI(    api_key=os.environ["ANYROUTER_API_KEY"],    base_url="https://anyrouter.dev/api/v1",) resp = client.chat.completions.create(    model="openai/gpt-4o-mini",    messages=[{"role": "user", "content": "Say hi in 3 words."}],)print(resp.choices[0].message.content)
More details: pricing table, filters, performance, links

Upstreams and pricing

ProviderCacheAccessStatusProvider details
Your own key (BYOK) — provider bills you, $0 AnyRouter fee
0.15 list0.60 list0
0.15 list0.60 list0
0.15 list0.60 list—
0.15 list0.60 list—
0.15 list0.60 list—
0.15 list0.60 list—

Which key answers this model

Your request → your own keys first (none added yet). The provider bills you; AnyRouter adds $0.

If none of your keys can serve it → the shared pool: keys other people donated. You pay the list price from AnyRouter credits, and the donor earns a reward.

Pool for this model: not covered yet.

Share cards
GPT-4o Mini share card
GPT-4o Mini
OpenAI upstream share card
OpenAI upstream
OpenRouter upstream share card
OpenRouter upstream
Cline upstream share card
Cline upstream
Ramp Router upstream share card
Ramp Router upstream
Vercel AI Gateway upstream share card
Vercel AI Gateway upstream
Nous Research upstream share card
Nous Research upstream