GPT-5 API
GPT-5 is a language model from openai, available on Routeriva under the model ID gpt-5-2025-08-07. You call it with the same sk- key you use for every other model — no separate openai account is needed.
On Routeriva it costs $0.38 per 1M input tokens and $3.00 per 1M output tokens, compared with the official list price of $1.25 / $10.00 — about 70% less. Prices shown are the lowest across the routes that serve this model; your key is charged at its own route's price.
GPT-5 works with the official OpenAI SDKs on both /v1/chat/completions and /v1/responses, including streaming and tool calls, so Codex, Cursor and other OpenAI-based tools work by changing the base URL.
Key facts
- Model ID:
gpt-5-2025-08-07 - Provider: openai
- Type: text
- Input: $0.38 / 1M (list $1.25)
- Output: $3.00 / 1M (list $10.00)
- Endpoints: /v1/chat/completions, /v1/responses
Good for
- General reasoning and coding
- Agents with tool calling (Codex, Responses API)
- Structured JSON output
Prices by route
| Route | Input / 1M | Output / 1M |
|---|---|---|
| Azure GPT 1 OLD | $0.38 | $3.00 |
Code sample
from openai import OpenAI
client = OpenAI(base_url="https://api.routeriva.com/v1", api_key="sk-your-key")
r = client.chat.completions.create(model="gpt-5-2025-08-07", messages=[{"role": "user", "content": "Hello"}])
print(r.choices[0].message.content)FAQ
How much does the GPT-5 API cost on Routeriva?
From $0.38 per 1M input tokens and $3.00 per 1M output tokens (official list $1.25 / $10.00, about 70% less). Live prices are on routeriva.com/models/gpt-5-2025-08-07.
What model ID do I use for GPT-5?
Use "gpt-5-2025-08-07" as the model value with base URL https://api.routeriva.com/v1 and your sk- key.
Which endpoints support GPT-5?
/v1/chat/completions, /v1/responses on https://api.routeriva.com.