Gemini 3.8 Flash API pricing
Use Gemini 3.8 Flash by Google through Vikey from Rp9.000 per 1M input tokens, about 53% below the official price. Pay in Rupiah with QRIS.
Gemini 3.8 Flash pricing
-53%- Input
Rp13.500Rp9.000- Output
Rp67.500Rp18.000- Cache read
- Rp1.800
Per 1M tokens. Official price struck through.
About Gemini 3.8 Flash
- Model id
- gemini/gemini-3.8-flash
- Context window
- 1M tokens
- Capabilities
- -
Use Gemini 3.8 Flash with your coding agent
Point the base URL and API key to Vikey, then select Gemini 3.8 Flash. Works with Claude Code, Codex, opencode and other tools that support an OpenAI or Anthropic base URL.
export ANTHROPIC_BASE_URL=https://api.vikey.ai
export ANTHROPIC_AUTH_TOKEN=YOUR_VIKEY_API_KEY
export ANTHROPIC_MODEL=gemini/gemini-3.8-flash
export ANTHROPIC_DEFAULT_HAIKU_MODEL=openai/gpt-6-luna
claude# First run: export VIKEY_API_KEY=YOUR_VIKEY_API_KEY
model = "gemini/gemini-3.8-flash"
model_provider = "vikey"
[model_providers.vikey]
name = "Vikey"
base_url = "https://api.vikey.ai/v1"
env_key = "VIKEY_API_KEY"
wire_api = "responses"// First run: export VIKEY_API_KEY=YOUR_VIKEY_API_KEY
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"vikey": {
"npm": "@ai-sdk/openai-compatible",
"name": "Vikey",
"options": {
"baseURL": "https://api.vikey.ai/v1",
"apiKey": "{env:VIKEY_API_KEY}"
},
"models": {
"gemini/gemini-3.8-flash": {},
"openai/gpt-6-luna": {}
}
}
},
"model": "vikey/gemini/gemini-3.8-flash",
"small_model": "vikey/openai/gpt-6-luna"
}curl https://api.vikey.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_VIKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini/gemini-3.8-flash", "messages": [{"role": "user", "content": "Halo"}]}'Frequently asked questions
How much does the Gemini 3.8 Flash API cost on Vikey?
Rp9.000 per 1M input tokens and Rp18.000 per 1M output tokens. You pay as you go, with no monthly fee.
How do I use Gemini 3.8 Flash with Claude Code or Codex?
Create an API key on Vikey, then change the base URL and API key in your agent. After that, select Gemini 3.8 Flash as the model. The docs have the full steps.
Can I use Gemini 3.8 Flash together with other models?
Yes. One Vikey API key works for every model. Just change the model name in your request or in your agent settings.
Can I pay for Gemini 3.8 Flash with QRIS?
Yes. Top up with QRIS from Rp10.000, no credit card needed. The same balance works for every model on Vikey.
Start using Gemini 3.8 Flash today
Sign up, top up from Rp10.000 with QRIS, and use your API key in your favorite agent.