HiAPI
OverviewModels MarketAPI KeysUsage StatisticsCall LogsBillingReferralPlaygroundStorageChangelogContact UsSettings
Display unit
N
Powered by hiapi
Settings

Welcome

Contact Us

GPT-5.6 Luna targets cost-sensitive, high-throughput workloads such as bulk classification, extraction, rewriting, and lightweight coding. HiAPI currently exposes text, multi-turn, and function tool calling through the streaming Responses API.

Provider: OpenAI

Category: text generation

Endpoint: /v1/responses

Status: Available

Cost: --

Back to models
OpenAIText APIOnline

GPT-5.6 Luna

GPT-5.6 Luna targets cost-sensitive, high-throughput workloads such as bulk classification, extraction, rewriting, and lightweight coding. HiAPI currently exposes text, multi-turn, and function tool calling through the streaming Responses API.

API access

Endpoint

POST /v1/responses

Base URL

https://apidev.hiapi.ai

Uses the OpenAI Responses format. One HiAPI key works across all available models.

Input price

100 Credits

/ 1M tokens

Output price

600 Credits

/ 1M tokens

Context

1.05M

context window

Max output

128K

output tokens

PlaygroundAPIPricingCapabilitiesOverview

Run settings

The Playground charges the signed-in account balance without requiring an extra API key. Server-side API calls still require a HiAPI API key.

Try GPT-5.6 Luna

Ask a question, upload images, or paste from clipboard. Then inspect the streamed answer, token usage, latency, and estimated cost.

Upload or paste up to 4 images, 10 MB each. Images are safety reviewed.

GPT-5.6 Luna API Quickstart

Call GPT-5.6 Luna with the streaming OpenAI Responses format. Copy a ready-to-use cURL, Python, or Node.js example below.

Code Example
API Endpoint:/v1/responses
curl -N -X POST "https://apidev.hiapi.ai/v1/responses" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.6-luna",
  "input": [
    {
      "type": "message",
      "role": "user",
      "content": [
        {
          "type": "input_text",
          "text": "把下面的用户反馈分成产品、支付、性能和其他四类,并分别提取一句摘要。"
        }
      ]
    }
  ],
  "stream": true,
  "store": false,
  "reasoning": {
    "effort": "medium"
  }
}'

Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.

Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.

Image understanding example

Combine input_text and input_image in one input message. Use a public HTTPS image URL; Playground uploads automatically provide a temporary reviewed URL.

API Endpoint:/v1/responses
curl -N -X POST "https://apidev.hiapi.ai/v1/responses" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-5.6-luna",
  "input": [
    {
      "type": "message",
      "role": "user",
      "content": [
        {
          "type": "input_text",
          "text": "Describe the main subject, setting, and important visual details."
        },
        {
          "type": "input_image",
          "image_url": "https://static.hiapi.ai/example/subject-1.jpg",
          "detail": "low"
        }
      ]
    }
  ],
  "stream": true,
  "store": false,
  "reasoning": {
    "effort": "medium"
  }
}'

Tip: Replace YOUR_API_KEY with your actual API key from the API Keys page.

Uses the OpenAI Responses format. Keep stream: true, send input as a message array, and set reasoning effort with reasoning.effort.

Responses API

Request fields at a glance

Start with core fields, then enable advanced capabilities as needed.

3 required4 capability fields

Core fields

The fields that form a valid request

model
Required
Use the model ID shown on this page.
input
Required
Pass the current conversation context as a message array.
stream
Required
Must be set to true.
store
Fixed
Fixed to false and shown explicitly in examples.

Capability fields

Enable reasoning, context, and tools as needed

reasoning.effort
Optional
none, low, medium, high, xhigh, or max; defaults to medium.
instructions
Optional
Define the role and response requirements.
previous_response_id
Conditional
Use with compatible storage and response chaining; with store=false, replay context from the client.
tools / tool_choice
Optional
Declare and control function tool calls.
i

Max output is a model specification limit, not a per-request generation target. Examples show only the runtime fields currently available and verified on HiAPI.

Manage API keysUse the same HiAPI key across all available models.

GPT-5.6 Luna API Pricing

Billing is based on actual input, output, and cached token usage. All prices below are shown per 1 million tokens.

Input tokens
100 Credits/ 1M tokens

Prompts and context sent to the model

Output tokens
600 Credits/ 1M tokens

Responses and reasoning generated by the model

Cache read
10 Credits/ 1M tokens
Cache write
-

GPT-5.6 Luna Model Specifications

These specifications reflect the current public HiAPI text request contract. Undisclosed capabilities are not inferred by the page.

