AI API CONTROL CENTER

One key. Complete visibility.

Monitor your AI usage, available models, and API access from one fast, secure dashboard.

Your key stays in memory and is never persisted.

Usage overview.

Your token balance refreshes every 5 seconds.

LIVE DATA
0%TOKENS USED
TOTAL QUOTA0
TOKENS USED0
REMAINING0
REQUESTS0

Model catalog

Production-ready models available through your LineAgent API key.

0 MODELS

Integration guides

Connect LineAgent to your preferred coding tool or application in minutes.

OPENAI COMPATIBLE

Quickstart

Send your first request using the OpenAI-compatible chat completions endpoint.

1

Copy your base URL

2

Add authentication

Use your buyer key as a Bearer token.

Authorization: Bearer sk-la-... Content-Type: application/json
3

Select a model

Use glm-5.2 in your request.

Python SDK

Use the official OpenAI client with a custom base URL.

from openai import OpenAI client = OpenAI( api_key="sk-la-...", base_url="https://api.lineagent.my.id/v1" ) response = client.chat.completions.create( model="glm-5.2", messages=[{"role": "user", "content": "Hello"}] )

Cursor

Open Cursor settings, enable an OpenAI-compatible provider, then enter these values.

1

API Base URL

https://api.lineagent.my.id/v1

2

API Key

Your sk-la-... buyer key

3

Model Name

glm-5.2

OpenCode

Add an OpenAI-compatible provider and point it to LineAgent.

{ "provider": { "lineagent": { "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "https://api.lineagent.my.id/v1" }, "models": { "glm-5.2": {} } } } }