言語モデル/OpenAI/GPT-6.2 Astra
OpenAItext1つのルート

GPT-6.2 Astra API

OpenAI's most capable model for the hardest projects, from start to finish.

gpt-6.2-astraAPIキーを取得

料金 100万トークンあたりのUSD

トークン100万トークンあたりプロンプトが27.2万超
入力$1.87$3.7266
キャッシュされた入力$0.094$0.1864
キャッシュの書き込み(5分)$2.33$4.6583
キャッシュの書き込み(1時間)$3.73$7.4532
出力$9.32$13.9747

A request whose prompt is over 272K tokens is billed at $3.7266 input and $13.9747 output per million tokens. Reasoning tokens are billed as output. Each answer's usage carries cost_usd, the amount taken from your balance; a request with no answer costs $0.00.

リクエスト

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6.2-astra","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
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-6.2-astra",
    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のドキュメントをご覧ください。

詳細

モデルID
gpt-6.2-astra
開発元
OpenAI
エンドポイント
POST /v1/chat/completions
コンテキストウィンドウ
105万トークン
最大出力
12.8万トークン
ストリーミング
対応(サーバー送信イベント)
ルート
1

1つのルート

現在、ルートは1つです。回答が得られなかったリクエストは課金されません。

About the GPT-6.2 Astra API

How much does the GPT-6.2 Astra API cost?

GPT-6.2 Astra costs $1.87 per million input tokens, $0.094 per million cached input tokens and $9.32 per million output tokens on Revana. A request whose prompt is over 272K tokens is billed at $3.7266 input and $13.9747 output per million tokens. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call GPT-6.2 Astra from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gpt-6.2-astra". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

リクエストが失敗するとどうなりますか?

回答が得られなかったリクエストは、課金されません。

Is GPT-6.2 Astra on Revana the same model?

はい。RevanaはリクエストをOpenAIのモデルにそのまま渡し、その回答を、報告された利用量とリクエストの費用とともに、OpenAI形式で返します。

OpenAIのその他のモデル

Every OpenAI model and its price

エージェント向けのMarkdown版もあります。すべての言語モデルと料金はllms.jsonにあります。