Call GPT-5.6 Luna, Terra, or Sol through PoYo's Responses-compatible API with exact model IDs and a minimal Node.js example.
Answer: To use the GPT-5.6 API, send a server-side request to POST https://api.poyo.ai/v1/responses with model gpt-5-6-luna, gpt-5-6-terra, gpt-5-6-sol and a PoYo API key. The examples in this repository are runnable with Node.js 22+ or cURL.
Last verified against the live PoYo schema and pricing on August 9, 2026.
- Create a key in the PoYo dashboard.
- Copy
.env.exampleto.envand replace the placeholder. - Run
node node/index.mjs.
POYO_API_KEY=YOUR_POYO_API_KEY_HERE
POYO_BASE_URL=https://api.poyo.aiThe complete cURL request is in curl/generate.md. The Node.js example prints the complete JSON response.
gpt-5-6-lunagpt-5-6-terragpt-5-6-sol
Use the exact IDs above. Product names and API model IDs are not always identical.
| Field | Requirement | Meaning |
|---|---|---|
| model | required | gpt-5-6-luna, gpt-5-6-terra, or gpt-5-6-sol. |
| input | required | String or Responses-style input items. |
| instructions | optional | High-level system instructions. |
| max_output_tokens | optional | Maximum output tokens. |
| reasoning | optional | Reasoning configuration for supported variants. |
| stream | optional | Enable streaming. |
| Usage | Price |
|---|---|
| GPT-5.6 Luna input | $0.056 per 1M tokens |
| GPT-5.6 Luna output | $0.336 per 1M tokens |
| GPT-5.6 Terra input | $0.56 per 1M tokens |
| GPT-5.6 Terra output | $3.36 per 1M tokens |
| GPT-5.6 Sol input | $1.40 per 1M tokens |
| GPT-5.6 Sol output | $8.40 per 1M tokens |
Pricing can change. Confirm the current amount on the model page before a production rollout.
- high-volume assistants
- reasoning and coding
- tool-using agents
- There is no generic gpt-5-6 alias in this integration; choose Luna, Terra, or Sol explicitly.
- Start with Luna for low-cost workloads, Terra for balanced reasoning, and Sol for the highest-capability tier.
- Read generated text from the response output items or use your SDK's output-text helper.
Set an application timeout, retry only transient failures, cap output size, and record token usage. Do not put POYO_API_KEY in browser or mobile client code.
curl/generate.md— copy-paste requestnode/index.mjs— dependency-free Node.js exampledocs/production-notes.md— limits and rollout checklist
MIT