Felo API PlatformFelo API Platform
返回模型列表
模型免費試用responses

GPT-5.6 Luna Pro

帶 pro 推理模式的高效 GPT-5.6。 可在 Felo API Platform 免費試用。

低成本 GPT-5.6 檔位加上 pro 推理模式,適合需要更審慎推理但不需要最高檔位的 Agent 任務。

推理工具JSON串流視覺

模型 ID

gpt-5.6-luna-pro

上下文

400K

最大輸出

128K

延遲

均衡

協議

responses

快速开始

直接复制代码,通过 Felo API Platform 兼容 API 调用该模型。写代码前可先在 Playground 测试提示词。

1

填入 API key

從 Felo API Platform 帳戶建立 key,並設定為環境變數。

export FELO_API_KEY="YOUR_API_KEY"
2

發出第一次請求

使用該模型 ID 呼叫 Felo API Platform endpoint。可選請求標頭如 gpt-5.6-luna-pro 能協助排查問題。 X-Request-Id

該模型支援推理。如果所選協議與模型路由提供推理控制,請在繼續對話時保留回傳的推理中繼資料。

複製
const response = await fetch("https://openapi.felo.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.FELO_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "gpt-5.6-luna-pro",
    messages: [
      { role: "user", content: "How many r's are in the word strawberry?" }
    ],
  }),
});

const data = await response.json();
console.log(data.choices[0].message.content);

使用第三方 SDK

兼容 SDK 只需把 baseURL 设置为 baseURL https://openapi.felo.ai/api/v1. Claude 风格客户端使用 Anthropic-compatible base URL。 https://openapi.felo.ai/api.

3

啟用串流輸出

加入 stream: true,即可以 server-sent events 接收回應。

複製
curl -N https://openapi.felo.ai/api/v1/chat/completions   -H "Authorization: Bearer $FELO_API_KEY"   -H "Content-Type: application/json"   -d '{
    "model": "gpt-5.6-luna-pro",
    "stream": true,
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Endpoint

Felo API Platform 提供兼容的模型调用入口。选择你的应用或 Agent 客户端已经支持的接口即可。

SurfaceMethodURL

Chat Completions

Chat completion requests for compatible apps and agents.

POST

https://openapi.felo.ai/api/v1/chat/completions

Responses

Responses-compatible agent and workflow requests.

POST

https://openapi.felo.ai/api/v1/responses

Messages

Anthropic-compatible messages for Claude-style clients.

POST

https://openapi.felo.ai/api/v1/messages

参数

名称类型默认值说明
modelstringgpt-5.6-luna-proPublic model ID to call.
messagesarrayrequiredConversation messages for Chat Completions.
streambooleanfalseReturn server-sent events when true.
temperaturenumber1Controls response variety when supported.
max_tokensintegermodel defaultMaximum generated tokens.
toolsarrayoptionalTool calling definitions following compatible schema.
tool_choicestring or objectoptionalControls whether a tool should be called.
response_formatobjectoptionalRequest structured output when supported.