# gpt-6-luna-decisions > LLM model from openai, available via Core.Today API. - **Provider**: openai - **Model ID**: gpt-6-luna-decisions - **Category**: decision - **Pricing Type**: token_based - **Billing**: per token — see Token Pricing ## API Endpoint Base URL: https://api.core.today ### Chat Completions POST /llm/openai/v1/chat/completions ## Authentication Header: `Authorization: Bearer YOUR_API_KEY` Note: Your Core.Today API key (`cdt_xxx`) works as Bearer token. ## Input Parameters - `model` (string, **required**): Model identifier. Use `gpt-6-luna-decisions` - `messages` (array, **required**): Array of message objects with `role` and `content` - `temperature` (number, optional): Sampling temperature (Default: `1.0`; Range: min: 0, max: 2) - `max_tokens` (integer, optional): Maximum tokens to generate - `stream` (boolean, optional): Enable streaming responses (Default: `false`) - `top_p` (number, optional): Nucleus sampling parameter (Default: `1.0`) ## Example Request ```json { "model": "gpt-6-luna-decisions", "messages": [ { "role": "user", "content": "Hello, how are you?" } ] } ``` ## Response Format ```json { "id": "chatcmpl-abc123", "object": "chat.completion", "model": "gpt-6-luna-decisions", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Response text here" }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 10, "completion_tokens": 20, "total_tokens": 30 } } ``` ## Usage Flow 1. POST /llm/openai/v1/chat/completions with model and messages 2. Response is returned synchronously (or streamed if stream=true) 3. Credits are deducted based on token usage ## Token Pricing - Input: 0.0001858 credits/token (185.8 credits per 1M tokens) - Image Input: 0.0001858 credits/token (charged at the Input rate) - Output: 0.0 credits/token (0 credits per 1M tokens) ### Long-context tier Prompts above 272,000 input tokens are billed at these rates for the whole request: - Input: 0.0003716 credits/token (371.6 credits per 1M tokens) - Output: 0.0 credits/token (0 credits per 1M tokens) ## Image Input This model accepts images as input. Image bytes are converted to tokens by the upstream provider and charged at the standard Input rate (0.0001858 credits/token). **Tokenization**: tile-based - Tokens per image ≈ `85 + 170 × tiles` (each tile = 512×512px after scaling) - Notes: low=85 fixed; high=85 + 170×tiles after scaling to 2048 max then 768 short edge ### Example (OpenAI-compatible) ```json { "model": "gpt-6-luna-decisions", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "What's in this image?" }, { "type": "image_url", "image_url": { "url": "https://example.com/image.jpg" } } ] } ] } ``` ## Tags openai, decision