Back to Models

社交数据 | 小红书 APIActive

xiaohongshu

No description available

By:社交数据Input Type:Output Type:

AI Code With channel availability

The same model is billed by channel discount. Copy a channel code to set your preference.

ChannelCache Hit RateContext
社交数据
82.0%¥0.108/ M tokens¥0.108/ M tokensRead:¥0/ M tokensWrite:¥0/ M tokens200K0.0s

Related Models

More models from 社交数据

Compare models from other providers

社交数据 | 小红书 API: price, model ID, and how to call it

Call 社交数据 | 小红书 through AI Code With. Use model ID xiaohongshu with 200K context. list price about $0.0150 / $0.0150 per 1M tokens before channel discounts.

Model IDxiaohongshu
ProtocolsOpenAI Chat Completions
Context200K
Max output65.54K

Next: Get API key · See integration guides · All model prices · All model prices

cURL example

Set model to xiaohongshu. The page slug is only the URL, not the API parameter.

curl https://api.aicodewith.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $AICODEWITH_API_KEY" \
  -d '{
    "model": "xiaohongshu",
    "messages": [
      { "role": "user", "content": "What is the meaning of life?" }
    ]
  }'

FAQ

What is the 社交数据 | 小红书 model ID?

Send model "xiaohongshu" in the API request. The page path /xiaohongshu is only the URL, not the model parameter.

How do I call the 社交数据 | 小红书 API?

Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to xiaohongshu. Supported protocols: OpenAI Chat Completions. See See integration guides.

How is 社交数据 | 小红书 priced?

社交数据 | 小红书 is list price about $0.0150 / $0.0150 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel.

How long is the 社交数据 | 小红书 context window?

社交数据 | 小红书 has about 200K input context and up to 65.54K output tokens. Treat that as capacity, not a reason to fill every request.