Oracle/Claude 3.5 Sonnet

Claude 3.5 Sonnet

Healthy
claude-3-5-sonnet-20241022
Region
us-east-1
Uptime (24h)
99.94%
p50 latency
289ms
p99 latency
1100ms
Error rate
0.06%
Cost / 1k tokens
$0.0030
Latency (24h)
p50p95p99
0611122201:1304:1307:1310:13
p99
p95
p50
last 12h (UTC)
Failure breakdown
529Overloaded
60%
500Internal error
25%
timeoutTimeout
15%
SDK usageFull docs →
import { OracleClient } from "@inferenceflow/oracle";

const oracle = new OracleClient({ apiKey: process.env.ORACLE_API_KEY });

// One-shot health check before spending
const health = await oracle.check("anthropic-claude35");

if (health.state === "green") {
  // Safe to call — circuit breaker is closed
  await callProvider("anthropic-claude35", prompt);
} else {
  // Fall back to next healthy provider
  const alt = await oracle.nextHealthy({ exclude: ["anthropic-claude35"] });
  await callProvider(alt.id, prompt);
}