🎁 Sign up, get $1. Join Discord, get $5!
Models
Playground
Activity
Docs
Resource
Console
O

GPT-6 Luna

34% off
OpenAIModel IDgpt-6-luna

Summary

What is GPT-6 Luna?

OpenAI's most efficient model for focused, high-volume tasks

Capabilities

ReasoningTool useStructured outputsVision

Use cases

Advanced ReasoningCodingAgentsMultimodalVisionThinkingTool UseFunction CallingStructured OutputWeb SearchFile SearchComputer UseCode InterpreterMCPLong-Horizon Tasks1M Context

Pricing

Billing conditionRateMTok
Input tokensOutput tokensCache read tokensCache write tokens
Billable input <= 272000$0.1$0.066$0.5$0.33$0.01$0.0066$0.13$0.083
Billable input > 272000$0.2$0.13$0.75$0.49$0.02$0.013$0.25$0.17
Otherwise$0.2$0.13$0.75$0.49$0.02$0.013$0.25$0.17

Integration

Code Example

curl -X POST 'https://octopusx.ai/v1/responses' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model":"gpt-6-luna","input":"your prompt","max_output_tokens":4096,"stream":false,"reasoning":{"effort":"low"}}'
# Result: output[].content[].text (json)

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

Authorization: Bearer ${API_KEY}

Endpoint Path

POST

Supported Parameters

ParameterTypeRequiredDefaultDescription
textareaRequired—Prompt

Response extraction

output[].content[].textjson