ChatOpenAI
GPT-6 Luna
OpenAI’s GPT-6 Luna: the lowest-priced GPT-6 tier, for high-volume work.
- Model ID
openai/gpt-6-luna- Endpoint
POST /v1/chat/completions
Price
| per 1M tokens | Minu |
|---|---|
| Input tokens | $0.10 |
| Cached input tokens | $0.01 |
| Output tokens | $0.50 |
Chat is billed per token, for input and output, after each response.
Request example
The official OpenAI SDKs work as they are: set baseURL to https://api.minu.ai/v1 and use your Minu key.
curl https://api.minu.ai/v1/chat/completions \
-H "Authorization: Bearer $MINU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-6-luna",
"messages": [
{
"role": "user",
"content": "Write a haiku about queues."
}
]
}'import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.MINU_API_KEY,
baseURL: 'https://api.minu.ai/v1',
});
const completion = await client.chat.completions.create({
model: 'openai/gpt-6-luna',
messages: [
{
role: 'user',
content: 'Write a haiku about queues.',
},
],
});
console.log(completion.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINU_API_KEY"],
base_url="https://api.minu.ai/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-6-luna",
messages=[
{
"role": "user",
"content": "Write a haiku about queues.",
},
],
)
print(completion.choices[0].message.content)Input parameters
Send the standard OpenAI chat completions body: model, messages and the usual options.