Reads Like a Scholar. Remembers Like an Elephant.
128K context window purpose-built for document analysis and research.
| Metric | Official Price | tokencnn.com Price |
|---|---|---|
| Input | ¥0.60 | ¥0.90 |
| Output | ¥0.60 | ¥0.90 |
* tokencnn.com applies a 1.5x multiplier on official pricing for gateway and aggregation services.
curl -X POST https://api.tokencnn.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "moonshot-v1",
"messages": [{"role": "user", "content": "Summarize these 3 research papers on climate change"}],
"temperature": 0.5
}'
import openai
client = openai.OpenAI(
base_url="https://api.tokencnn.com/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="moonshot-v1",
messages=[
{"role": "user", "content": "Extract obligations from this 50-page legal document"}
],
temperature=0.2,
max_tokens=4096
)
print(response.choices[0].message.content)
Get your API key in minutes and start integrating China's best AI models.
Get API Key →