- Context
- 1M tokens
- vs. official price
- 15% cheaper
Pricing (USD per 1M tokens)
How prices are calculated| Item | Official | Basic | Premium |
|---|---|---|---|
| Input | $0.03≈ ¥4.8 | $0.0255≈ ¥4.1 | $0.0225≈ ¥3.6 |
| Output | $0.13≈ ¥20.6 | $0.1105≈ ¥17.7 | $0.0975≈ ¥15.6 |
| Cache read | $0.006≈ ¥0.95 | $0.0051≈ ¥0.82 | $0.0045≈ ¥0.72 |
Notes
When the input is 256K tokens or more, the official price becomes $0.2 input / $0.8 output per 1M tokens. When the input is 32K tokens or more, the official price becomes $0.1 input / $0.4 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="qwen3.7-flash",
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="qwen3.7-flash",
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": "qwen3.7-flash",
"messages": [{"role": "user", "content": "Hello"}]
}'