OPENAI · gpt-4o-mini
GPT-4o mini API Pricing & Specs
GPT-4o mini costs $0.0525 per 1M input tokens and $0.21 per 1M output tokens through this API — 65% below OpenAI's list price of $0.15 / $0.6. It is the same upstream model, callable with one key on OpenAI-compatible and Anthropic protocols.
Official list price vs. your price
| Official list | Your price | You save | |
|---|---|---|---|
| Input · per 1M tokens | $0.15 | $0.0525 | -65% |
| Output · per 1M tokens | $0.6 | $0.21 |
All prices in USD per 1M tokens.
Technical specs
- Vendor
- OpenAI
- Context window
- 128K tokens
- Max output tokens
- 16K tokens
- Knowledge cutoff
- 2023-10
- Modalities
- Text + image input + Image
Best for
- OCR, tagging, and image classification
- Summarization and routing at very high volume
- Prototypes that may outgrow the budget
Start calling it in one line
Point any OpenAI-compatible client at the base URL below (Anthropic SDK: use the same host). The model id is the exact string to pass as the model parameter.
curl https://kktt.net/v1/chat/completions \
-H "Authorization: Bearer $KKTT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o-mini", "messages": [{"role": "user", "content": "Hello"}]}'from openai import OpenAI
client = OpenAI(
api_key=os.environ["KKTT_API_KEY"],
base_url="https://kktt.net/v1",
)
resp = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.KKTT_API_KEY,
baseURL: "https://kktt.net/v1",
});
const resp = await client.chat.completions.create({
model: "gpt-4o-mini",
messages: [{ role: "user", content: "Hello" }],
});
console.log(resp.choices[0].message.content);FAQ
How much does the GPT-4o mini API cost?
Official list pricing is $0.15 per 1M input tokens and $0.6 per 1M output tokens. Through this API you pay $0.0525 / $0.21 — a 65% discount, billed per token with no minimum spend.
Is this the same GPT-4o mini model as OpenAI's official API?
Yes. Requests are routed to the same upstream GPT-4o mini model — the discount comes from the gateway's billing rate, not from a different or quantized model.
Do I need a separate API key for GPT-4o mini?
No. One API key calls every GPT and Claude model on this platform, so you can switch models by changing the model parameter in the request — same base URL, same key.
Which clients can I use with GPT-4o mini?
Any OpenAI-compatible or Anthropic-protocol client: the official SDKs, Cursor, Cline, Roo Code, LibreChat, NextChat and others. Point the client's base URL at this API and use your key.