Anthropic מודל

Claude 3.5 Haiku

Claude 3.5 Haiku. השווה מחירי API, ספק, אורך context, יכולות, use cases, latency ואלטרנטיבות. General chat via Anthropic, API workloads. $0.152 / 1M tokens / $0.752 / 1M tokens. — tokens.

AnthropicPlatform curatedCatalog
Streaming
מחיר input$0.152 / 1M tokens
מחיר output$0.752 / 1M tokens
אורך context— tokens
מקס output8.2k tokens

מהו Claude 3.5 Haiku ב-NextModel?

Claude 3.5 Haiku. השווה מחירי API, ספק, אורך context, יכולות, use cases, latency ואלטרנטיבות. General chat via Anthropic, API workloads. $0.152 / 1M tokens / $0.752 / 1M tokens. — tokens.

שימושים מתאימים

  • General chat via Anthropic
  • API workloads

דוגמה OpenAI-compatible

שמור על סגנון OpenAI SDK, הפנה את base_url אל NextModel והשתמש ב-ID מהקטלוג anthropic--claude-3.5-haiku.

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="anthropic/claude-3.5-haiku",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

חלופות דומות

AnthropicCatalog

Available through the NextModel gateway via Anthropic.

$5.64 / 1M tokensInput$28.21 / 1M tokensOutputContext
Best forGeneral chat via Anthropic, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

Available through the NextModel gateway via OpenRouter.

$0.752 / 1M tokensInput$1.50 / 1M tokensOutputContext
Best forGeneral chat via OpenRouter, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
OpenRouterCatalog

Available through the NextModel gateway via OpenRouter.

$0.132 / 1M tokensInput$0.263 / 1M tokensOutputContext
Best forGeneral chat via OpenRouter, API workloads
RoutingDegraded
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

Claude 3.5 Haiku FAQ