Docs

GPT 6.2 Astra API developer guide

GPT 6.2 Astra is currently "Available". This guide provides model IDs, price snapshots, and copyable examples for integration. GPT 6.2 Astra model page

Overview

  • Vendor: OpenAI
  • Type: Text
  • Number of tiers: 1
  • Endpoint tags: openai-response, openai

Available tiers and pricing

The model in requests must use the model IDs in the table below, case-sensitive.

gpt-6.2-astra

Catalog reference rates · billed on actual token usage

Input tokens
$7.00 / 1M tokens
Output tokens
$35.00 / 1M tokens
More price combinations
Cached input
$7.00 / 1M tokens
Cache write
$8.75 / 1M tokens
Cache write (1 hour)
$14.00 / 1M tokens
Image input tokens
$7.00 / 1M tokens
Audio input tokens
$7.00 / 1M tokens
Audio output tokens
$7.00 / 1M tokens

Context tiers are not listed. Reference rates may not apply at every context length.

Snapshot time Final charges depend on the actual request and settlement.

Compare pricing

Base URL and authentication

Base URL is https://api.rokoapi.com/v1. All requests must include Authorization: Bearer $OPENAI_API_KEY.

Console

Quickstart

curl https://api.rokoapi.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-6.2-astra",
  "stream": true,
  "messages": [{"role": "user", "content": "Introduce yourself in one sentence"}]
}'

Common parameters

ParameterDescription
modelUse the public model IDs from the table above.
prompt / messagesInput prompt, conversation messages, or generation instructions; format depends on the endpoint.
streamText models can set this to true to enable SSE streaming output.

Notes

  • Use only the model IDs listed on this page; unprovisioned or retired names will return a model unavailable error.
  • If you encounter a 403 error, check your account balance, key group, and model access permissions.
  • Multimodal, tool calling, caching, and streaming capabilities depend on the upstream model and channel configuration; refer to actual responses.