Claude Haiku 5.5
The current Claude Haiku, Anthropic's lowest-priced model, for high-volume and quick tasks: text and image input, 1M-token context.
Claude Haiku 5.5 is the current Claude Haiku, Anthropic's lowest-priced model. Send a prompt, or a chat history in messages, and get a text answer. It reads images in the chat (image_url parts); PDF documents go through the Messages API. It takes up to 1M tokens of context and writes up to 128K tokens per answer.
Set reasoning_effort to low, medium, high, xhigh or max (medium when you send none). system_prompt sets instructions for the whole chat and max_tokens caps the answer. Set private_mode to true to keep the prompt and the answer out of FlyMyAI storage and logs (synchronous calls only).
Call it with a FlyMyAI key in three ways: the FlyMyAI API, the OpenAI-compatible Chat Completions endpoint, or Anthropic's own API under the model's address with the official Anthropic SDK (the Messages API). On the last two your request reaches Anthropic as you send it, so function tools, structured output, prompt caching and streaming work as Anthropic documents them for that API, and FlyMyAI stores neither the prompt nor the answer. Its Chat Completions endpoint is Anthropic's compatibility layer: it ignores reasoning_effort and has no prompt caching, so use the Messages API for either.
Not offered through FlyMyAI: tools Anthropic runs itself (web search, web fetch, code execution, the advisor), the MCP connector, the Files API, fallback models, fast mode, message threads and pinned inference regions. Billing follows the tokens Anthropic reports for each call: $0.10 input, $0.01 cached input and $0.50 output per 1M tokens, cache writes $0.125 ($0.20 kept for an hour); a prompt over 100,000 tokens costs $0.50 input, $0.05 cached input and $2.50 output.
- Large Language Models (LLMs)
Price: $0.10 per 1M input tokens, $0.50 per 1M output tokens, cached input $0.01 per 1M, cache writes $0.125 per 1M ($0.20 kept longer); a prompt over 100,000 tokens costs $0.50 / $2.50 per 1M.
Run Claude Haiku 5.5 via API
curl -X POST https://api.flymy.ai/api/v1/flymyai/claude-haiku-5-5/predict \
-H "X-API-KEY: $FLYMYAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'OpenAI-compatible API
Claude Haiku 5.5 also speaks the OpenAI Chat Completions protocol: use the official OpenAI SDK with base URL https://api.flymy.ai/api/v1/flymyai/claude-haiku-5-5/openai/v1 and your FlyMy.AI API key.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.flymy.ai/api/v1/flymyai/claude-haiku-5-5/openai/v1", api_key=os.environ["FLYMYAI_API_KEY"])
response = client.chat.completions.create(
model="flymyai/claude-haiku-5-5",
messages=[{"role": "user", "content": "What is a vector database?"}],
)
print(response.choices[0].message.content)API documentation · Create a free account · Pricing