GPT-5.3 Codex
GPT-5.3 Codex by OpenAI, through an OpenAI-compatible chat completions API.
gpt-5.3-codexAPIキーを取得料金 100万トークンあたりのUSD
| トークン | 100万トークンあたり |
|---|---|
| 入力 | $1.75 |
| キャッシュされた入力 | $1.75 |
| キャッシュの書き込み(5分) | $1.75 |
| キャッシュの書き込み(1時間) | $1.75 |
| 出力 | $14.00 |
推論トークンは出力として課金されます。各回答の usage には、残高から引かれた金額である cost_usd が含まれ、回答のないリクエストは$0.00です。
リクエスト
curl https://api.revana.si/v1/chat/completions \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.3-codex","messages":[{"role":"user","content":"Write a haiku about routing."}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
model="gpt-5.3-codex",
messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)どのOpenAI SDKでも動作します。ベースURLを https://api.revana.si/v1 に設定してください。ストリーミング、ツールなどの詳細は、Chat Completionsのドキュメントをご覧ください。
詳細
gpt-5.3-codexPOST /v1/chat/completions1つのルート
現在、ルートは1つです。回答が得られなかったリクエストは課金されません。
About the GPT-5.3 Codex API
How much does the GPT-5.3 Codex API cost?
GPT-5.3 Codex costs $1.75 per million input tokens, $1.75 per million cached input tokens and $14.00 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.
How do I call GPT-5.3 Codex from code?
Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gpt-5.3-codex". POST /v1/chat/completions takes the OpenAI request body, streamed or not.
リクエストが失敗するとどうなりますか?
回答が得られなかったリクエストは、課金されません。
Is GPT-5.3 Codex on Revana the same model?
はい。RevanaはリクエストをOpenAIのモデルにそのまま渡し、その回答を、報告された利用量とリクエストの費用とともに、OpenAI形式で返します。
OpenAIのその他のモデル
- GPT-4.1 入力100万トークンあたり$2.00/出力$8.00
- GPT-4.1 mini 入力100万トークンあたり$0.40/出力$1.60
- GPT-4.1 nano 入力100万トークンあたり$0.10/出力$0.40
- GPT-4o 入力100万トークンあたり$2.50/出力$10.00
- GPT-4o mini 入力100万トークンあたり$0.15/出力$0.60
- GPT-5 入力100万トークンあたり$1.25/出力$10.00
- GPT-5 mini 入力100万トークンあたり$0.25/出力$2.00
- GPT-5 nano 入力100万トークンあたり$0.05/出力$0.40