Streaming
Supported
Tool calling
Supported
Structured JSON
Not supported
Reasoning
Supported
Input modalities
text · image
Output modalities
text
Reasoning efforts
none · low · medium · high · xhigh · max
Max output
128K

About GPT-5.6 Luna

GPT-5.6 Luna targets cost-sensitive, high-throughput workloads such as bulk classification, extraction, rewriting, and lightweight coding. HiAPI currently exposes text, multi-turn, and function tool calling through the streaming Responses API.

HiAPI exposes this model through /v1/responses. Test prompts and parameters in the Playground, then use the same HiAPI API key in your server application.

Provider
OpenAI
Endpoint
/v1/responses
Context window
1.05M
Released
Not disclosed

How to Use GPT-5.6 Luna

The Playground and API share the same model ID, so three steps take a tested prompt into production.

  1. Step 1

    Validate online

    Test instructions, input, and reasoning.effort in the Playground.

  2. Step 2

    Manage API keys

    View an existing key or create another after signing in; one key works across all available models.

  3. Step 3

    Integrate your server

    Send requests to /v1/responses and track cost with the usage object.

GPT-5.6 Family

Related models

Compare the three GPT-5.6 tiers, then validate answer quality, latency, and cost with the same real workloads.

Flagship

GPT-5.6 Sol

gpt-5.6-sol

Complex coding, professional analysis, and demanding agent workflows.

View model→
Balanced

GPT-5.6 Terra

gpt-5.6-terra

Everyday development and agent tasks balancing capability, latency, and cost.

View model→
EfficientCurrent model

GPT-5.6 Luna

gpt-5.6-luna

Cost-sensitive, high-concurrency, and high-volume text and coding work.

Viewing now

Frequently asked questions

What is GPT-5.6 Luna?

GPT-5.6 Luna is the efficient GPT-5.6 tier for cost-sensitive, high-concurrency, or high-volume text and coding workloads. HiAPI provides text, image understanding, multi-turn conversations, and function calls with one HiAPI API key.

How should I choose between GPT-5.6 Sol, Terra, and Luna?

Choose Sol for quality-first complex professional work, Terra for a balanced mix of capability, latency, and cost, or Luna for cost-sensitive and high-throughput workloads. Evaluate all three with the same representative prompts, then compare answer quality, time to first token, total latency, and actual token cost.

Which endpoint and model ID does GPT-5.6 Luna use?

Use POST /v1/responses as the recommended endpoint, set model to gpt-5.6-luna, and pass an input message array with stream=true and store=false. Existing OpenAI Chat Completions clients can also call POST /v1/chat/completions with messages and receive a standard choices response. Both endpoints use the same HiAPI API key.

Which reasoning efforts does GPT-5.6 Luna support?

Set reasoning.effort to none, low, medium, high, xhigh, or max; the default is medium when omitted. Use none/low for latency-sensitive work, medium as a general starting point, high/xhigh for quality-first tasks, and max only for the hardest requests that justify extra latency and token use.

How do I parse GPT-5.6 Luna streaming responses?

This endpoint requires stream=true and emits typed Responses API SSE events. Read text from response.output_text.delta, completion from response.completed, and failures from error. Do not reuse the Chat Completions choices[0].delta parser.

How do I build a multi-turn conversation with GPT-5.6 Luna?

The examples use store=false, so the most reliable approach is to keep conversation state in your application and replay the required user, assistant, and tool items in the next input. Use previous_response_id only with a compatible storage and response-chaining strategy. Prior tokens brought back into context are still billed.

Does GPT-5.6 Luna support function calling?

Yes. Declare functions in tools and control selection with tool_choice. After a function_call, run the local tool and return function_call_output with the same call_id before continuing. This page lists only the tool capabilities verified on HiAPI; unlisted hosted tools are not guaranteed.

Does GPT-5.6 Luna support image input and vision?

Yes. Use input_image in a Responses input message. Playground accepts up to four uploaded or clipboard-pasted images, validates their format, reviews them for content safety, and converts them to temporary HTTPS URLs. This integration supports image understanding with text output, not audio or video input.

What are the context and output limits for GPT-5.6 Luna?

OpenAI currently documents a 1,050,000-token context window, 922,000 maximum input tokens, and 128,000 maximum output tokens. Input, output, and reasoning all consume context. The displayed maximum is a model specification; use the API examples and capability parameters on this page as the runtime contract.

How is GPT-5.6 Luna API usage billed?

HiAPI bills actual input, output, and cached-input tokens separately, with reasoning tokens counted as output. The model and pricing pages show current public rates; the Responses API usage object and HiAPI usage logs record final usage and charges.