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-5in —
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-6in —
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-7in —
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-5in —
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-6in —
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-2024in —
out —
ctx: 128,000
max out: 4,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
DeepSeek Chat
deepseek/deepseek-chatin —
out —
ctx: 1,000,000
max out: 384,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
DeepSeek Reasoner
deepseek/deepseek-r1in —
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-flashin —
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-proin —
out —
ctx: 1,000,000
max out: 384,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
Devstral 2
mistralai/devstral-2512in —
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-flashin —
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-litein —
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-proin —
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-previewin —
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-previewin —
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.1in —
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-miniin —
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-5in —
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-miniin —
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.1in —
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.2in —
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.4in —
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.3in —
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-2512in —
out —
ctx: 262,144
max out: 262,144
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
o3
openai/o3in —
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-miniin —
out —
ctx: 200,000
max out: 100,000
in: text
out: text
reasoning
tools
vision
structured
temp
open weights
o4-mini
openai/o4-miniin —
out —
ctx: 200,000
max out: 100,000
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights
Sonar Pro
perplexity/sonar-proin —
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-proin —
out —
ctx: 128,000
max out: 4,096
in: text, image
out: text
reasoning
tools
vision
structured
temp
open weights