LogoMkSaaS Docs

API Overview

Learn how to authenticate and call ling-1t.ai APIs.

Ling-1T API Overview

Ling-1T AI exposes RESTful endpoints so you can run trillion-parameter reasoning workloads from your own services. The API surface mirrors familiar OpenAI- and Anthropic-style contracts while enforcing ling-1t.ai authentication and billing.

  • Base URL: https://ling-1t.ai/api/v1
  • Authentication: API key issued from the Ling-1T dashboard
  • Models: inclusionai/ling-1t
  • Pricing: $10 / million input tokens, $40 / million output tokens

Supported Endpoint Families

  • Chat Completions (POST /chat/completions): OpenAI-compatible chat API. Supports streaming responses via Server-Sent Events.
  • Messages (POST /messages): Claude-compatible request body/response format. Currently supports non-stream responses.

HTTP Environments

Use HTTPS in production. For local testing, the same routes are available on your development server (e.g., http://localhost:3000/api/v1/...).

Authentication Summary

Create API keys in the dashboard and send them with each request:

Authorization: Bearer <api-key>

or for Claude-compatible endpoints:

x-api-key: <api-key>
Anthropic-Version: 2023-06-01

Note: API keys inherit your account’s billing privileges. Rotate keys regularly and revoke unused credentials from the dashboard.

Continue with the following guides:

  1. Generate API keys
  2. Call Chat Completions
  3. Integrate with Claude-style clients

Table of Contents