models

claude-3-5-haiku-latest

Markdown · JSON

claude-3-5-haiku-latest

claude-3-5-haiku-latest
AnthropicTextAuto · Ultra

This card lists the supported request methods and prices for claude-3-5-haiku-latest on the Ailoot API.

Ultra OpenAI ChatPOST /v1/chat/completions
Input types
text
Output types
text
Context
Not specified in the catalogue
Max. output
Not specified in the catalogue
Input
$0.002 / 1K
Output
$0.01 / 1K
Cache read
$0.0002 / 1K
Cache write
$0.002 / 1K
Cache write, 5 min
$0.002 / 1K tokens
Ultra OpenAI ResponsesPOST /v1/responses
Input types
text
Output types
text
Context
Not specified in the catalogue
Max. output
Not specified in the catalogue
Input
$0.002 / 1K
Output
$0.01 / 1K
Cache read
$0.0002 / 1K
Cache write
$0.002 / 1K
Cache write, 5 min
$0.002 / 1K tokens
Ultra Gemini generateContentPOST /v1beta/models/claude-3-5-haiku-latest:generateContent
Input types
text
Output types
text
Context
Not specified in the catalogue
Max. output
Not specified in the catalogue
Input
$0.002 / 1K
Output
$0.01 / 1K
Cache read
$0.0002 / 1K
Cache write
$0.002 / 1K
Cache write, 5 min
$0.002 / 1K tokens
JSON
{"alias_of":null,"aliases":[],"author":"Anthropic","canonical_model":"claude-3-5-haiku-latest","ctx":null,"entity_type":"model","formats":["chat","responses","gemini"],"id":"claude-3-5-haiku-latest","input":["text"],"kind":"text","max_out":null,"methods":[{"cache_read":0.2,"cache_write":2.0,"cache_write_1h":null,"cache_write_5m":2.0,"conditional_meter":null,"ctx":null,"family":"openai","fast_multiplier":null,"flex_multiplier":null,"fmt":"chat","http":"POST","img_in":null,"img_out":null,"in":2.0,"input":["text"],"label":"OpenAI Chat","max_out":null,"max_tool_calls":null,"native_endpoint":"chat_completions","out":10.0,"output":["text"],"path":"/v1/chat/completions","price_status":"configured","pricing":{"billing_mode":"token","cache_read_usd_per_token":2e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":2e-06,"cache_write_usd_per_token":2e-06,"currency":"USD","input_usd_per_token":2e-06,"output_usd_per_token":1e-05,"status":"configured"},"request_model_id":"claude-3-5-haiku-latest","route_label":"Ultra","route_tier":"ultra","status":"configured","status_reads":[],"tiers":[],"tool_prices":null,"unit":"token","units":[]},{"cache_read":0.2,"cache_write":2.0,"cache_write_1h":null,"cache_write_5m":2.0,"conditional_meter":null,"ctx":null,"family":"openai","fast_multiplier":null,"flex_multiplier":null,"fmt":"responses","http":"POST","img_in":null,"img_out":null,"in":2.0,"input":["text"],"label":"OpenAI Responses","max_out":null,"max_tool_calls":null,"native_endpoint":"responses","out":10.0,"output":["text"],"path":"/v1/responses","price_status":"configured","pricing":{"billing_mode":"token","cache_read_usd_per_token":2e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":2e-06,"cache_write_usd_per_token":2e-06,"currency":"USD","input_usd_per_token":2e-06,"output_usd_per_token":1e-05,"status":"configured"},"request_model_id":"claude-3-5-haiku-latest","route_label":"Ultra","route_tier":"ultra","status":"configured","status_reads":[],"tiers":[],"tool_prices":null,"unit":"token","units":[]},{"cache_read":0.2,"cache_write":2.0,"cache_write_1h":null,"cache_write_5m":2.0,"conditional_meter":null,"ctx":null,"family":"gemini","fast_multiplier":null,"flex_multiplier":null,"fmt":"gemini","http":"POST","img_in":null,"img_out":null,"in":2.0,"input":["text"],"label":"Gemini generateContent","max_out":null,"max_tool_calls":null,"native_endpoint":"gemini","out":10.0,"output":["text"],"path":"/v1beta/models/claude-3-5-haiku-latest:generateContent","price_status":"configured","pricing":{"billing_mode":"token","cache_read_usd_per_token":2e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":2e-06,"cache_write_usd_per_token":2e-06,"currency":"USD","input_usd_per_token":2e-06,"output_usd_per_token":1e-05,"status":"configured"},"request_model_id":"claude-3-5-haiku-latest","route_label":"Ultra","route_tier":"ultra","status":"configured","status_reads":[],"tiers":[],"tool_prices":null,"unit":"token","units":[]}],"model_aliases":[{"canonical_model_id":"claude-3-5-haiku-latest","request_model_id":"claude-3-5-haiku-latest","route_label":"Ultra"}],"name":"claude-3-5-haiku-latest","price":{"in":2.0,"in_label":null,"out":10.0,"out_label":null,"sort_in":2.0,"sort_out":10.0,"varies":false},"public_id":"claude-3-5-haiku-latest","status":"configured","short":"This card lists the supported request methods and prices for claude-3-5-haiku-latest on the Ailoot API.","about":"This card lists the supported request methods and prices for claude-3-5-haiku-latest on the Ailoot API."}

Questions

How do I choose a model for my task?

First identify the required input and output: text, image, audio or video. Then compare compatible API methods, the exact model ID or current alias target, price and billing unit. GET /v1/models is free and lists models available to your key.

Does each model support every API method and media type?

Use the API methods and input/output types listed on the model card. Support for text, images, audio or video depends on the selected model and method; check their request example before sending your data.

What is the difference between a model ID and an alias?

An exact model ID names a specific model. An alias points to a model and its target can change. Check the current alias target in the catalogue; use the exact ID when your integration needs a specific model.

How do I compare prices before sending a request?

Check the model card for the price and billing unit of the selected API method. Compare the same unit and input/output type; request history shows actual usage and the charged amount.

What does a subscription give me?

A discount on token purchases for regular use. Choose a plan for your request volume; subscription terms and pricing are shown at checkout.

How do I apply a promo code for up to 50% off?

Enter the promo code when buying tokens. The total updates according to the promotion terms; you can see the discount before paying.