GetRun / OpenAI-compatible API

An OpenAI-Compatible API for Developers in Indonesia

An application already using the OpenAI SDK can move to GetRun by changing its base URL, API key, and model value. POST /v1/chat/completions preserves the messages format, SSE streaming, tool calling on models that support it, and an OpenAI-compatible response shape. GPT, Claude, Gemini, Grok, DeepSeek, and Kimi can be selected without rebuilding the integration for each provider.

This page draws on 22 models from 6 providers in the GetRun catalog, with sample runs starting at Rp495 each. All of them are paid from one rupiah balance, topped up through QRIS.

Why through GetRun

The steps

  1. Change the base URL — Point the OpenAI SDK at https://getrun.id/v1 and use a GetRun API key as the bearer token.
  2. Choose a model — Take an ID from GET /v1/models and put it in the model field without changing your existing messages format.
  3. Enable streaming when needed — Send stream: true to receive server-sent events in an OpenAI-compatible chunk format.

Example with the OpenAI SDK

Point base_url at GetRun and use a model ID from GET /v1/models. This example uses one of the chat models currently in the catalog.

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_GETRUN_API_KEY",
    base_url="https://getrun.id/v1",
)

response = client.chat.completions.create(
    model="gpt/6-luna",
    messages=[{"role": "user", "content": "Hello from Indonesia"}],
)

print(response.choices[0].message.content)

Available models and pricing

AI Text & Chat Models (22)

ModelProviderPrice
GPT-6 LunaOpenAIRp495 / 1M token input
DeepSeek V4.1 FlashDeepSeekRp1,485 / 1M token input
Gemini 3.8 FlashGoogleRp2,784 / 1M token input
GPT-5.4 MiniOpenAIRp3,713 / 1M token input
GPT-5.6 LunaOpenAIRp4,950 / 1M token input
GPT-5.3 Codex SparkOpenAIRp8,663 / 1M token input
GPT-6.1 SolOpenAIRp9,900 / 1M token input
GPT-6 SolOpenAIRp9,900 / 1M token input
Claude Sonnet 5.5AnthropicRp9,900 / 1M token input
Grok 4.7xAIRp9,900 / 1M token input
Grok 4.5xAIRp9,900 / 1M token input
Grok 4.6xAIRp9,900 / 1M token input
Claude Sonnet 5AnthropicRp10,519 / 1M token input
GPT-5.6 TerraOpenAIRp12,375 / 1M token input
GPT-5.4OpenAIRp12,375 / 1M token input
Claude Opus 5.5AnthropicRp19,800 / 1M token input
GPT-5.6 SolOpenAIRp24,750 / 1M token input
GPT-5.5OpenAIRp24,750 / 1M token input
Claude Opus 4.8AnthropicRp24,750 / 1M token input
Kimi K3Moonshot AIRp29,700 / 1M token input
GPT-6 AstraOpenAIRp49,500 / 1M token input
Claude Fable 5AnthropicRp49,500 / 1M token input

Frequently asked questions

Do I need to replace the OpenAI library I already use?
No. Keep the same library and change the base URL, API key, and model. The Python example on this page uses the OpenAI package without an extra adapter.
Which models are available on the chat endpoint?
The current catalog includes GPT, Claude, Gemini, Grok, DeepSeek, and Kimi families. GET /v1/models is the current source for model IDs and availability.
Are streaming and tool calling supported?
The chat endpoint supports streaming. Tool calling depends on the model and is listed in that model’s catalog capabilities.
Is the bill denominated in dollars?
No. Token prices and the account balance are shown in rupiah, and the balance is topped up through QRIS.

Related guides

Standards we follow

Katalog lengkap · Daftar harga · Bandingkan model · Dokumentasi API · Tentang GetRun