AnyAPI

[PROVIDER]
id: anyapi
npm: @ai-sdk/openai-compatible
env: ANYAPI_API_KEY
api: https://api.anyapi.ai/v1

Models

Claude Haiku 4.5 (latest)

anthropic/claude-haiku-4-5
in
out
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.6

anthropic/claude-opus-4-6
in
out
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Opus 4.7

anthropic/claude-opus-4-7
in
out
ctx: 1,000,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.5 (latest)

anthropic/claude-sonnet-4-5
in
out
ctx: 200,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Claude Sonnet 4.6

anthropic/claude-sonnet-4-6
in
out
ctx: 1,000,000 max out: 64,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Command R+

cohere/command-r-plus-08-2024
in
out
ctx: 128,000 max out: 4,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek Chat

deepseek/deepseek-chat
in
out
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek Reasoner

deepseek/deepseek-r1
in
out
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Flash

deepseek/deepseek-v4-flash
in
out
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

DeepSeek V4 Pro

deepseek/deepseek-v4-pro
in
out
ctx: 1,000,000 max out: 384,000 in: text out: text
reasoning tools vision structured temp open weights

Devstral 2

mistralai/devstral-2512
in
out
ctx: 262,144 max out: 262,144 in: text out: text
reasoning tools vision structured temp open weights deprecated

Gemini 2.5 Flash

google/gemini-2.5-flash
in
out
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video, pdf out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Flash-Lite

google/gemini-2.5-flash-lite
in
out
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video, pdf out: text
reasoning tools vision structured temp open weights

Gemini 2.5 Pro

google/gemini-2.5-pro
in
out
ctx: 1,048,576 max out: 65,536 in: text, image, audio, video, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3 Flash Preview

google/gemini-3-flash-preview
in
out
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

Gemini 3 Pro Preview

google/gemini-3-pro-preview
in
out
ctx: 1,048,576 max out: 65,536 in: text, image, video, audio, pdf out: text
reasoning tools vision structured temp open weights

GPT-4.1

openai/gpt-4.1
in
out
ctx: 1,047,576 max out: 32,768 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-4.1 mini

openai/gpt-4.1-mini
in
out
ctx: 1,047,576 max out: 32,768 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

GPT-5

openai/gpt-5
in
out
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5 Mini

openai/gpt-5-mini
in
out
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.1

openai/gpt-5.1
in
out
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.2

openai/gpt-5.2
in
out
ctx: 400,000 max out: 128,000 in: text, image out: text
reasoning tools vision structured temp open weights

GPT-5.4

openai/gpt-5.4
in
out
ctx: 1,050,000 max out: 128,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Grok 4.3

xai/grok-4.3
in
out
ctx: 1,000,000 max out: 30,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

Mistral Large 3

mistralai/mistral-large-2512
in
out
ctx: 262,144 max out: 262,144 in: text, image out: text
reasoning tools vision structured temp open weights

o3

openai/o3
in
out
ctx: 200,000 max out: 100,000 in: text, image, pdf out: text
reasoning tools vision structured temp open weights

o3-mini

openai/o3-mini
in
out
ctx: 200,000 max out: 100,000 in: text out: text
reasoning tools vision structured temp open weights

o4-mini

openai/o4-mini
in
out
ctx: 200,000 max out: 100,000 in: text, image out: text
reasoning tools vision structured temp open weights

Sonar Pro

perplexity/sonar-pro
in
out
ctx: 200,000 max out: 8,192 in: text, image out: text
reasoning tools vision structured temp open weights

Sonar Reasoning Pro

perplexity/sonar-reasoning-pro
in
out
ctx: 128,000 max out: 4,096 in: text, image out: text
reasoning tools vision structured temp open weights