Skip to content
OpenAIChatgpt-6-luna

GPT-6 Luna API

Input
$0.1per 1M tokens
Output
$0.5per 1M tokens
Cached input
$0.01per 1M tokens
Context
1.1M

The lowest-priced GPT-6 for high-volume tasks.

GPT-6 Luna is priced for volume — classification, extraction, and other high-throughput jobs that still benefit from the GPT-6 generation.

  • High volume
  • Classification
  • Data extraction

Model details

Context window
1.1M tokens
Max output
128K tokens
Input
Text, images
Output
Text
Capabilities
Reasoning, Vision, Tool calling, Streaming, JSON output
Interfaces
OpenAI-style Chat Completions, Anthropic-style Messages, OpenAI-style Responses

GPT-6 Luna API pricing

Prices use the units shown below. No gateway fees. Usage, size and model options may affect the total.

GPT-6 Luna pricing.
MetricPrice
/ 1M input tokens$0.1
/ 1M output tokens$0.5
/ 1M cached input tokens$0.01
/ 1M cache write tokens (5 min)$0.125
/ web search$0.01
/ 1M input tokens · Up to 272K input tokens$0.1
/ 1M output tokens · Up to 272K input tokens$0.5
/ 1M cached input tokens · Up to 272K input tokens$0.01
/ 1M cache write tokens (5 min) · Up to 272K input tokens$0.125
/ 1M input tokens · Above 272K input tokens$0.2
/ 1M output tokens · Above 272K input tokens$0.75
/ 1M cached input tokens · Above 272K input tokens$0.02
/ 1M cache write tokens (5 min) · Above 272K input tokens$0.25

What GPT-6 Luna costs for real work

Typical workloads at list price, worked out from the rates above. Nothing is added on top.

WorkloadTokensCost
1,000 chat replies1,500 tokens in, 400 out, each$0.350
Summarise a 100-page document60K tokens in, 2K out$0.0070
10M tokens of coding-agent work10M tokens: 85% cached input, 12% fresh input, 3% output$0.355
1M output tokensGenerated text only$0.500

GPT-6 Luna on a Token Plan

A $20 Token Plan comes with $60 of usage every month, spent at GPT-6 Luna's list price — about 1.7B tokens of coding-agent traffic.

See Token Plans

Why teams pick it

  • Lowest price in the GPT-6 family
  • Built for classification and extraction at scale
  • Over 1M tokens of context

Call GPT-6 Luna

GPT-6 Luna answers on any of the APIs below — pick the one your code already speaks and just swap in your Inferray key.

/v1/chat/completionsOpenAI-style Chat Completions · openai SDK or plain HTTP
curl https://api.inferray.com/v1/chat/completions \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-6-luna",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/messagesAnthropic-style Messages · @anthropic-ai/sdk SDK or plain HTTP
curl https://api.inferray.com/v1/messages \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-6-luna",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}'
/v1/responsesOpenAI-style Responses · openai SDK or plain HTTP
curl https://api.inferray.com/v1/responses \
  -H "Authorization: Bearer inferray_..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-6-luna",
  "input": "Hello"
}'

Conversation compaction is also available at POST /v1/responses/compact.

Use GPT-6 Luna in your tools

Every coding agent below has a setup guide. Set the model to gpt-6-luna.

Run GPT-6 Luna in Claude Code

More from OpenAI

Alternatives to GPT-6 Luna

Questions about this model

How much does the GPT-6 Luna API cost?
GPT-6 Luna costs $0.1 per 1M input tokens and $0.5 per 1M output tokens on Inferray, and cached input is $0.01 per 1M. That is the list price, with no gateway fee on top.
Is there a free tier for GPT-6 Luna?
No. You add credit and pay GPT-6 Luna's list rate for each request — seats, projects, and API keys are free, and pay-as-you-go credit never expires.
Am I charged for failed requests?
No. A request that fails without returning a result is not billed. If a response fails part-way, the tokens already processed before the failure are charged.
Is GPT-6 Luna included in Token Plans?
Yes. A Token Plan's credit is spent at GPT-6 Luna's list price, so the $20 Solo plan gives you $60 of GPT-6 Luna usage a month.
Can I use GPT-6 Luna in Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.inferray.com, ANTHROPIC_AUTH_TOKEN to your Inferray key, and ANTHROPIC_MODEL to gpt-6-luna. The same key works in Codex, opencode, Cline, and other agents.
Does GPT-6 Luna support tool calling and vision?
GPT-6 Luna supports tool calling, image input, reasoning, JSON output and streaming on Inferray.
Is it the real GPT-6 Luna?
Yes. A request for gpt-6-luna is answered by GPT-6 Luna from OpenAI, billed at its published list price. Inferray never substitutes a different or smaller model.

Prices from the catalog as of November 26, 2026.