gpt api · openai api · chatgpt api — one endpoint
GPT API, same endpoint as OpenAI, 10-30% less
Keep the key header, the SDK and the model names you already ship. Point the base URL at GPTProto and the same gpt call answers with 200+ models, billed 10–30% below official list price.
Three spellings, one call: POST /v1/chat/completions with a bearer key. Every gpt section below applies to all three.
request → receipt
Authorization: Bearer <key>
{ "model": "claude-sonnet-5-5", "stream": false }
200 OK · 1,842 input tokens
list price for this model $0.0037
charged on GPTProto $0.0033
What people mean by gpt api
The shorthand, the vendor name and the product name all point at one gpt call: a POST to /v1/chat/completions with a bearer key and a JSON body.
| What you type | What it points at | What the server receives |
|---|---|---|
| gpt api | A gpt-family model behind a chat completions route | JSON with model and messages |
| OpenAI API | The vendor's own host and reference documentation | The same JSON, different host |
| ChatGPT API | The API behind the ChatGPT product, not the web app | The same JSON, no browser |
That is why one page can rank for all three spellings: the request body never changes, only the host in front of it does.
Why a gpt bill drifts past the estimate
Overruns come from three places: unlogged retries, prompts that grow with the context, and a price sheet that moved. None of it appears until the invoice does.
Retries that bill twice
A 30-second timeout on a gpt call fires, your client retries, and the first request still finishes upstream. You pay twice for one gpt answer, so log the request ID on both attempts.
The prompt grows, the rate does not shrink
A system prompt at 1,200 tokens, a retrieved chunk at 4,000 and a 12-turn history add up faster than the reply does. On coding traffic the gpt input line is usually the larger one.
A price sheet you cannot audit
List prices move between releases, and a per-model discount is not a per-account one. If you cannot see the rate you were charged, you cannot tell a 10% cut from a 30% one.
How the 10-30% below list price works
Every gpt model is priced under its official list rate, between 10% and 30%. Where you land in that band depends on the model, so read its page first.
The 10% on that receipt belongs to one gpt model. The site band is 10–30%, and the published rate on each model page is the number worth quoting to finance.
How to move a gpt api call in 3 steps
You need an account, one key and a client that already posts to a gpt chat completions route. Same SDK version, same model string, same response shape.
Create the account and copy the key
Registration is required; there is no anonymous tier. The gpt key is issued in the dashboard and shown once, so keep it in an environment variable rather than a repository.
Swap the base URL and keep the model string
Change the host in your client config and leave the path alone. A request to /v1/chat/completions with model set to gpt-5 or claude-sonnet-5-5 returns the envelope your parser expects.
Send one real request and read the receipt
Fire your heaviest prompt, then compare token counts against the charge line. A 1,842-token gpt input costs about $0.0033 here against $0.0037 at that model's list price.
Which gpt models answer the call
The catalogue holds 200+ models from six vendors behind one key, from GPT-5 to Claude Sonnet 5.5. The short list below is where most integrations start.
| Model | Vendor | Where it fits |
|---|---|---|
| GPT-5 | OpenAI | Long reasoning chains and tool-heavy agents |
| Claude Sonnet 5.5 | Anthropic | Code review, long documents, careful edits |
| Gemini 2.5 Pro | Mixed image and text input, wide context reads | |
| Grok 3 | xAI | Fast answering on short, factual prompts |
| DeepSeek-V3 | DeepSeek | High-volume classification on the tightest budget |
| Llama 4 Maverick | Meta | Open-weight parity checks before self-hosting |
Model strings follow the vendor's own naming, so one copied from a gpt tutorial usually works here without translation.
Rate limits, retries and failover across gpt routes
Limits apply per key and per model, and a 429 on a gpt call is a routing signal rather than a wall. The gateway shifts the call when a second route exists.
A 429 arrives with a window
The response carries the wait interval, so a client that backs off for the stated time stops hammering the route. Honour that header instead of retrying on a fixed timer.
Timeouts are counted, not guessed
A call that never returns is closed at the edge and logged with the route it used. That log entry is what makes a double charge traceable after the fact.
Failover across published routes
When the first route for a model stops answering, a second one takes the request. The fallback covers only routes serving the same gpt model, so output style stays stable.
Streaming, tools and JSON output stay as they are
Requests that set stream, define tools or pin a JSON schema pass through untouched. A parser written for the gpt chunk format reads them the same way.
Server-sent events
Each delta arrives as its own data line and ends with the same terminator the vendor sends. Nothing is buffered to shrink the payload, so first-token latency stays close to upstream.
Tool and function calls
A tool definition in the request comes back as a tool call in the message, with arguments as a JSON string. Your dispatch loop does not need a second code path.
Schema-pinned JSON
When a response format pins a schema, the reply conforms or the call fails loudly. Silent drift into prose is the failure mode that breaks parsers, so it is the one worth failing on.
Image and file input
Models that accept images take them in the same content array the vendor documents, as a URL or a base64 block. Token accounting for those gpt image blocks still appears on the receipt.
What one gpt api call costs
A gpt call costs input tokens plus output tokens at the model rate. Input is where coding traffic spends its money, so this table holds output flat.
| Input tokens | At $2.00 list / 1M | At $1.77 effective | Difference |
|---|---|---|---|
| 3,000 | $0.0060 | $0.0053 | −11.5% |
| 30,000 | $0.0600 | $0.0531 | −11.5% |
| 300,000 | $0.6000 | $0.5310 | −11.5% |
The ratio holds at every volume, because the bonus is a percentage rather than a threshold. Bigger top-ups move the gpt rate to $1.76 and then $1.64.
Where a gpt reseller is the wrong pick
Three cases where paying list price for a gpt key is the cheaper decision. Better to know them before the first invoice than after the third.
You need a signed contract with named support
Procurement teams that require an MSA, a security questionnaire and an engineer on call should buy from the vendor directly. A pay-as-you-go balance does not replace that paperwork.
You need data to stay in one region
Routing picks whichever upstream answers first. If a rule names the country your prompts must be processed in, settle that requirement before a key is issued, not after.
You need a fine-tuned endpoint we do not carry
A model trained on your corpus and published under your own ID has no list price to discount. Search the directory first: if the gpt string is not there, neither is the model.
What early developers say
Three people who moved a production gpt integration here, with the month count and the stack they left behind.
"We were paying list for two Claude models and a GPT model on three separate keys. One key replaced all three and the invoice dropped by roughly a fifth. What I did not expect was failover holding through a provider outage."
"Our parser had a hard-coded host and nothing else. The switch was one environment variable, then a week of shadow traffic before we cut production over. No response shape changed."
"Batch classification on 200,000 short documents a night was the whole budget argument. We moved the cheap model here and left the hard one where it was, which nobody talks about as an option."
Pay as you go: $10, $20 or $500
Three top-up steps, each with its own bonus on top of the gpt model discount. Nothing renews on its own and there is no seat to buy.
- Claude Sonnet 5.5 input at $1.77 / 1M
- About 3,100 calls of 1,842 input tokens
- Per-call billing, no subscription
- Claude Sonnet 5.5 input at $1.76 / 1M
- About 6,300 calls of 1,842 input tokens
- Per-call billing, no subscription
- Claude Sonnet 5.5 input at $1.64 / 1M
- About 168,000 calls of 1,842 input tokens
- Per-call billing, no subscription
Frequently Asked Questions
Five questions that decide whether to move a gpt integration, answered in the order they usually get asked.
Is gpt api the same thing as the OpenAI API?
Yes, in practice. gpt api is the shorthand for the chat completions endpoint OpenAI publishes, and the product name refers to the same route behind the consumer app. One path, one body, one key.
Do I have to rewrite code to use this endpoint?
No. Change the base URL and keep the path, the model string and the key header. A gpt SDK that already speaks chat completions parses the response without edits.
How much do I need to pay before the first call?
Ten dollars. That is the smallest top-up, and it lands as $10.15 with the 1.5% bonus attached. Usage is billed per call with no subscription attached.
Can I get a refund on unused credit?
Contact us before assuming the balance is lost. Unused credit is reviewed case by case, and a plan that stops fitting your workload is a conversation worth having early.
What happens to the prompts I send?
They are forwarded to the vendor that serves the model you picked, and that vendor's terms govern handling. Check the vendor policy for the model in your request if retention matters to you.
Start with the gpt endpoint you already call
Same endpoint shape, 200+ models, 10–30% below official list price. Create an account, top up from $10, and change one URL in your config.