Models

gpt-6-luna

LLMs Text

gpt-6-luna on 4AICode

Use model ID gpt-6-luna (OpenAI) through the 4AICode relay. Prices below come from the repository snapshot of the public model-rates API; the console remains the source of truth if rates change.

Model ID

gpt-6-luna

Pricing

Meter4AICode (USD / 1M tokens)Official reference
Input$0.05$0.1
Output$0.25$0.5
Cache read$0.01—
Cache write (5m)$0.07—
Cache write (1h)$0.07—

Snapshot pricing only. Always confirm the live rate in the dashboard before budgeting.

Compatibility

  • Vendor / channel: OpenAI / codex
  • Billing mode: per token
  • Suggested endpoints: chat_completions、responses
  • Capabilities: Streaming, Tools, Reasoning

Example request

POST /v1/chat/completions HTTP/1.1
Host: relay.4aicode.com
Authorization: Bearer sk-4ai-xxxxxxxxxxxxxxxx
content-type: application/json

{
  "model": "gpt-6-luna",
  "stream": true,
  "messages": [
    { "role": "user", "content": "Write a hello world in Go." }
  ]
}

Next steps

  1. Create a token in Token management.
  2. Point your client base_url to https://relay.4aicode.com (or https://relay.4aicode.net for mainland routing).
  3. Set model to gpt-6-luna.