Cookieを使用しています. Cookieとブラウザストレージは、ログイン状態の維持と設定の保存に使われます。許可いただいた場合は、サイトの利用状況も計測します。はいつでも変更できます。詳しくはCookieポリシーをご覧ください。
- 必須セッション、セキュリティ、設定。サイトの動作に必要です。常にオン
Cookieを使用しています. Cookieとブラウザストレージは、ログイン状態の維持と設定の保存に使われます。許可いただいた場合は、サイトの利用状況も計測します。はいつでも変更できます。詳しくはCookieポリシーをご覧ください。
anthropic/claude-fable-5.2:batch上記の料金で残高から差し引かれます。
設定
Claude Fable 5.2 は Anthropic のテキストモデルで、ここではモデル id anthropic/claude-fable-5.2:batch のバッチ版として提供されています。Anthropic はこれを、最も要求の厳しい技術作業向けの最も高性能なモデルと説明しており、コーディング、推論、視覚において Fable 5.1 からの改善があります。プロバイダーのリリース日は 2026-11-09 です。
このモデルはテキスト、画像、ファイルを入力として受け取り、テキストを返します。コンテキストウィンドウは 1,000,000 トークンで、最大出力は 128,000 トークンです。サポートされるリクエストパラメータには max_tokens、stop、response_format、structured_outputs、tool_choice、tools、reasoning、reasoning_effort、include_reasoning、verbosity が含まれます。reasoning の制御により、推論を公開するかどうか、およびモデルが推論にどれだけの労力を費やすかを決められます。一方、structured outputs と response_format により、返されるテキストの形を制約できます。
これらの機能は、入力が大規模または混在していて、出力が信頼できるものでなければならない作業に適しています。100 万トークンのコンテキストは、リポジトリ規模のコードレビュー、長い文書の分析、モデルが抜粋ではなく全体像を必要とする複数ファイルのリファクタリングに適しています。画像とファイルの入力は、図、スクリーンショット、スキャン資料をテキストと一緒に読むようなタスクに合います。ツール呼び出しと structured outputs により、このモデルは関数を呼び出したり機械可読な結果を出力したりする必要があるエージェントやパイプラインに無理なく適合し、reasoning の制御は、回答の前に深い検討が必要なタスクに役立ちます。
これは api14 の OpenAI 互換 API を通じて、モデル id anthropic/claude-fable-5.2:batch を使って呼び出します。インターフェースは OpenAI chat completions の形に従っているため、既存のクライアントと SDK は base URL とモデル id を変更するだけで動作します。上記のパラメータは通常どおりリクエストボディで渡してください。tools、tool_choice、response_format、structured_outputs、max_tokens、stop、および reasoning 関連のフィールドはすべて受け付けられます。
バッチ版は、ワークロードが即時応答ではなくバッチスケジューリングを許容できる場合に選ぶべきもので、一括要約、データセットのラベリング、大規模なコード分析などのオフラインジョブに適しています。対話的なレイテンシが必要な場合は、同じモデルの非バッチ版が api14 で利用可能か確認してください。128,000 トークンの出力上限は十分に大きいですが有限なので、それを超える出力では作業を複数の呼び出しに分割する必要があります。
カタログデータをもとにAIモデルが作成し、自動翻訳した文章です。表の価格と上限はカタログから直接取得しています。 コンテンツの作り方
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "anthropic/claude-fable-5.2:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="anthropic/claude-fable-5.2:batch",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
curl https://api14.com/api/v1/chat/completions \
-H "Authorization: Bearer $API14_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-fable-5.2:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}'
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{
"model": "anthropic/claude-fable-5.2:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}`)
req, _ := http.NewRequest("POST", "https://api14.com/api/v1/chat/completions", bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer "+os.Getenv("API14_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}
<?php
$ch = curl_init("https://api14.com/api/v1/chat/completions");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("API14_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"model" => "anthropic/claude-fable-5.2:batch",
"messages" => [
[
"role" => "user",
"content" => "Explain vector databases in two sentences."
]
]
]),
]);
$response = json_decode(curl_exec($ch), true);
print_r($response);
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "anthropic/claude-fable-5.2:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "anthropic/claude-fable-5.2:batch",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);
require "net/http"
require "json"
uri = URI("https://api14.com/api/v1/chat/completions")
req = Net::HTTP::Post.new(uri, {
"Authorization" => "Bearer #{ENV["API14_API_KEY"]}",
"Content-Type" => "application/json",
})
req.body = {
"model": "anthropic/claude-fable-5.2:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}.to_json
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |h| h.request(req) }
puts JSON.parse(res.body)
// Cargo.toml: reqwest = { version = "0.12", features = ["json"] }, tokio = { version = "1", features = ["full"] }, serde_json = "1"
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let key = std::env::var("API14_API_KEY")?;
let res = reqwest::Client::new()
.post("https://api14.com/api/v1/chat/completions")
.bearer_auth(key)
.json(&json!({
"model": "anthropic/claude-fable-5.2:batch",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}))
.send()
.await?
.text()
.await?;
println!("{res}");
Ok(())
}
このコミュニティにはまだトピックがありません。Anthropic: Claude Fable 5.2 (batch)について最初のトピックを立てましょう。
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbosity