gpt-5.4
Use gpt-5.4 through KeepBal. POST /v1/chat/completions. $3.13 input / $18.75 output per 1M tokens.
curl
curl https://keepbal.com/v1/chat/completions -H 'Authorization: Bearer YOUR_KEEPBAL_KEY' -H 'Content-Type: application/json' -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"Summarize this research."}],"max_tokens":256}'OpenAI SDK
import os
from openai import OpenAI
client = OpenAI(api_key=os.environ["KEEPBAL_API_KEY"], base_url="https://keepbal.com/v1")
response = client.chat.completions.create(model="gpt-5.4", messages=[{"role": "user", "content": "Summarize this research."}], max_tokens=256)
print(response)Pair with tools
Search for source material, inspect and run a tool, then pass the results to a model for summarization or analysis. Browse tools
| Tool | What it returns | Price |
|---|---|---|
| Chatgpt Ask | Get ChatGPT's consumer-app answer to a prompt, with cited sources, in a chosen country. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| Copilot Ask | Get Copilot's consumer-app answer to a prompt, with cited sources, in a chosen country. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
| Gemini Ask | Get Gemini's consumer-app answer to a prompt, with cited sources, in a chosen country. | Provider cost + 35%, quoted by inspect before you run. Quotes are estimates; inspect the spending cap requirements. |
FAQ
Which endpoint should I use?
POST /v1/chat/completions with the exact model ID gpt-5.4.
How is usage priced?
$3.13 input / $18.75 output per 1M tokens. Billing uses returned token usage.