Skip to main content
Every Claude model — Opus, Sonnet, and Haiku across the 3.5, 4, 4.5, 4.6, 4.7, and 4.8 generations — can serve an endpoint you call with your existing Anthropic SDK. Point baseURL at Verlon, swap the API key, and put the endpoint’s name in model.

Chat models

This table is auto-generated from the Verlon model registry on every sync — see the live registry for pricing, benchmarks, and deprecation dates.

Other modalities

No non-chat models.

Quickstart

First time? Create an endpoint and grab an API key — the examples below call an endpoint named support-summarizer and need VERLON_API_KEY. Create it on the dashboard’s Endpoints page, with verlon endpoint create --name support-summarizer --model claude-sonnet-4-6, or with POST /v1/gates. Setting up a coding agent? Follow verlon.ai/setup.
The fastest path — the official Anthropic SDK, pointed at Verlon:
Any chat model from the table above can serve: set it as the endpoint’s model on its page in the dashboard, and your code stays the same. The response’s x-verlon-served-model header names the model that answered.

SDK compatibility

Verlon exposes an Anthropic-compatible API. The official Anthropic SDK works unchanged — point it at Verlon and every model in the table above becomes callable through the SDK you already know.

Configuration

Naming your endpoint

Put the endpoint’s name in model, or endpoint/job for one named use of it. Either way, the endpoint’s model serves.
Older integrations that send an endpoint’s id or the X-Verlon-Gate-Id header keep working.

Streaming

Identical behavior to the Anthropic SDK — stream: true returns an async iterable of MessageStreamEvent objects.

Language coverage

What’s supported

Full support for stream: true, identical semantics to Anthropic’s SDK.
Fully supported. Verlon translates across providers if your endpoint’s model is not a Claude model.
Image inputs in messages work with any vision-capable model.
System prompts, user, assistant, and tool_result blocks all pass through.
temperature, max_tokens, top_p, top_k, stop_sequences, and the rest — all passed through.
Standard response.usage with token counts, plus Verlon’s cost field with per-call dollar amount.

Migrating an existing Anthropic app

1

Update client initialization

Swap baseURL + apiKey.
2

Name your endpoint

Set model to your endpoint’s name (support-summarizer, or support-bot/triage for a job). max_tokens, messages, and everything else stay the same.
3

Test in development

Verify requests appear in the Verlon dashboard and cost tracking works.
4

Deploy

Ship. If anything breaks, revert the client change.

How it works

  1. You send an Anthropic-format request to https://api.verlon.ai/v1/messages
  2. Verlon receives — finds the endpoint your model names and applies its parameter defaults and your model rules
  3. Verlon sends it to whichever model your endpoint names (Claude, GPT, Gemini, Mistral, or anything else in the registry), or a fallback model if that one fails
  4. The provider responds in its native format
  5. Verlon normalizes back to Anthropic format
  6. You receive a standard Anthropic response with an added cost field
Your code doesn’t know the difference.

Errors

Errors come back Anthropic-shaped — { "type": "error", "error": { "type", "message" } } — so the Anthropic SDK’s error classes work unchanged.

FAQ

Only the model value. Change baseURL + apiKey in the client and put your endpoint’s name in model. Everything else in the messages.create calls stays identical.
Yes. Revert baseURL + apiKey to Anthropic values and you’re back on their API.
Yes — that’s the point. Set your endpoint’s model to any model in the registry and your Anthropic SDK code stays the same.

Full non-chat model list

This provider is chat-only — see the table above.