OpenAI: gpt-oss-20b

由 OpenAI 提供

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs.

支持流式输出最大 131K tokens

模型特性

输入模态

  • text

模型参数

最大 Tokens:131K
默认温度:0.7
流式输出:支持

定价信息

积分定价

文本输入:20 积分
图片输入:20 积分
消息输出:20 积分

API 定价

输入价格:$0.040/1K tokens
输出价格:$0.160/1K tokens

使用示例

API 调用示例
curl -X POST "https://chat.chatsking.com/api/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-oss-20b",
    "messages": [
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    "max_tokens": 1000,
    "temperature": 0.7
  }'