モデル診断
Claude Relay Test
Claude リレーがストリーミング、ツール呼び出し、thinking シグネチャ、API プロトコルを保持するか確認します。
- プロトコル互換性
- グループ化された結果
- エクスポート可能なレポート
エンドポイント上でプローブを実行
Sandbox用にキーは保護され、1回だけ使用された後に消去されます。保存もログ記録もされません。失効可能なキーをご利用ください。
5領域で 32 件のプローブ
各プローブは、公開されている Anthropic Messages API の仕様に照らして判定される小さなリクエストです。ここでは回答品質は測定しません。評価には Claude nerf check をご利用ください。
01Response structure
12
- Streaming event sequenceA streamed answer must follow the documented event order and carry the same fields as the official API.
- Non-streaming message shapeA plain JSON answer must have the documented fields: id, type, role, model, content, stop_reason, usage.
- Usage accountingToken counts must be present, consistent between streaming and non-streaming, and not inflated by hidden text.
- Response headersThe official API returns a request-id header on every answer.
- max_tokens is honouredA tiny max_tokens must cut the answer short with stop_reason max_tokens and a small output count.
- Stop sequencesA stop sequence must end the answer, be reported as stop_sequence, and not appear in the text.
- System promptThe system field must reach the model. A relay that drops it answers the user question instead.
- Conversation historyEarlier turns must reach the model: it has to repeat a secret word from the first message.
- Tool callingA forced tool call must return a tool_use block with an id, the tool name and structured input.
- Tool result round tripA tool_use followed by a tool_result must be accepted and the result used in the answer.
- Streaming tool callA streamed tool call must assemble into valid JSON input and end with stop_reason tool_use.
- Token counting endpointPOST /v1/messages/count_tokens should exist and return input_tokens. Many relays leave it out; that is only a warning.
02Thinking and signature
3
- Thinking blocks and signatureWith thinking on, the stream must carry a thinking block and a signature. Relays often drop or fake them.
- Thinking in a plain answerA non-streaming answer with thinking on must hold a thinking block with text and a signature.
- Thinking round tripThe thinking block from one answer is sent back in the next request. A forged signature is refused by the real API.
03Images and documents
6
- Image understandingA generated two-colour image is sent; the model must name both colours. A relay that strips images cannot.
- Two images in one messageBoth images must reach the model, in order.
- Large imageA 1000 by 1000 image must be accepted and read, not refused or silently shrunk to nothing.
- PDF understandingA generated one-page PDF holds a random code; the model must read it back.
- Multi-page PDFA three-page PDF holds the code on its last page; the whole document must reach the model.
- Plain-text documentA text document block must be accepted and read.
04Model identity
1
- Model identityAsks who trained the model. An answer naming another vendor is a strong sign of substitution.
05Error handling
10
- Wrong key is refusedA made-up key must be refused with 401 or 403, not answered and not a server error.
- Invalid max_tokensA non-numeric max_tokens must be rejected with 400 or 422.
- Invalid thinking settingAn unknown thinking type must be rejected with 400 or 422.
- Thinking budget too smallA thinking budget below the minimum must be rejected with 400 or 422.
- Empty messagesAn empty messages list must be rejected with 400 or 422.
- Invalid roleA message role the API does not define must be rejected with 400 or 422.
- Missing modelA request without a model must be rejected with 400 or 422, not given a default.
- Broken JSON bodyA body that is not valid JSON must be rejected with 400 or 422.
- Temperature out of rangeA temperature above 1 must be rejected with 400 or 422, not clamped silently.
- Unknown model nameA model that does not exist must be refused (400 or 404), not silently served by another model.
自分の Agent から実行
同じプローブを Skill として提供します。リクエストはお使いのマシンから直接エンドポイントへ送られます。
Agent に質問
Use the claude-relay-test skill to check my Claude relay at https://relay.example.com using model claude-opus-5-5.
または自分で実行
export CLAUDE_RELAY_API_KEY=... node scripts/check.mjs --base-url https://relay.example.com --model claude-opus-5-5 --out ./out
FAQ
「一貫している」結果は何を証明しますか?
そのエンドポイントが、これらのプローブに対して文書化された Messages API と同じように動作したことを示します。モデルがどこで動いているかは証明できず、回答品質についても何も示しません。
Claude nerf check との違いは何ですか?
nerf check は、モデルが十分に強いかを調べます。このテストは、エンドポイントが本物の API と同じように動作するかを調べます: プロトコル、thinking signature、画像、PDF、エラーコードです。
なぜプローブに費用がかかるのですか?
実際のリクエストだからです。短い回答が数件と、短い thinking の回答が 1 件あります。通常は数セントです。
キーはどうなりますか?
Sandbox 実行用に封印され、1 回だけ使用され、その後削除されます。保存もログ記録もされず、レポートにはヘッダー名のみが表示されます。
なぜリレーが Bedrock または Vertex と判定されたのですか?
それらのクラウドは message id の接頭辞が異なります。これはヒントであり、失敗ではありません。
その他のツール
SandBaseClaude Nerf CheckIs your relay serving full-strength Claude?あなたのキーSandBasegpt-image relay checkerVerify an image relay end to end in a sandboxあなたのキーSandBaseNano Banana testDoes your Gemini image endpoint return what was asked?あなたのキーSandBaseLLM API price comparisonInput, output and cache prices per 1M tokens無料SandBaseAI vs PolymarketDaily forecasts scored against the market無料
