# GlianaAI > One HTTP API for 175 AI models (LLM chat, image, video, music, text-to-speech, speech-to-text) and 71 utility tools (identity documents and faces, Indonesian data, web scraping and search, market data, SEC filings, OSINT, security checks), paid per call. Pay from your own wallet with no signup and no API key (HTTP 402), or from a prepaid balance with an API key. Made by PT Glianalabs Algoritma Desentralisasi, Indonesia. Base URL: https://api.glianalabs.com. Every paid call can be priced before paying: an unpaid request answers 402 with the exact price, and `GET /v1/price?model=` quotes it without a call. Inputs are checked before payment is asked for. ## Call it - `POST /v1/chat/completions`: OpenAI-compatible chat for every chat model. Streaming (`stream: true`, SSE) and tool calling. Point an OpenAI SDK at `https://api.glianalabs.com/v1`. - `POST /v1/messages`: Anthropic Messages format (streaming, tools, `/v1/messages/count_tokens`) for Anthropic SDKs and agents; any chat model, with a prepaid `gk_` key. - `POST /v1/infer` with `{ "model": "", ...inputs }`: any model. Images, video and audio come back as URLs. - OpenAI-style paths, model in the body: `/v1/images/generations`, `/v1/images/edits`, `/v1/video/generations`, `/v1/audio/speech`, `/v1/audio/transcriptions`, `/v1/music/generations`. - `POST /v1/tools/` (or GET for the free ones): utility tools, flat price per call. - Free helpers: `GET /v1/models`, `GET /v1/tools`, `GET /v1/schema?model=` (a model's inputs), `GET /v1/price?model=`, `GET /v1/consult?intent=` (which endpoint fits). ## Pay - **Wallet, no account (HTTP 402).** Call, receive `402 Payment Required` with the price, pay, retry with the proof. Routes by rail: MPP on `/v1/*` (USDC on Tempo; client: `mppx`), x402 on `/x402/` (USDC on Base or Solana), b402 on `/b402/` (BNB Smart Chain, gasless), a402 on `/a402/` (USDC on Algorand). Many small calls: one payment channel at `/v1/session/infer`. - **Prepaid balance.** Sign in with Google at https://dashboard.glianalabs.com, top up in rupiah (QRIS, virtual account, e-wallet) or USDC, and send `Authorization: Bearer gk_...`. Same endpoints, same prices. Each key has a daily spending cap ($5 by default). - **When a call fails:** a prepaid balance is refunded automatically; on `/x402`, `/b402` and `/a402` a failed run is never charged (it runs before settlement); on the main MPP route a payment that already settled is not refunded. ## Honest limits - Identity tools (`ocr-id`, `kyc-verify`, face tools, `verify-nik`, `verify-npwp`) are not checked against Dukcapil, DJP or any government database, and `kyc-verify` has no liveness check: they return measurements, not verdicts. - Prices change with providers; read them live from `/v1/models`, `/v1/tools` or `/v1/price`, not from a copy. ## Models Prices are what the caller pays, per the unit shown. Chat models bill on tokens; the per-request charge is reserved on the input plus `max_tokens` and settled to actual use. Inputs per model: `GET https://api.glianalabs.com/v1/schema?model=`. ### Image to video - `wan-2.7-i2v` (Alibaba): $0.1800 Default per second - `hh1-i2v` (Alibaba): $0.6090 Default per second - `hh1.1-i2v` (Alibaba): $0.2610 Default per second - `hh1.1-r2v` (Alibaba): $0.2610 Default per second - `hailuo-2.3-fast` (MiniMax): $0.0696 Default per second ### Music - `music-2.6` (MiniMax): $0.1920 Per track - `music-v2` (ElevenLabs): $0.003000 Per second - `lyria-3.5` (Google): $0.0960 Per track - `lyria-3` (Google): $0.0480 Per track - `lyria-3-pro` (Google): $0.0960 Per track ### Speech to text - `grok-stt` (xAI): $0.003002 Per audio minute - `gpt-4o-transcribe` (OpenAI): $0.0108 Per audio minute - `universal-3-pro` (AssemblyAI): $0.006300 Per audio minute - `universal-3.5-pro` (AssemblyAI): $0.008556 Per audio minute - `scribe-v3` (ElevenLabs): $0.004000 Per audio minute (with key terms $0.004166) ### Text to image - `flux-2-pro-preview` (Black Forest Labs): $0.0540 First output megapixel - `flux-2-max` (Black Forest Labs): $0.1260 First output megapixel - `flux-2-flex` (Black Forest Labs): $0.0900 First output megapixel - `grok-imagine-image-quality` (xAI): $0.0600 Per image - `grok-imagine-image` (xAI): $0.0240 Per image - `recraftv4-pro` (Recraft): $0.4500 Per image - `recraftv4-vector` (Recraft): $0.1440 Per image - `recraftv4-pro-vector` (Recraft): $0.5400 Per image - `recraftv4-1-vector` (Recraft): $0.1440 Per image - `recraftv4-1-utility-vector` (Recraft): $0.1440 Per image - `recraftv4-1-utility-pro` (Recraft): $0.2520 Per image - `recraftv4-1-utility-pro-vector` (Recraft): $0.5400 Per image - `recraftv4-1-pro-vector` (Recraft): $0.5400 Per image - `recraftv4-1-utility` (Recraft): $0.0420 Per image - `recraftv4-1` (Recraft): $0.0420 Per image - `recraftv4-1-pro` (Recraft): $0.2520 Per image - `recraftv4` (Recraft): $0.0720 Per image - `recraftv3` (Recraft): $0.0720 Per image - `gpt-image-2` (OpenAI): $0.2246 Per image (by quality) - `nano-banana-pro` (Google): $0.1860 Per image - `nano-banana` (Google): $0.0468 Per image - `brainrot-character` (GlianaAI): $0.2000 Per image - `nano-banana-2` (Google): $0.1140 Per image - `seedream-4.5` (ByteDance): $0.0720 Per image - `seedream-5-lite` (ByteDance): $0.0630 Per image - `seedream-4.0` (ByteDance): $0.0540 Per image - `wan-2.6-image` (Alibaba): $0.0540 Per image - `krea-2-medium-turbo` (Krea): $0.0180 Per image - `krea-2-medium` (Krea): $0.0360 Per image - `krea-2-large` (Krea): $0.0720 Per image - `z-image-turbo` (Pruna): $0.006000 Per image - `seedream-5-pro` (ByteDance): $0.0540 Per image - `nano-banana-2-lite` (Google): $0.0464 Per image - `grok-imagine-image-2.0` (xAI): $0.0480 Per image - `flux-1-kontext-pro` (Black Forest Labs): $0.0480 Per image - `flux-1-kontext-max` (Black Forest Labs): $0.0960 Per image - `qwen-image-3.0-pro` (Alibaba): $0.0840 Per image (2K ceiling) - `gpt-image-2.5-sunburst` (OpenAI): $0.6739 Per image (by quality) - `gpt-image-2.5-flare` (OpenAI): $0.6739 Per image (by quality) - `fibo-generate-1.5` (Bria): $0.0360 Per image - `nano-banana-2.1` (Google): $0.0535 Per image (1K; 2K $0.0614, 4K $0.124) - `flux-3-image-klein` (Black Forest Labs): $0.0128 Per image (1k; scales with resolution up to 4k) - `gpt-image-2.6-sunburst` (OpenAI): $0.6739 Per image (by quality) - `gpt-image-2.6-flare` (OpenAI): $0.6739 Per image (by quality) - `kling-v4-image` (Kling AI): $0.0756 Per image - `flux-1.1-pro` (Black Forest Labs): $0.0480 Per image - `seedream-5.5` (ByteDance): $0.0420 Per image ### Text to video - `brainrot-video` (GlianaAI): $1.0500 Per video - `q3-pro` (Vidu): $0.2719 Default per second - `q3-turbo` (Vidu): $0.1305 Default per second - `gen-4.5` (RunwayML): $0.2610 Default per second - `v6` (PixVerse): $0.1305 Default per second - `v5.6` (PixVerse): $0.1740 Default per second - `hailuo-2.3` (MiniMax): $0.1022 Default per second - `veo-3.1-fast` (Google): $0.1740 Default per second - `veo-3.1` (Google): $0.8700 Default per second - `seedance-2.0-fast` (ByteDance): $0.1740 Default per second - `seedance-2.0-mini` (ByteDance): $0.1305 Default per second - `seedance-2.5` (ByteDance): $0.3352 Default per second - `seedance-2.0` (ByteDance): $0.2175 Default per second - `hh1-t2v` (Alibaba): $0.6090 Default per second - `hh1.1-t2v` (Alibaba): $0.2610 Default per second - `ltx-2-5-fast` (Lightricks): $0.1305 Default per second - `wan-3.0` (Alibaba): $0.0725 Default per second - `wan-3.0-prime` (Alibaba): $0.0986 Default per second - `gemini-omni-flash` (Google): $4.4092 Per video (by resolution) - `gemini-omni-1.1-flash` (Google): $4.4092 Per video (by resolution) - `h3` (MiniMax): $0.1160 Default per second - `h3-max` (MiniMax): $0.0725 Default per second - `flux-3-video` (Black Forest Labs): $0.2175 Default per second - `h3-lite` (MiniMax): $0.0181 Default per second - `h3-highspeed` (MiniMax): $0.0435 Default per second - `gemini-omni-1.2-flash` (Google): $3.0234 Per video (by resolution) - `kling-v2.6` (Kling AI): $0.1015 Per second (with sound $0.14) - `seedance-1-pro` (ByteDance): $0.0746 Default per second - `seedance-1-pro-fast` (ByteDance): $0.0299 Default per second - `seedance-1.5-pro` (ByteDance): $0.0358 Default per second (with audio $0.0494) ### Text to speech - `grok-tts` (xAI): $0.000028 Per character - `tts-1-hd` (OpenAI): $0.000054 Per character - `tts-1` (OpenAI): $0.000028 Per character - `speech-2.8-turbo` (MiniMax): $0.000108 Per character - `speech-2.8-hd` (MiniMax): $0.000180 Per character - `tts-2` (Inworld): $0.000030 Per character - `tts-1.5-max` (Inworld): $0.000063 Per character - `tts-1.5-mini` (Inworld): $0.000018 Per character - `gemini-3.1-flash-tts` (Google): $0.000039 Per character - `eleven-v3` (ElevenLabs): $0.000120 Per character - `eleven-multilingual-v2` (ElevenLabs): $0.000120 Per character - `eleven-turbo-v2-5` (ElevenLabs): $0.000060 Per character - `eleven-flash-v2-5` (ElevenLabs): $0.000060 Per character - `gemini-3.8-flash-tts` (Google): $0.000029 Per character - `gemini-3.8-flash-lite-tts` (Google): $0.000020 Per character ### Video to video - `aleph-2` (RunwayML): $0.4872 Default per second - `v-rmbg-3.0` (Bria): $0.0326 Default per second - `kling-v2-6-motion-control` (Kling AI): $0.1015 Default per second - `kling-v3-motion-control` (Kling AI): $0.1827 Default per second ### Chat / LLM - `mimo-v2.6-flash` (Xiaomi): $0.0028 input / $0.0028 output per 1M tokens; context 195,000 tokens - `glm-5.3-flash` (Z.ai): $0.0236 input / $0.0788 output per 1M tokens; context 1,000,000 tokens - `qwen3.8-flash` (Alibaba): $0.0336 input / $0.0987 output per 1M tokens; context 1,000,000 tokens - `deepseek-v4-flash` (DeepSeek): $0.0462 input / $0.1386 output per 1M tokens; context 1,000,000 tokens - `glm-5.2` (Z.ai): $0.0578 input / $0.2027 output per 1M tokens; context 1,000,000 tokens - `gpt-6-luna` (OpenAI): $0.105 input / $0.525 output per 1M tokens, $0.0105 cached input; context 128,000 tokens - `claude-haiku-5.5` (Anthropic): $0.105 input / $0.525 output per 1M tokens, $0.0105 cached input; context 100,000 tokens - `muse-ember-1.0` (Meta): $0.105 input / $0.525 output per 1M tokens - `minimax-m3.1-flash` (MiniMax): $0.1575 input / $0.63 output per 1M tokens; context 1,000,000 tokens - `particle-1` (Particle): $0.2625 input / $1.05 output per 1M tokens; context 1,048,576 tokens - `inkling-2-small` (Thinking Machines): $0.315 input / $1.05 output per 1M tokens; context 1,048,576 tokens - `gpt-5.6-luna` (OpenAI): $0.21 input / $1.26 output per 1M tokens, $0.021 cached input; context 128,000 tokens - `minimax-m3` (MiniMax): $0.315 input / $1.26 output per 1M tokens; context 512,000 tokens - `deepseek-v4.1-flash` (DeepSeek): $0.315 input / $1.26 output per 1M tokens; context 1,048,576 tokens - `qwen3.7-plus` (Alibaba): $0.336 input / $1.34 output per 1M tokens - `deepseek-v4.1-flash-1017-uncensored` (DeepSeek): $0.486 input / $1.46 output per 1M tokens; context 131,072 tokens - `glm-5.3-flash-abliterated` (Z.ai): $0.5616 input / $2.34 output per 1M tokens; context 131,072 tokens - `gemini-3.5-flash-lite` (Google): $0.315 input / $2.63 output per 1M tokens; context 1,048,576 tokens - `grok-4.3` (xAI): $1.31 input / $2.63 output per 1M tokens; context 1,000,000 tokens - `gemini-3.7-flash` (Google): $0.7875 input / $3.94 output per 1M tokens; context 1,048,576 tokens - `gemini-3.8-flash` (Google): $0.7875 input / $3.94 output per 1M tokens; context 1,048,576 tokens - `qwen3.7-max` (Alibaba): $1.31 input / $3.94 output per 1M tokens - `deepseek-v4-pro` (DeepSeek): $1.39 input / $4.16 output per 1M tokens; context 1,048,576 tokens - `muse-spark-1.3` (Meta): $1.31 input / $4.46 output per 1M tokens - `muse-spark-open` (Meta): $1.31 input / $4.46 output per 1M tokens; context 1,040,000 tokens - `glm-5.3` (Z.ai): $1.47 input / $4.62 output per 1M tokens; context 1,048,576 tokens - `gpt-6.1-terra` (OpenAI): $1.05 input / $5.25 output per 1M tokens, $0.0525 cached input; context 128,000 tokens - `glm-5.3-abliterated` (Z.ai): $1.87 input / $6.22 output per 1M tokens; context 131,072 tokens - `grok-4.5` (xAI): $2.10 input / $6.30 output per 1M tokens; context 200,000 tokens - `qwen3.8-max` (Alibaba): $2.10 input / $6.30 output per 1M tokens - `grok-4.6` (xAI): $2.10 input / $6.30 output per 1M tokens; context 200,000 tokens - `grok-4.7` (xAI): $2.10 input / $6.30 output per 1M tokens; context 200,000 tokens - `gemini-3.6-flash` (Google): $1.57 input / $7.88 output per 1M tokens; context 1,048,576 tokens - `pareto` (Unbiased): $2.63 input / $7.88 output per 1M tokens - `claude-sonnet-5` (Anthropic): $2.10 input / $10.50 output per 1M tokens, $0.21 cached input; context 1,000,000 tokens - `claude-sonnet-5.5` (Anthropic): $2.10 input / $10.50 output per 1M tokens, $0.21 cached input; context 1,000,000 tokens - `gpt-6-sol` (OpenAI): $2.10 input / $10.50 output per 1M tokens, $0.21 cached input; context 128,000 tokens - `gpt-6.1-sol` (OpenAI): $2.10 input / $10.50 output per 1M tokens, $0.105 cached input; context 128,000 tokens - `gemini-4-argon` (Google): $2.10 input / $10.50 output per 1M tokens; context 1,048,576 tokens - `gemini-4-carbon` (Google): $2.10 input / $10.50 output per 1M tokens; context 1,048,576 tokens - `kimi-k3.1-pro` (Moonshot AI): $2.10 input / $10.50 output per 1M tokens; context 1,048,576 tokens - `gpt-6.2-sol` (OpenAI): $2.10 input / $10.50 output per 1M tokens, $0.105 cached input; context 272,000 tokens - `mimo-v2.6-pro` (Xiaomi): $4.20 input / $8.40 output per 1M tokens; context 1,048,576 tokens - `gemini-3.1-pro` (Google): $2.10 input / $12.60 output per 1M tokens; context 200,000 tokens - `gpt-5.6-terra` (OpenAI): $2.10 input / $12.60 output per 1M tokens, $0.21 cached input; context 128,000 tokens - `kimi-k3` (Moonshot AI): $3.15 input / $15.75 output per 1M tokens; context 1,048,576 tokens - `gpt-5.6-sol` (OpenAI): $4.20 input / $21.00 output per 1M tokens, $0.42 cached input; context 128,000 tokens - `claude-opus-5.5` (Anthropic): $4.20 input / $21.00 output per 1M tokens, $0.42 cached input; context 1,000,000 tokens - `muse-wonder-1.0` (Meta): $4.20 input / $21.00 output per 1M tokens - `kimi-k3.1-pro-highspeed` (Moonshot AI): $4.20 input / $21.00 output per 1M tokens; context 1,048,576 tokens - `claude-opus-4.8` (Anthropic): $5.25 input / $26.25 output per 1M tokens, $0.525 cached input; context 1,000,000 tokens - `claude-opus-5` (Anthropic): $5.25 input / $26.25 output per 1M tokens, $0.525 cached input; context 1,000,000 tokens - `gpt-5.5` (OpenAI): $5.25 input / $31.50 output per 1M tokens; context 1,000,000 tokens - `claude-fable-5.2` (Anthropic): $8.40 input / $42.00 output per 1M tokens, $0.84 cached input; context 1,000,000 tokens - `gpt-6.2-astra` (OpenAI): $8.40 input / $42.00 output per 1M tokens, $0.42 cached input; context 272,000 tokens - `claude-fable-5` (Anthropic): $10.50 input / $52.50 output per 1M tokens, $1.05 cached input; context 1,000,000 tokens - `claude-fable-5.1` (Anthropic): $10.50 input / $52.50 output per 1M tokens, $1.05 cached input; context 1,000,000 tokens - `gpt-6-astra` (OpenAI): $10.50 input / $52.50 output per 1M tokens, $1.05 cached input; context 272,000 tokens - `gpt-5.5-pro` (OpenAI): $31.50 input / $189.00 output per 1M tokens; context 1,000,000 tokens - `jev` (TypeSafe): $0.001412 Per call (32k-token ceiling) - `decisions` (OpenAI): $0.001001 Per call (≤8k input tokens; $0.10 per 1M input tokens, output free) ### Image to image - `fibo-edit-1.5` (Bria): $0.0360 Per image - `remove-background` (Bria): $0.0216 Per image - `rmbg-3.0` (Bria): $0.0216 Per image - `flux-fill-pro` (Black Forest Labs): $0.0600 Per image ## Tools ### Web data - `POST /v1/tools/site-deploy`: $0.05 per call. Publish a static website and get its URL. Inputs: { files: { "index.html": "", "app.js": "", … } }, plus name? (it gets a short random suffix: toko-kue-3f9a; names that read like a bank, wallet, login or official page are refused) and { site, key } to replace one you deployed. - `POST /v1/tools/product-listing`: $0.008 per call. Turn a product photo into marketplace copy. Use when an agent helps a seller list an item without writing the description by hand. - `POST /v1/tools/scrape`: $0.005 per call. Fetch a web page as clean markdown, JavaScript included. Use when an agent needs the content of a page rather than a search snippet, or when the page renders client-side and a plain fetch returns nothing. - `POST /v1/tools/screenshot`: $0.005 per call. Capture a rendered web page as a PNG. Use when an agent needs to show a page rather than read it — a preview, a visual diff, evidence of what a site displayed. - `GET /v1/tools/references`: free. Real published books and journal articles to cite, from OpenAlex (250M+ scholarly works) and Crossref (the DOI registry most Indonesian university journals, the ones Garuda indexes, publish through). GET with ?q= and optionally type=book|article|any, from_year=2015, lang=id|en, limit=1..10. ### AI primitives - `POST /v1/tools/search`: $0.005 per call. Web search returning ranked results with title, url and snippet. Use when an agent needs current facts, prices or news that are not in its training data. - `POST /v1/tools/embed`: $0.002 per call. Turn text into 1024-d vectors for semantic search, clustering or RAG. Use when an agent builds or queries a vector index, or measures how close two pieces of text are in meaning. - `POST /v1/tools/rerank`: $0.002 per call. Input: { query, documents, top_k? }. Order candidate documents by how relevant each is to a query, using a cross-encoder that reads the query and each document together. - `POST /v1/tools/moderate`: $0.002 per call. Safety classification for a piece of text. Use before publishing user-generated content, or when an agent needs to decide whether to act on something it was asked to produce. - `POST /v1/tools/moderate-image`: $0.003 per call. NSFW and harm check for one image. Use before showing or publishing a user upload, or when an agent must decide whether an image is safe to use. - `POST /v1/tools/moderate-video`: $0.02 per call. NSFW and harm check for a short video clip, frames and audio. Use before showing or publishing a user video. - `POST /v1/tools/sentiment`: $0.003 per call. Input: { text } or { texts: [...] } (up to 20 texts, 8,000 characters in all). Sentiment of reviews, chats, comments or replies, built for Indonesian (slang, typos, code-switching) as well as English. - `POST /v1/tools/extract`: $0.01 per call. Input: { url, schema, prompt? }. Renders the page (JS included) and returns JSON matching the schema YOU declare, so there is no guessing at field names. - `POST /v1/tools/youtube-summary`: $0.15 per call. Summarise a YouTube video without downloading or transcribing it. Use when an agent needs the content of a video it cannot watch. ### Identity & faces - `POST /v1/tools/face-detect`: $0.003 per call. Find faces in an image. Use when an agent counts people, checks a photo contains exactly one face before a match, or estimates age and gender. - `POST /v1/tools/face-embed`: $0.006 per call. Turn every face in an image into a 512-d ArcFace vector. Use when an agent stores faces for its OWN comparison later — we keep no face database, so the vectors are yours to index. - `POST /v1/tools/face-compare`: $0.011 per call. Compare two faces and score how alike they are. Use when an agent checks whether a selfie matches a document photo or a previous image. - `POST /v1/tools/ocr-id`: $0.005 per call. Input: { image_url | image_base64 } — an identity document (Indonesian KTP/SIM/KK/NPWP, or a passport, driving licence or national ID card from any country). Prefer image_base64 so the image is never stored; if you pass one of our /v1/media URLs the object is deleted after the read. - `POST /v1/tools/kyc-verify`: $0.015 per call. Input: { id_image:{image_url|image_base64}, selfie:{image_url|image_base64} } — ocr-id and face-compare in one call, for onboarding. Reads the document AND matches the photo on it against the selfie, fetching the document once instead of twice. ### Market data - `POST /v1/tools/token-price`: $0.002 per call. Spot prices for cryptocurrencies and tokens. Use when an agent values a holding, converts an amount, or checks a market before acting. - `POST /v1/tools/dex-pairs`: $0.01 per call. On-chain DEX liquidity for a token: which pools exist, how deep they are, and how much they trade. Use when an agent needs to know whether a token is actually tradeable and where — token-price answers what it is worth, this answers whether you can get in and out. - `POST /v1/tools/defi-tvl`: $0.01 per call. Total value locked in a DeFi protocol or a whole chain, from DefiLlama. Use when an agent sizes a protocol before interacting with it, tracks where capital is moving, or wants the state of the market before drilling into anything. - `POST /v1/tools/gas-price`: $0.01 per call. Current gas on an EVM chain, priced in both gwei and dollars. Use when an agent decides whether to transact now, budgets a batch of transactions, or compares chains before routing. - `POST /v1/tools/perp-markets`: $0.002 per call. Perpetual futures markets on Hyperliquid: price, 24h change, funding and open interest across every listed perp, in one call. Use when an agent sizes leverage risk, looks for crowded or discounted positioning through funding, or checks a perp is liquid before trading it. - `POST /v1/tools/swap-quote`: $0.002 per call. Input: { chain, from, to, amount, to_chain?, slippage_pct?, limit? }. The best routes to swap one token for another, or bridge between chains, across 60+ mainnets including Base, Ethereum, Arbitrum, BSC and Solana, routed through DEX aggregators and bridges. - `POST /v1/tools/swap-build`: $0.005 per call. Input: { chain, from, to, amount, address, to_chain?, to_address?, slippage_pct?, max_value_lost_pct? }. An UNSIGNED swap or bridge transaction for the caller's own wallet (address) to sign and send. - `POST /v1/tools/market-brief`: $0.03 per call. One call that answers "what is the market doing right now" instead of four. Use when an agent wants context before acting — spot prices, gas on the chain it is about to transact on, and where DeFi capital sits — without orchestrating separate requests. - `POST /v1/tools/exchange-rate`: $0.002 per call. Fiat currency conversion across 160+ currencies. Use when an agent prices something for a different market, or normalises amounts before comparing them. - `POST /v1/tools/rpc`: $0.002 per call. Read-only JSON-RPC call against a supported blockchain. Use when an agent needs on-chain state — a block number, a balance, a contract read — without running its own node. ### OSINT & verification - `POST /v1/tools/domain-lookup`: $0.002 per call. Who registered a domain, how old it is, and where its DNS points, in one call. Use when an agent vets a site or an email sender before trusting it, checks whether a name is taken, or confirms email authentication is set up. - `POST /v1/tools/phone-verify`: $0.002 per call. Check a telephone number is well-formed, allocated and of the right kind, without sending anything to it. Use when an agent validates a number before an SMS, scores a signup, or normalises user input to E.164. - `POST /v1/tools/email-verify`: $0.002 per call. Check an email address can receive mail, without sending any. Use when an agent screens a signup, cleans a list before sending, or scores a lead. - `POST /v1/tools/ip-lookup`: $0.002 per call. Find out who owns an IP address on the network. Use when an agent checks where a request, a mail server or a host actually lives before trusting it. - `POST /v1/tools/web-archive`: $0.002 per call. See how long a site has existed and what it used to say, from the Internet Archive. Use when an agent dates a domain independently of its registration, checks whether a site recently changed identity, or wants a citable snapshot of a page as it was. - `POST /v1/tools/osint-brief`: $0.012 per call. Profile a contact or an organisation from open sources, in one call, and say why it looks the way it does. Use when an agent vets a signup, a lead, a counterparty or a sender before trusting it. ### Security checks - `POST /v1/tools/secret-scan`: $0.002 per call. Find credentials left in a block of text. Use before an agent commits code, pastes a log into a ticket, or acts on a file it did not write. - `POST /v1/tools/typosquat`: $0.004 per call. Find lookalike domains that are actually registered. Use when an agent checks a brand for impersonation, or decides whether a link that nearly matches a known domain is the real one. - `POST /v1/tools/security-headers`: $0.003 per call. Grade the security response headers of a URL. Use when an agent vets a site before trusting it, or checks its own deployment. - `POST /v1/tools/email-headers`: $0.003 per call. Read raw email headers and find sender spoofing. Use when an agent triages a suspicious message, or checks whether a notification really came from who it claims. - `POST /v1/tools/name-available`: $0.004 per call. Check whether a project name is still free, across package registries and domains. Use when an agent names a new library, org or product and needs to know what is already taken. - `POST /v1/tools/brand-monitor`: $0.015 per call. Find out who is registering lookalikes of your domain, and when. Use when an agent watches a brand for impersonation or phishing infrastructure. - `POST /v1/tools/contract-scan`: $0.004 per call. See what a deployed contract can do to its users, read from bytecode. Use before an agent approves, buys or signs anything involving an unfamiliar token or contract. - `POST /v1/tools/calldata-decode`: $0.002 per call. Work out what a transaction actually does, before signing it. Use when an agent is handed an unsigned transaction - including one from tools/swap-build - and needs to know what it calls and with what arguments. - `POST /v1/tools/repo-scan`: $0.02 per call. Scan a whole public GitHub repository for leaked credentials. Use before an agent trusts a dependency, when auditing your own repository, or when reviewing code someone else wrote. ### Indonesian data - `POST /v1/tools/address-id`: $0.003 per call. Parse a messy Indonesian address into structured components. Use when an agent normalises user-entered addresses for delivery, KYC or analytics. - `GET /v1/tools/wilayah`: free. Indonesian administrative regions, all four levels: 38 provinsi, 514 kabupaten/kota, 7,285 kecamatan and 83,762 desa/kelurahan with official Kepmendagri kode. GET with ?kode=18 (one region plus its children; a kabupaten/kota also returns its kecamatan), ?q= to search, ?induk=32.73 to list the kecamatan of a regency or the desa of a kecamatan, ?level=provinsi|kabupaten_kota|kecamatan|desa_kelurahan, or no params for all provinces. - `GET /v1/tools/verify-nik`: free. Structural check of an Indonesian NIK — no model call, instant. GET with ?nik=<16 digits>, optionally &birth_date=DD-MM-YYYY&gender=L|P to cross-check what a user typed against what the number encodes. - `GET /v1/tools/terbilang`: free. Indonesian number-to-words, for the amount-in-words line on an invoice, kwitansi or cheque. GET with ?n=249000 (Indonesian thousands separators are accepted). - `GET /v1/tools/verify-npwp`: free. Structural check of an Indonesian tax number. GET with ?npwp=<15 or 16 digits> (dots and dashes ignored). - `GET /v1/tools/bmkg`: free. Official Indonesian earthquake data from BMKG, forwarded unmodified. GET with ?feed=terkini for the last 15 quakes at M5.0 and above, ?feed=dirasakan for the last 15 that were actually felt (these carry an MMI intensity per area), or no params for the single latest quake. - `GET /v1/tools/hari-libur`: free. Indonesian national holidays and cuti bersama, transcribed from the official SKB 3 Menteri decrees. GET with ?year=2026 for a whole year (both lists, with the decree numbers and a link to the source PDF), or ?date=YYYY-MM-DD to ask whether one date is a working day — that returns `hari_kerja`, plus `libur`, `cuti_bersama` and `akhir_pekan` separately. - `GET /v1/tools/qris`: free. Decode a QRIS payment code (EMVCo TLV): merchant name, city, NMID, acquirer, MCC, currency, amount, and whether the CRC is intact. GET with ?payload=. - `GET /v1/tools/prayer-times`: free. Jadwal sholat (imsak/fajr/sunrise/dhuhr/asr/maghrib/isha) from solar position. GET with ?city= or ?lat=&lng=&tz=. ### Image rendering - `POST /v1/tools/auto-og`: $0.03 per call. Read a web page and render a 1200x630 social card from it. Use when an agent has only a URL and wants a preview image without choosing the wording. - `POST /v1/tools/og-image`: $0.02 per call. Render a 1200x630 social card. Use when an agent publishes a page or post and needs a preview image so the link does not share as a bare URL. - `POST /v1/tools/youtube-thumbnail`: $0.02 per call. Render a 1280x720 YouTube thumbnail. Use when an agent produces a video and needs a title card that reads at feed size. - `POST /v1/tools/quote-card`: $0.02 per call. Render a quotation as a shareable 1200x630 image. Use when an agent turns a line of text into something postable. - `POST /v1/tools/code-image`: $0.02 per call. Render a syntax-highlighted code snippet as an image. Use when an agent shares code somewhere that cannot display a code block. - `POST /v1/tools/tweet-image`: $0.02 per call. Render text in a tweet-style card. Use when an agent mocks up a post or quotes one as an image. - `POST /v1/tools/meme`: $0.02 per call. Render top and bottom caption text over an image. Use when an agent produces a captioned image in the classic layout. - `POST /v1/tools/card`: $0.02 per call. Render a social card in a chosen aspect ratio. Use when an agent needs an image sized for a specific platform rather than the default 1200x630. ### Company filings - `POST /v1/tools/stock-fundamentals`: $0.01 per call. Input: { ticker, concept?, limit? }. What a US public company REPORTED, straight from its SEC filings — revenue, net income, assets, cash, shares outstanding — per fiscal period, newest first. - `POST /v1/tools/stock-filings`: $0.005 per call. Input: { ticker, form?, limit? }. Recent SEC filings for a US public company, newest first, each with its form type, date and a direct link to the document. - `POST /v1/tools/stock-brief`: $0.012 per call. Input: { ticker }. One call that answers "what is going on with this company": profile, the latest reported financials, and the most recent filings. - `POST /v1/tools/insider-trades`: $0.015 per call. Input: { ticker, limit? }. Who inside a US public company bought or sold its stock, parsed from the Form 4s they are legally required to file. - `POST /v1/tools/filing-search`: $0.005 per call. Input: { query, ticker?, form?, from?, to?, limit? }. Full-text search across every SEC filing since 2001 — which companies mention a supplier, which 8-Ks talk about a recall, which 10-Ks name a risk. - `POST /v1/tools/filing-events`: $0.005 per call. Input: { ticker, item?, limit? }. Material events a US public company reported on Form 8-K, newest first, each item code named in words: executive departures (5.02), material agreements (1.01), results (2.02), auditor changes (4.01), cybersecurity incidents (1.05). - `POST /v1/tools/ownership-changes`: $0.01 per call. Input: { ticker, type?, limit? }. Who holds more than 5% of a US public company, from the Schedule 13D and 13G filings a holder must make. - `POST /v1/tools/institutional-holders`: $0.01 per call. Input: { manager, quarter?, issuer?, limit? }. What an institutional investment manager held at a quarter end, from its Form 13F — "what does Berkshire Hathaway own". - `POST /v1/tools/planned-insider-sales`: $0.01 per call. Input: { ticker, limit? }. Insiders who have told the SEC they intend to sell a US public company's stock, from the Form 144 notices filed on or before the sale — the forward-looking counterpart to insider-trades, which reports sales after they happen. - `POST /v1/tools/filing-digest`: $0.1 per call. Input: { ticker, form?, accession?, question?, compare_to_prior? }. A model reads a US public company's SEC filing and answers a question about it, returning the passages the answer came from — "what does Apple's 10-K say about tariffs", "what changed in the risk factors since last year". ## Docs - [Documentation](https://ai.glianalabs.com/docs): quick start, payment, every endpoint - [API reference](https://ai.glianalabs.com/reference): endpoints with request and response shapes - [OpenAPI](https://api.glianalabs.com/openapi.json): every paid endpoint with its price, chain and payTo - [OpenAPI for an API key](https://api.glianalabs.com/openapi.dashboard.json): the same endpoints for a prepaid gk_ key (import into Insomnia, Bruno or Hoppscotch) - [Postman collection](https://api.glianalabs.com/postman.json): every endpoint you can call with a gk_ key, ready to import into Postman; set `gliana_key` to the key - [Full reference for LLMs](https://ai.glianalabs.com/llms-full.txt): this file plus every model and tool with its live price - [Models](https://ai.glianalabs.com/models) and [Tools](https://ai.glianalabs.com/tools) - [Pricing](https://ai.glianalabs.com/pricing) - [Status](https://ai.glianalabs.com/status) ## Optional - [Indonesian site](https://ai.glianalabs.com/id): the same in Bahasa Indonesia, prices in rupiah - MCP server: `npx gliana-ai-mcp` (local) and https://mcp.glianalabs.com/mcp (hosted) - Agent skills for Claude Code, Cursor, Codex and others: `npx skills add Gliana-Labs/skills -g` (https://github.com/Gliana-Labs/skills), then set `GLIANA_API_KEY` to a gk_ key. - With a gk_ key, any OpenAI-compatible app (Open WebUI, Cline, Continue, n8n, LiteLLM, the OpenAI SDKs) uses base URL https://api.glianalabs.com/v1: `GET /v1/models` (chat models in `data`), `POST /v1/chat/completions`, `POST /v1/responses` (Codex CLI: `wire_api = "responses"`), `POST /v1/embeddings` (model bge-m3, $0.02 per 1M tokens). Anthropic-format clients (Claude Code) use base URL https://api.glianalabs.com and `POST /v1/messages`. - [Chat app](https://agent.glianalabs.com): use the models without code - [Company](https://glianalabs.com) · contact@glianalabs.com