Skip to main content

llm models

GPT-6 Astra の API / 透明なトークン料金の長文脈チャット補完

PiAPI の OpenAI 互換チャット補完エンドポイントで GPT-6 Astra を使って開発できます。プレイグラウンドでメッセージを試し、すぐに返される応答を確認できます。

今すぐ始める!

GPT-6 Astra のトークン料金

期間限定のプロモーション価格(OpenAI公式価格の20%)。すべての価格は100万トークンあたりです。

Standard context

$2.00

  • Input: $2.00 / 1M tokens · cached input: $0.20 / 1M tokens · output: $10.00 / 1M tokens.
  • Applies when input context is 272,000 tokens or less.

Long context

$4.00

  • Input: $4.00 / 1M tokens · cached input: $0.40 / 1M tokens · output: $15.00 / 1M tokens.
  • Above 272,000 input tokens, the entire request is billed at this tier.

GPT-6 Astra で開発を始めませんか?

GPT-6 Astra の機能

長文脈を扱うアプリケーションや開発ワークフロー向けの OpenAI 互換チャット API です。

OpenAI 互換のチャット

標準の messages 配列を POST /v1/chat/completions に送信すると、完成した応答をすぐに受け取れます。

推論の調整

ワークフローに必要な速度と深さのバランスに応じて、推論の強度を low、medium、high から選べます。

明確なトークン課金

標準・長文脈の両料金区分について、入力、キャッシュ入力、出力のトークン料金をまとめて表示します。

272,000 トークンの文脈しきい値

入力コンテキストが272,000トークンを超えると、リクエスト全体が長文脈料金に切り替わります。

Get started

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "gpt-6-astra",
    "task_type": "chat-completion",
    "input": {
      "messages": [{"role":"user","content":"Explain what an API gateway does, in two sentences."}]
    }
  }'

# → { "task_id": "9d5a…", "status": "pending" }

GPT-6 Astra API よくある質問

GPT-6 Astra はどのように課金されますか?

標準リクエストは100万入力トークンあたり$2.00、キャッシュ入力トークンあたり$0.20、出力トークンあたり$10.00です。

入力が 272,000 トークンを超えるとどうなりますか?

入力コンテキストが272,000トークンを超えると、リクエスト全体に長文脈料金が適用されます。100万トークンあたり入力$4.00、キャッシュ入力$0.40、出力$15.00です。

GPT-6 Astra はどのエンドポイントを使いますか?

OpenAI 互換の POST /v1/chat/completions エンドポイントに model の値と messages 配列を指定します。

More questions? See the API docs.

Our blog

GPT-6 Astra API