Gemini 3.8 Flash

Google · Text · Context 1.05M · max output 65.5K tokens

gemini-3.8-flash Try

Pricing

Per 1 million tokens
MarkasAIVendor list price
InputRp 11.465Rp 13.418
OutputRp 57.324Rp 67.088
CacheRp 1.147
Cache writeRp 11.465

MarkasAI sale prices in Rupiah, read from the same catalog as GET /v1/models. Prices can change and apply to later requests.

Specifications

Model ID
gemini-3.8-flash
Provider
Google
Type
Text
Endpoint
POST /v1/chat/completions
Context window
1,048,576 tokens
Output limit per request
65,535 tokens

About this model

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

Quoted from the provider's public catalog, in English.

Call example

curl https://api.markas.ai.id/v1/chat/completions \
  -H "Authorization: Bearer $MARKASAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "messages": [{"role": "user", "content": "What is an API?"}],
    "max_tokens": 300
  }'
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.markas.ai.id/v1", api_key=os.environ["MARKASAI_API_KEY"])

resp = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "What is an API?"}],
    max_tokens=300,
)
print(resp.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.markas.ai.id/v1", apiKey: process.env.MARKASAI_API_KEY });

const resp = await client.chat.completions.create({
  model: "gemini-3.8-flash",
  messages: [{ role: "user", content: "What is an API?" }],
  max_tokens: 300,
});
console.log(resp.choices[0].message.content);

Keep your API key in the MARKASAI_API_KEY environment variable. Read the endpoint docs

All models