New: GLM-4.6 & Kimi K2 are now in the catalog. View models
CosmosIn

The affordable AI Gatewayfor yourapps, agents, tools, stack

Access GLM, Kimi, MiniMax, and DeepSeek with one OpenAI-compatible key. Simply change your base URL, pay via QRIS or Crypto, and track usage on the dashboard.

~/main.py
from openai import OpenAI
client = OpenAI(
base_url="https://api.cosmosin.io/v1",
api_key="sk-cos...",
)
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
OpenAIAnthropicGoogleDeepSeekQwenMoonshot AIZhipu AIMiniMaxNVIDIA

Gateway Statistics

Token usage and total requests at CosmosIn.

63.2B+tokens processed
662K+total requests
56+models in catalog
377+total users

Top models last 24 hours

1DeepSeek V3
18.4B
2GLM-4-Flash
12.1B
3Kimi K2
9.7B
4MiniMax Text
7.2B
5Qwen Max
5.8B

One Gateway for All Your AI Needs

Connect your code via standard SDKs, track per-request metrics live, and save on API costs.

Change one line, runs instantly

Compatible with OpenAI and Anthropic SDKs. Your existing code keeps working as is.

config.py
-base_url = "https://api.anthropic.com/v1"
-base_url = "https://api.openai.com/v1"
+base_url = "https://api.cosmosin.io/v1"
Token usage324M
MonTueWedThuFriSatSun

Track tokens, latency, and cost

See daily token-consumption charts and per-request cost breakdowns right from the dashboard.

50–99% cheaper than the official provider

Per-token pricing in Rupiah. We add no markup and invent no exchange rates. Compare with the official provider yourself.

Kimi K3 per 1M tokens

Official providerRp 45,000
CosmosInRp 550

Three steps, five minutes.

From signup to your first request, with minimal setup.

01

Sign up & create an API key

Email or Google. Your key is active the moment you create it.

02

Top up

Automatic top-up via QRIS from Rp10,000. Balance lands the moment payment confirms.

03

Call a model

Swap the base URL in your favorite tool. Everything else stays the same.

Works with your favorite tools

Coding agents, AI IDEs, and OpenAI-compatible clients: all through one endpoint.

Per-token pricing, in Rupiah.

Top up from Rp10,000. Credits never expire. The price you see is the price you pay.

See all models

claude-haiku-4.5

Anthropic

Price Rp 250/M · ~$0.015
Context 200K
TextVision

claude-sonnet-4.5

Anthropic

Price Rp 2.500/M · ~$0.150
Context 1M
TextReasoningVision
Free

deepseek-3.2

DeepSeek

Context 128K
Text

deepseek-v4-flash

Alibaba Cloud

Price Rp 400/M · ~$0.024
Context 1M
Text

deepseek-v4-flash-0731

Alibaba Cloud

Price Rp 400/M · ~$0.024
Context 1M
Text

deepseek-v4-pro

Alibaba Cloud

Price Rp 450/M · ~$0.027
Context 1M
TextReasoning

gemini-3.1-pro

Google

Price Rp 250/M · ~$0.015
Context 2M
TextReasoningVision

gemini-3.5-flash

Google

Price Rp 250/M · ~$0.015
Context 1M
TextVision

gemini-3.6-flash

Google

Price Rp 300/M · ~$0.018
Context 1M
TextVision

gemini-3.7-flash

Google

Price Rp 300/M · ~$0.018
Context 1M
TextReasoningVision
Free

glm-5

Zhipu AI

Context 128K
Text

glm-5.2

Zhipu AI

Price Rp 500/M · ~$0.030
Context 1M
TextReasoning

Combined input + output price per 1M token.

Common questions

Still have questions? Our Telegram

One OpenAI & Anthropic compatible endpoint that routes your requests to dozens of AI models. You pay per token in Rupiah, and you don't need an international credit card.

If your tool can change its base URL, it's supported. Claude Code, Cursor, Codex, OpenCode, and others are covered. See the setup guides in the docs.

Via QRIS, e-wallets, or virtual accounts. Payments are confirmed automatically and your balance lands instantly. You never send a transfer receipt.

No. PAYG balance has no validity period. Your balance stays yours.

PAYG (Pay As You Go) means you pay per token from your balance. Top up from Rp10,000, balance never expires, usable for all models.

56+ models in the launch catalog, all under their real names. The full catalog is visible after sign-up.

The gateway retries another key first, then reroutes to a backup provider for the same model. You change nothing.

Your first request could run tonight.

CosmosIn — The Affordable AI Gateway for Indonesian Developers