gpt-5-mini-2025-08-07 API · AIAdapter

gpt-5-mini-2025-08-07 is available through AIAdapter’s OpenAI-compatible unified API. Vendor segment: openai. Call with your AIAdapter API key against https://www.aiadapter.com/v1.

定价

Billed: $0.25 / 1M input tokens · $2.00 / 1M output tokens. Official: —. The Billed column is the gateway price per 1M tokens. It is not the official price multiplied by the quota ratio. 15% applies only when you top up the wallet.

Specs

Model IDgpt-5-mini-2025-08-07
Vendoropenai
CompatibilityOpenAI-compatible API

API 接入

通过 AIAdapter 统一 API 调用该模型。 /docs#text

curl

curl https://www.aiadapter.com/v1/chat/completions -H "Authorization: Bearer $AIADAPTER_API_KEY" -H "Content-Type: application/json" -d '{"model":"gpt-5-mini-2025-08-07","messages":[{"role":"user","content":"Hello"}]}'

Python

from openai import OpenAI
client = OpenAI(base_url="https://www.aiadapter.com/v1", api_key="...")
client.chat.completions.create(model="gpt-5-mini-2025-08-07", messages=[{"role":"user","content":"Hello"}])

Node.js

import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://www.aiadapter.com/v1", apiKey: process.env.AIADAPTER_API_KEY });
await client.chat.completions.create({ model: "gpt-5-mini-2025-08-07", messages: [{ role: "user", content: "Hello" }] });

FAQ

What is the model ID?

gpt-5-mini-2025-08-07

How do I get an API key?

Create an account, open Console → Keys, then use Authorization: Bearer.

Where is pricing?

See Pricing and the rate above. Each call adds a 15% service fee on its discounted cost.

OpenAI compatible?

Yes. Point the OpenAI SDK at https://www.aiadapter.com/v1.

Docs · Model Marketplace · Get API Key · Playground