LLM API
LLM API
OpenAI-compatible と Anthropic-compatible のプロトコルで Felo のモデル endpoint を呼び出します。
/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 には 3 つのティアがあります。Luna は高速でコスト効率のよい workload 向け、Terra は coding、推論、agentic task のバランス型、Sol は複雑な推論と coding に向いた flagship ティアです。各ティアには -pro model ID(gpt-5.6-luna-pro、gpt-5.6-terra-pro、gpt-5.6-sol-pro)もあり、同じ基盤モデルを pro reasoning mode で使用します。-pro ID の料金、context length、max output は通常 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 を参照してください。