LLM API
LLM API
Вызывайте model endpoints Felo через OpenAI-compatible и Anthropic-compatible протоколы.
/api/v1/modelsАутентификация
Bearer API key or X-API-Key
Content type
application/json
Ограничения
Model service limits may apply. Retry with backoff on 429 or 503.
LLM API Felo API Platform から direct model calling endpoints をпредоставляет。general-purpose language models を呼び出す、OpenAI-compatible / Anthropic-compatible clients を再利用する、agent frameworks を接続する場合にиспользуйте。
POST /api/v1/responses: OpenAI Responses compatiblePOST /api/v1/chat/completions: OpenAI Chat Completions compatiblePOST /api/v1/messages: Anthropic Messages compatible
Аутентификация
Authorization: Bearer YOUR_API_KEYBase URL
https://openapi.felo.aiAnthropic SDK では https://openapi.felo.ai/api をиспользуйте。
Model Discovery
GET https://openapi.felo.ai/api/v1/modelsМодели и цены
| Model ID | Context | Max output | Input / 1M tokens | Output / 1M tokens | Cache read / 1M tokens | Cache write / 1M tokens |
|---|---|---|---|---|---|---|
claude-haiku-4-5 | 200K | 64K | $1.00 | $5.00 | $0.10 | $1.25 |
claude-sonnet-4-6 | 1M | 128K | $3.00 | $15.00 | $0.30 | $3.75 |
claude-opus-4-8 | 1M | 128K | $5.00 | $25.00 | $0.50 | $6.25 |
claude-sonnet-5 | 1M | 128K | $2.00 | $10.00 | $0.20 | $2.50 |
gpt-5.5 | 1.05M | 128K | $5.00 | $30.00 | $0.50 | - |
gpt-5.5-pro | 1.05M | 128K | $30.00 | $180.00 | - | - |
gpt-5.6-luna | 1.05M | 128K | $1.00 | $6.00 | $0.10 | $1.25 |
gpt-5.6-terra | 1.05M | 128K | $2.50 | $15.00 | $0.25 | $3.125 |
gpt-5.6-sol | 1.05M | 128K | $5.00 | $30.00 | $0.50 | $6.25 |
grok-4.5 | 500K | - | $2.00 | $6.00 | $0.50 | - |
GPT-5.6 доступен в трех уровнях: Luna для быстрых и cost-efficient workloads, Terra для сбалансированных coding, reasoning и agentic tasks, Sol для flagship complex reasoning и coding. Каждый уровень также имеет -pro model ID (gpt-5.6-luna-pro, gpt-5.6-terra-pro, gpt-5.6-sol-pro), который использует ту же базовую модель в pro reasoning mode. Цена, context length и max output для -pro ID не меняются.
Basic Usage
export FELO_API_KEY="YOUR_API_KEY"import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: process.env.FELO_API_KEY,
baseURL: "https://openapi.felo.ai/api",
});Protocol Reference
Ответs
POST https://openapi.felo.ai/api/v1/responsesChat Completions
POST https://openapi.felo.ai/api/v1/chat/completionsMessages
POST https://openapi.felo.ai/api/v1/messagesClaude Code setup Claude Code Configuration をсм.。