- Context
- 1.05M tokens
- vs. official price
- 15% cheaper
Pricing (USD per 1M tokens)
How prices are calculated| Item | Official | Basic | Premium |
|---|---|---|---|
| Input | $10.00≈ ¥1,586 | $8.50≈ ¥1,360 | $7.50≈ ¥1,200 |
| Output | $50.00≈ ¥7,932 | $42.50≈ ¥6,800 | $37.50≈ ¥6,000 |
| Cache read | $1.00≈ ¥159 | $0.85≈ ¥136 | $0.75≈ ¥120 |
Notes
When the input is 272K tokens or more, the official price becomes $20 input / $75 output per 1M tokens. This site charges the standard price.
How to call
POST/v1/chat/completions
import os
from openai import OpenAI
client = OpenAI(
base_url="https://token.echohub.io/v1",
api_key=os.environ["ECHO_API_KEY"],
)
res = client.chat.completions.create(
model="gpt-6-astra-pro",
messages=[{"role": "user", "content": "Hello"}],
)
print(res.choices[0].message.content)import os
from anthropic import Anthropic
# The Anthropic SDK adds /v1 at the end automatically
client = Anthropic(
base_url="https://token.echohub.io",
api_key=os.environ["ECHO_API_KEY"],
)
msg = client.messages.create(
model="gpt-6-astra-pro",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)curl https://token.echohub.io/v1/chat/completions \
-H "Authorization: Bearer $ECHO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra-pro",
"messages": [{"role": "user", "content": "Hello"}]
}'