AppsGrid

OpenAI

GPT-6 Luna API

GPT-6 Luna by OpenAI, with a 1,050,000-token context window.

Try GPT-6 Luna

Pricing

UsageUSDPKR
Input per 1M tokens$0.108Rs 30.2
Cached input per 1M tokens$0.011Rs 3.0
Output per 1M tokens$0.54Rs 151

PKR prices are approximate and depend on the exchange rate on the day you top up.

Quick start

Create an API key in your dashboard, then call gpt-6-luna:

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(base_url="https://api.appsgrid.co/v1", api_key="ag_sk_...")

response = client.chat.completions.create(
    model="gpt-6-luna",
    messages=[{"role": "user", "content": "Write a tagline for a coffee shop"}],
)
print(response.choices[0].message.content)

cURL

curl https://api.appsgrid.co/v1/chat/completions \
  -H "Authorization: Bearer $APPSGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-6-luna", "messages": [{"role": "user", "content": "Hello"}]}'

FAQ

How much does the GPT-6 Luna API cost?
Input: $0.108 (Rs 30.2) per 1M tokens. Cached input: $0.011 (Rs 3.0) per 1M tokens. Output: $0.54 (Rs 151) per 1M tokens. You are only charged for what you use.
Can I pay for GPT-6 Luna in Pakistani rupees?
Yes. Top up your AppsGrid balance in PKR with a local card or bank account, or in USD with an international card. The same balance works for every model.
Do I need a separate OpenAI account?
No. Your AppsGrid API key gives you access to GPT-6 Luna and every other model in the catalog.

Other text & chat models