AppsGrid

Google

Gemini 3.8 Flash API

Gemini 3.8 Flash by Google, with a 1,048,576-token context window.

Try Gemini 3.8 Flash

Pricing

UsageUSDPKR
Input per 1M tokens$0.891Rs 249
Cached input per 1M tokens$0.089Rs 24.9
Output per 1M tokens$4.46Rs 1,247

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 gemini-3.8-flash:

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="gemini-3.8-flash",
    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": "gemini-3.8-flash", "messages": [{"role": "user", "content": "Hello"}]}'

FAQ

How much does the Gemini 3.8 Flash API cost?
Input: $0.891 (Rs 249) per 1M tokens. Cached input: $0.089 (Rs 24.9) per 1M tokens. Output: $4.46 (Rs 1,247) per 1M tokens. You are only charged for what you use.
Can I pay for Gemini 3.8 Flash 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 Google account?
No. Your AppsGrid API key gives you access to Gemini 3.8 Flash and every other model in the catalog.

Other text & chat models