One line of code to connect every top AI model.

No need to build custom adapters for every provider. Unified authentication, intelligent failover, streaming, and key governance—purpose-built for developers.

import OpenAI from "openai";

// Drop-in replacement: change baseURL only
const client = new OpenAI({
baseURL: "https://api.easyx.ai/v1",
apiKey: process.env.EASYX_API_KEY,
});

const stream = await client.chat.completions.create({
model: "claude-sonnet-5-5", // or claude-opus-5-5, claude-haiku-5-5
messages: [{ role: "user", content: "Hello EasyX" }],
stream: true,
});
Live Gateway Response200 OK
18ms48 tokens

Models & Pricing

Models and reference prices

Prices below are official vendor list prices from the public catalog. Sign in to see Easyxai Token settlement prices and discounts in the console.

View all models
ModelInput / 1M tokensOutput / 1M tokensCapabilities
Upstage: Solar Mini 4.5 (Preview)upstageupstage/solar-mini-4-5$0.01/ 1M tokens$0.04/ 1M tokens
524K contextDetails
Upstage: Solar Pro 4 Contributorupstageupstage/solar-pro-4-contributor$0.09/ 1M tokens$0.36/ 1M tokens
524K contextDetails
Xiaomi: MiMo-V2.6-Flash-MOPDxiaomixiaomi/mimo-v2.6-flash-mopd$0.50/ 1M tokens$1.00/ 1M tokens
1M contextDetails
GLM-5.4智谱 GLMz-ai/glm-5.4——
1M contextDetails
RadixArk: DaisyRose 27Bradixarkradixark/daisyrose-27b$0.15/ 1M tokens$1.88/ 1M tokens
262K contextDetails
Thinking Machines: Inkling 2 Minithinkingmachinesthinkingmachines/inkling-2-mini$0.075/ 1M tokens$0.30/ 1M tokens
1M contextDetails
Google: Gemini 4 NeonGooglegoogle/gemini-4-neon$3.00/ 1M tokens$15.00/ 1M tokens
1M contextDetails
OpenAI: GPT-6.2 AstraOpenAIopenai/gpt-6.2-astra$8.00/ 1M tokens$40.00/ 1M tokens
1.1M contextDetails

Showing 1–8 of 962

These are official vendor reference prices, not Easyxai Token settlement prices. A dash means the catalog has no quote yet.

Developer-first core capabilities

From protocol compatibility to enterprise resilience, designed for production AI workflows.

  • Zero Migration Cost

    100% OpenAI API Compatible

    Native drop-in replacement for OpenAI SDK, LangChain, and LlamaIndex. Change a single baseURL to access all top models instantly.

  • High Availability

    Intelligent Multi-Node Failover

    Built-in cross-region automatic failover and load balancing. Instant recovery from upstream provider jitter with 99.99% uptime.

  • Security & Governance

    Multi-Environment Key Control

    Issue isolated API keys for Dev, Staging, and Prod. Enforce granular RPM/TPM rate limits and project-level hard spending caps.

  • Observability

    Real-time Metrics & Transparent Billing

    Track token usage, millisecond-level latency, and exact costs per request with streaming audit logs and zero hidden fees.

99.99%

Gateway Uptime SLA

< 25ms

Edge Routing Latency

100+

Top Frontier Models Supported

Start building with the unified gateway

Run the command below to test your connection, or create an API key in the console.

curl https://api.easyx.ai/v1/models -H 'Authorization: Bearer $EASYX_API_KEY'