AppsGrid

Moonshot AI

Kimi K3.1 Pro API

Kimi K3.1 Pro by Moonshot AI, with a 1,048,576-token context window.

Try Kimi K3.1 Pro

Pricing

UsageUSDPKR
Input per 1M tokens$2.16Rs 605
Cached input per 1M tokens$0.216Rs 60.5
Output per 1M tokens$10.80Rs 3,024

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 kimi-k3.1-pro:

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="kimi-k3.1-pro",
    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": "kimi-k3.1-pro", "messages": [{"role": "user", "content": "Hello"}]}'

FAQ

How much does the Kimi K3.1 Pro API cost?
Input: $2.16 (Rs 605) per 1M tokens. Cached input: $0.216 (Rs 60.5) per 1M tokens. Output: $10.80 (Rs 3,024) per 1M tokens. You are only charged for what you use.
Can I pay for Kimi K3.1 Pro 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 Moonshot AI account?
No. Your AppsGrid API key gives you access to Kimi K3.1 Pro and every other model in the catalog.

Other text & chat models