Sozdai LogoDocs
ドキュメント/LLM

Qwen3 Coder Next

262.1K context
POSThttps://api.foxwire.ai/v1/chat/completions

#Pricing Summary

#リクエスト例

Execute completions using standard OpenAI SDK formats by pointing base endpoints here.

bash
curl https://api.foxwire.ai/v1/chat/completions \
  -H "Authorization: Bearer $CORRY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-coder-next",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

#レスポンス例

標準の OpenAI 互換チャット補完オブジェクトです。model フィールドはリクエストした名前に正規化されます。

json
{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "model": "qwen3-coder-next",
  "choices": [
    {
      "index": 0,
      "message": { "role": "assistant", "content": "Hello! How can I help you today?" },
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 12, "completion_tokens": 9, "total_tokens": 21, "cost": 0.000234, "currency": "USD" }
}

Cost field

usage.cost is the amount charged for this call (in USD); in streaming it arrives on the final chunk that carries usage. OpenAI SDKs ignore this extra field.