Using Claude Haiku 5.5 on Vercel AI Gateway

Implementation guide · Claude 5.5 · Anthropic

Serverless

Vercel AI Gateway exposes Claude Haiku 5.5 through model ID anthropic/claude-haiku-5.5. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-07. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Vercel AI Gateway and generate an API key.
  2. 2
    Use the Vercel AI Gateway SDK or REST API to call anthropic/claude-haiku-5.5 — see the documentation for request format.
  3. 3
    You'll be billed $0.10/1M input, $0.50/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
AI_GATEWAY_API_KEY
Model ID
anthropic/claude-haiku-5.5

creator/model-name e.g. kwaipilot/kat-coder-pro-v2

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="anthropic/claude-haiku-5.5",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Vercel AI Gateway

TypePrice (per 1M)
Input tokens$0.10
Output tokens$0.50

Capabilities

VisionMultimodalReasoningJSON / Tool useStructured OutputsPrompt CachingBatch API

About Claude Haiku 5.5

Anthropic's Claude Haiku 5.5, third model in the Claude 5.5 family, released October 7, 2026. First-party positioning: cheapest, fastest, and most capable small model yet; built for high-volume, cost-sensitive work (summaries, compaction, classification, routing, subagents, live support, browser/computer use). First Haiku with effort controls and adaptive thinking (default effort medium). Claude API id claude-haiku-5-5. Prompt-length pricing: ≤100K tokens $0.10/$0.50 per 1M input/output; >100K $0.50/$2.50. Cache (≤100K): 5m write $0.125, 1h write $0.20, read $0.01; (>100K): $0.625/$1/$0.05. Batch API 50% off.

Model Specs

Released2026-10-07
Context1.05m
ArchitectureDecoder Only
Knowledge cutoff2026-06

Provider

Vercel AI Gateway

Vercel